Beispiel #1
0
 public function editDocStatus($typeid, $docname, $docstatus)
 {
     if ($docstatus == 'on') {
         $doc = true;
     } else {
         $doc = false;
     }
     UploadMedia::where('typeid', '=', $typeid)->where('fullpath', 'LIKE', '%' . $docname . '%')->update(['document_status' => false]);
     //->save();
 }