Fix if submitted_at blank

This commit is contained in:
Nabeel Shahzad 2018-04-30 17:51:18 -05:00
parent 73ffc9cf44
commit 50abda71cb
2 changed files with 23 additions and 2 deletions

View File

@ -182,7 +182,26 @@ airports:
lat: 19.2928
lon: -81.3577
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:
- id: 1

View File

@ -50,7 +50,9 @@
{{ PirepState::label($pirep->state) }}</div>
</td>
<td>
@if(filled($pirep->submitted_at))
{{ $pirep->submitted_at->diffForHumans() }}
@endif
</td>
<td>
@if(!$pirep->read_only)