Exemple #1
0
 public static function checkIfExists($text)
 {
     $work = Work::where('work_type_description', '=', $text)->first();
     if (!is_null($work)) {
         appGlobals::existsMessage(appGlobals::getWorkTableName(), $work->work_type_description, $work->id);
     }
     return $work;
 }
 public function created($work)
 {
     appGlobals::createdMessage(appGlobals::getWorkTableName(), $work->work_type_description, $work->id);
 }