cqp 1 tydzień temu
rodzic
commit
ed4f1f235f
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/Service/StatisticsService.php

+ 1 - 0
app/Service/StatisticsService.php

@@ -130,6 +130,7 @@ class StatisticsService extends Service
         }
         if(! empty($data['order_number'])) $model->where('order_number', 'LIKE', '%'.$data['order_number'].'%');
         if(! empty($data['employee_id_1_title'])) $model->where('employee_id_1_title', 'LIKE', '%'.$data['employee_id_1_title'].'%');
+        if(! empty($data['employee_id_2_title'])) $model->where('employee_id_2_title', 'LIKE', '%'.$data['employee_id_2_title'].'%');
         if(! empty($data['channel_finance_array'])) {
             $array = explode("\n", str_replace(["\r\n", "\r"], "\n", $data['channel_finance_array']));
             $model->whereIn('channel_finance', $array);