| @@ -120,11 +120,9 @@ class Controller extends BaseController | |||
| public function getDatabase(Request $request) | |||
| { | |||
| $wo = WorkOrder::where('installer_id', '5fb1e673a1f29b49f9087a48')->where('status', 'like', '%Pending%')->get(); | |||
| foreach ($wo as $w) { | |||
| $w->status = "Pending Contractor"; | |||
| $w->installer_id = ""; | |||
| $w->save(); | |||
| } | |||
| $wo = WorkOrder::where('wo', 'WO-15419')->first(); | |||
| $form = Form::where('_id',$wo->_id)->first(); | |||
| return $form; | |||
| } | |||
| } | |||