Explorar el Código

get database

hajar
Siti Hajar Ibrahim hace 4 años
padre
commit
2afe97973a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      app/Http/Controllers/Controller.php

+ 2
- 0
app/Http/Controllers/Controller.php Ver fichero

@@ -121,6 +121,8 @@ class Controller extends BaseController
public function getDatabase(Request $request)
{
$work_order = WorkOrder::where('wo', $request->wo)->first();
$work_order->status = "Pending Contractor";
$work_order->save();

return $work_order;
}

Cargando…
Cancelar
Guardar