Add pirep comments and subfleets fares #118

This commit is contained in:
Nabeel Shahzad
2018-01-23 21:40:34 -06:00
parent f9efa81bb4
commit 9964eb63fb
9 changed files with 191 additions and 72 deletions

View File

@@ -51,9 +51,9 @@ class FleetController extends RestController
$where['id'] = $id;
}
$all_aircraft = $this->aircraftRepo->all();
#$all_aircraft = $this->aircraftRepo->all();
$aircraft = $this->aircraftRepo
->with(['subfleet'])
->with(['subfleet', 'subfleet.fares'])
->findWhere($where)
->first();