Przeglądaj źródła

see untagged form

ifah
Siti Hajar Ibrahim 5 lat temu
rodzic
commit
7e13570a1a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      app/Http/Controllers/Controller.php

+ 2
- 2
app/Http/Controllers/Controller.php Wyświetl plik

foreach ($untaggedform as $key => $a) { foreach ($untaggedform as $key => $a) {
$work_order = WorkOrder::where('_id', $a->_id)->get(); $work_order = WorkOrder::where('_id', $a->_id)->get();
if(!empty($work_order->wo)){
if(!empty($work_order)){
array_push($result, array( array_push($result, array(
'wo' => $work_order->wo, 'wo' => $work_order->wo,
)); ));
} }
} }


return json_encode($result);
return $result;
} }
} }

Ładowanie…
Anuluj
Zapisz