Browse Source

get database

hajar
Siti Hajar Ibrahim 4 years ago
parent
commit
dd96ebe2ce
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      app/Http/Controllers/Controller.php

+ 3
- 1
app/Http/Controllers/Controller.php View File

@@ -135,6 +135,8 @@ class Controller extends BaseController

$work_order = WorkOrder::where('wo', 'WO-15610')->first();

return $work_order;
$subscriber = Subscriber::where('_id',$work_order->_id)->first();

return $subscriber;
}
}

Loading…
Cancel
Save