Fix if submitted_at blank
This commit is contained in:
@@ -182,7 +182,26 @@ airports:
|
|||||||
lat: 19.2928
|
lat: 19.2928
|
||||||
lon: -81.3577
|
lon: -81.3577
|
||||||
ground_handling_cost: 50
|
ground_handling_cost: 50
|
||||||
|
- id: OMDB
|
||||||
|
iata: DXB
|
||||||
|
icao: OMDB
|
||||||
|
name: Dubai International Airport
|
||||||
|
location: Dubai, UAE
|
||||||
|
country:
|
||||||
|
timezone: Asia/Dubai
|
||||||
|
lat: 25.2528
|
||||||
|
lon: 55.3644
|
||||||
|
ground_handling_cost: 50
|
||||||
|
- id: LOWW
|
||||||
|
iata: VIE
|
||||||
|
icao: LOWW
|
||||||
|
name: Vienna International Airport
|
||||||
|
location: Vienna
|
||||||
|
country: Austria
|
||||||
|
timezone: Europe/Vienna
|
||||||
|
lat: 48.1103
|
||||||
|
lon: 16.5697
|
||||||
|
ground_handling_cost: 50
|
||||||
#
|
#
|
||||||
aircraft:
|
aircraft:
|
||||||
- id: 1
|
- id: 1
|
||||||
|
|||||||
@@ -50,7 +50,9 @@
|
|||||||
{{ PirepState::label($pirep->state) }}</div>
|
{{ PirepState::label($pirep->state) }}</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ $pirep->submitted_at->diffForHumans() }}
|
@if(filled($pirep->submitted_at))
|
||||||
|
{{ $pirep->submitted_at->diffForHumans() }}
|
||||||
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if(!$pirep->read_only)
|
@if(!$pirep->read_only)
|
||||||
|
|||||||
Reference in New Issue
Block a user