Siti Hajar Ibrahim hace 5 años
padre
commit
b34f76de0c
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

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

foreach ($response->data as $key => $r) {
$work_order = WorkOrder::where('wo',$r->wo)->first();
$form_submitted = Form::where('id',$work_order->_id)->first();
$form_submitted = Form::where('_id',$work_order->_id)->first();

$form_submitted->customer_category = $r->category;
$form_submitted->save();

Cargando…
Cancelar
Guardar