More $pirep->ident
usage fixes (#1353)
* Fix idents with double code * Fix ident usage * Fix ident usage * Fix ident usage
This commit is contained in:
parent
4e7149a51c
commit
b9c29fbe08
@ -48,9 +48,9 @@ class PirepPrefiled extends Notification implements ShouldQueue
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = 'Flight '.$pirep->airline->code.$pirep->ident.' Prefiled';
|
$title = 'Flight '.$pirep->ident.' Prefiled';
|
||||||
$fields = [
|
$fields = [
|
||||||
'Flight' => $pirep->airline->code.$pirep->ident,
|
'Flight' => $pirep->ident,
|
||||||
'Departure Airport' => $pirep->dpt_airport_id,
|
'Departure Airport' => $pirep->dpt_airport_id,
|
||||||
'Arrival Airport' => $pirep->arr_airport_id,
|
'Arrival Airport' => $pirep->arr_airport_id,
|
||||||
'Equipment' => $pirep->aircraft->ident,
|
'Equipment' => $pirep->aircraft->ident,
|
||||||
|
@ -77,10 +77,10 @@ class PirepStatusChanged extends Notification implements ShouldQueue
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = 'Flight '.$pirep->airline->code.$pirep->ident.' '.self::$verbs[$pirep->status];
|
$title = 'Flight '.$pirep->ident.' '.self::$verbs[$pirep->status];
|
||||||
|
|
||||||
$fields = [
|
$fields = [
|
||||||
'Flight' => $pirep->airline->code.$pirep->ident,
|
'Flight' => $pirep->ident,
|
||||||
'Departure Airport' => $pirep->dpt_airport_id,
|
'Departure Airport' => $pirep->dpt_airport_id,
|
||||||
'Arrival Airport' => $pirep->arr_airport_id,
|
'Arrival Airport' => $pirep->arr_airport_id,
|
||||||
'Equipment' => $pirep->aircraft->ident,
|
'Equipment' => $pirep->aircraft->ident,
|
||||||
|
@ -55,9 +55,9 @@ class PirepSubmitted extends Notification implements ShouldQueue
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = 'Flight '.$pirep->airline->code.$pirep->ident.' Filed';
|
$title = 'Flight '.$pirep->ident.' Filed';
|
||||||
$fields = [
|
$fields = [
|
||||||
'Flight' => $pirep->airline->code.$pirep->ident,
|
'Flight' => $pirep->ident,
|
||||||
'Departure Airport' => $pirep->dpt_airport_id,
|
'Departure Airport' => $pirep->dpt_airport_id,
|
||||||
'Arrival Airport' => $pirep->arr_airport_id,
|
'Arrival Airport' => $pirep->arr_airport_id,
|
||||||
'Equipment' => $pirep->aircraft->ident,
|
'Equipment' => $pirep->aircraft->ident,
|
||||||
|
@ -90,7 +90,7 @@ and being mindful of the rivets bindings
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr rv-each-pirep="pireps">
|
<tr rv-each-pirep="pireps">
|
||||||
<td><a href="#top_anchor" rv-on-click="controller.focusMarker">{ pirep.airline.icao }{ pirep.ident}</a></td>
|
<td><a href="#top_anchor" rv-on-click="controller.focusMarker">{ pirep.ident }</a></td>
|
||||||
{{-- Show the full airport name on hover --}}
|
{{-- Show the full airport name on hover --}}
|
||||||
<td><span rv-title="pirep.dpt_airport.name">{ pirep.dpt_airport.icao }</span></td>
|
<td><span rv-title="pirep.dpt_airport.name">{ pirep.dpt_airport.icao }</span></td>
|
||||||
<td><span rv-title="pirep.arr_airport.name">{ pirep.arr_airport.icao }</span></td>
|
<td><span rv-title="pirep.arr_airport.name">{ pirep.arr_airport.icao }</span></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user