Exemple #1
0
 public static function get_report_jquery()
 {
     $filter_group = Request::input('filter_group');
     $filter_value = Request::input('filter_value');
     $sort = Request::input('sortby');
     if (empty($filter_value)) {
         $filter_group = "all";
     }
     RequestJob::report_request_job($filter_group, $filter_value, $sort, "null");
 }
Exemple #2
0
 public static function getevent($currentday)
 {
     //get event current day
     $event = RequestJob::getrequestonejob($currentday, Auth::user()->id);
     $numberevent_of_day = count($event);
     return ['number' => $numberevent_of_day, 'event' => $event];
 }