v0.9.15e - made nameCheck for guides

This commit is contained in:
2020-08-17 08:23:48 +02:00
parent 604d5dad19
commit fce970de65
8 changed files with 142 additions and 19 deletions
@@ -153,14 +153,4 @@ class WashingMachineController extends Controller
return redirect()->route("washing-machines.index");
}
public function nameCheck(Request $request){
$washing = Role::query()->where('name', 'LIKE',$request->nameCheck)->get();
if(count($washing) > 0 && $request->nameCheck !== NULL){
return 1;
}
}
}