Skip to content

Commit

Permalink
Update show_finance.blade.php
Browse files Browse the repository at this point in the history
Rare case failsafe
  • Loading branch information
FatihKoz committed Nov 18, 2023
1 parent 34c57a3 commit a899e57
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@
<td class="text-start">{{ optional($fare)->name.' ('.optional($fare)->code.')' }}</td>
<td class="text-end">
{{ $fare->count }}
@if($fare->type === 1) {{ $units['weight'] }} @else pax @endif
@if(filled($fare) && $fare->type === 1) {{ $units['weight'] }} @else pax @endif
</td>
</tr>
@endforeach
Expand Down

0 comments on commit a899e57

Please sign in to comment.