The views bookings.index and people.show now use the formatDate and formatAmount
helpers.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<td>Saldo</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>{{ formatAmount($sums[$month - 1]['balance']) }}</td>
|
||||
<td>{!! formatAmount($sums[$month - 1]['balance']) !!}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@@ -45,17 +45,17 @@
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $booking->id }}</td>
|
||||
<td>{{ $booking->date }}</td>
|
||||
<td>{{ formatDate($booking->date) }}</td>
|
||||
<td>{{ $booking->reference }}</td>
|
||||
<td>{{ $booking->person_or_company }}</td>
|
||||
<td align='right'>
|
||||
@if ($booking->signedAmount() < 0)
|
||||
{{ formatAmount($booking->signedAmount()) }}
|
||||
{!! formatAmount($booking->signedAmount()) !!}
|
||||
@endif
|
||||
</td>
|
||||
<td align='right'>
|
||||
@if ($booking->signedAmount() >= 0)
|
||||
{{ formatAmount($booking->signedAmount()) }}
|
||||
{!! formatAmount($booking->signedAmount()) !!}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@@ -80,12 +80,12 @@
|
||||
<td></td>
|
||||
<td align='right'>
|
||||
@if ($subBooking->signedAmount() < 0)
|
||||
{{ formatAmount($subBooking->signedAmount()) }}
|
||||
{!! formatAmount($subBooking->signedAmount()) !!}
|
||||
@endif
|
||||
</td>
|
||||
<td align='right'>
|
||||
@if ($subBooking->signedAmount() >= 0)
|
||||
{{ formatAmount($subBooking->signedAmount()) }}
|
||||
{!! formatAmount($subBooking->signedAmount()) !!}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@@ -107,8 +107,8 @@
|
||||
</td>
|
||||
<td>Monatsabschluss</td>
|
||||
<td></td>
|
||||
<td>{{ formatAmount($sums[$month]['expeditures']) }}</td>
|
||||
<td>{{ formatAmount($sums[$month]['incomes']) }}</td>
|
||||
<td>{!! formatAmount($sums[$month]['expeditures']) !!}</td>
|
||||
<td>{!! formatAmount($sums[$month]['incomes']) !!}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@@ -120,7 +120,7 @@
|
||||
</td>
|
||||
<td>Saldo</td>
|
||||
<td></td>
|
||||
<td>{{ formatAmount($sums[$month]['balance']) }}</td>
|
||||
<td>{!! formatAmount($sums[$month]['balance']) !!}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
|
||||
Reference in New Issue
Block a user