Explorar el Código

fix get _id

ifah
Siti Hajar Ibrahim hace 5 años
padre
commit
14ec42b560
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Ver fichero

@@ -18,7 +18,7 @@ class Controller extends BaseController

$result = array();
$untaggedform = Form::where('customer_category', null)->get();
$work_order = WorkOrder::where('_id', $untaggedform->_id)->get();
$work_order = WorkOrder::where('_id', $untaggedform->id)->get();

foreach ($work_order as $key => $wo) {
array_push($result, array(

Cargando…
Cancelar
Guardar