Procházet zdrojové kódy

get-database

master
Siti Hajar Ibrahim před 5 roky
rodič
revize
3f92ea1e88
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Zobrazit soubor

@@ -152,7 +152,7 @@ class Controller extends BaseController
public function getDatabase(Request $request)
{
$subscriber = Subscriber::where('name',$request->name)->first();
$form = Form::where('_id',$subscriber->_id)->first();
$form = Form::where('_id',$subscriber->_id)->withTrashed()->first();
$work_order = WorkOrder::where('_id',$subscriber->_id)->withTrashed()->first();

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

Načítá se…
Zrušit
Uložit