cqpCow пре 1 година
родитељ
комит
f74f981f50
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/Service/SupplierService.php

+ 1 - 0
app/Service/SupplierService.php

@@ -201,6 +201,7 @@ class SupplierService extends Service
         $depart_map = Depart::whereIn('id',array_unique($depart))
             ->pluck('title','id')
             ->toArray();
+        $customer['depart'] = $customer['employee'] = [];
         foreach ($customer_info as $value){
             if($value['type'] == SupplierInfo::type_one){
                 $tmp = [