Ver código fonte

get all wo with null status

hajar
Siti Hajar Ibrahim 5 anos atrás
pai
commit
9cfe34d4c2
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1
    3
      app/Http/Controllers/Controller.php

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

@@ -149,9 +149,7 @@ class Controller extends BaseController

public function getDatabase()
{
$wo = WorkOrder::where('wo','WO-15141')->first();
$wo->status = "Pending Contractor";
$wo->save();
$wo = WorkOrder::where('status','')->get();

return $wo;
}

Carregando…
Cancelar
Salvar