Ver código fonte

see untagged form

ifah
Siti Hajar Ibrahim 4 anos atrás
pai
commit
27a1022baf
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      app/Http/Controllers/Controller.php

+ 2
- 1
app/Http/Controllers/Controller.php Ver arquivo

@@ -22,7 +22,8 @@ class Controller extends BaseController
foreach ($untaggedform as $key => $a) {
$work_order = WorkOrder::where('_id', $a->_id)->get();
if(!emptyArray($work_order)){
if(!empty($work_order)){
dd($work_order);
array_push($result, array(
'wo' => $work_order->wo,
));

Carregando…
Cancelar
Salvar