Fill the flight subfleets even if there's a simbrief
This commit is contained in:
parent
4394487392
commit
f9f0ee826d
@ -63,10 +63,10 @@ class BidService extends Service
|
|||||||
$bids = Bid::with($with)->where(['user_id' => $user->id])->get();
|
$bids = Bid::with($with)->where(['user_id' => $user->id])->get();
|
||||||
|
|
||||||
foreach ($bids as $bid) {
|
foreach ($bids as $bid) {
|
||||||
if (empty($bid->flight->simbrief)) {
|
// if (empty($bid->flight->simbrief)) {
|
||||||
$bid->flight = $this->flightSvc->filterSubfleets($user, $bid->flight);
|
$bid->flight = $this->flightSvc->filterSubfleets($user, $bid->flight);
|
||||||
$bid->flight = $this->fareSvc->getReconciledFaresForFlight($bid->flight);
|
$bid->flight = $this->fareSvc->getReconciledFaresForFlight($bid->flight);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
return $bids;
|
return $bids;
|
||||||
|
Loading…
Reference in New Issue
Block a user