Ver código fonte

get-database

master
Siti Hajar Ibrahim 5 anos atrás
pai
commit
ba1a2e1d61
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      app/Http/Controllers/Controller.php

+ 2
- 2
app/Http/Controllers/Controller.php Ver arquivo

@@ -153,10 +153,10 @@ class Controller extends BaseController
{
$subscriber = Subscriber::where('name',$request->name)->first();
$form = Form::where('_id',$subscriber->_id)->withTrashed()->first();
// $work_order = WorkOrder::where('_id',$subscriber->_id)->withTrashed()->first();
$work_order = WorkOrder::where('_id',$subscriber->_id)->withTrashed()->first();

$formHistory = FormStatus::where('form_id',$subscriber->_id)->get();

return $form . $formHistory;
return $form . $work_order . $formHistory;
}
}

Carregando…
Cancelar
Salvar