58 lines
No EOL
2.5 KiB
PHP
58 lines
No EOL
2.5 KiB
PHP
<div class="table-responsive">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('tables.total') }}</th>
|
|
<th class="text-right">{{__('tables.points')}}</th>
|
|
<th class="text-right">{{__('tables.earnings')}}</th>
|
|
<th class="text-right">{{__('tables.vk_price')}}</th>
|
|
<th class="text-right">{{__('tables.ek_price')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
</tbody>
|
|
<tfoot>
|
|
@php($hp_order = $homeparty->order)
|
|
|
|
@if($hp_order['is_bonus'])
|
|
<tr class="foot-small">
|
|
<td colspan="4" class="border-top">
|
|
{{ $hp_order['voucher_name'] }}
|
|
</td>
|
|
<td class="border-top text-right">{{ Util::formatNumber($hp_order['voucher_price'])}} €</td>
|
|
</tr>
|
|
@endif
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="border-top">
|
|
<strong>{{ __('order.total_sums') }}:</strong>
|
|
</td>
|
|
<td class="border-top text-right"><strong>{{ $hp_order['points'] - $hp_order['bonus_points_diff'] }}</strong></td>
|
|
<td class="border-top text-right"><strong>{{ Util::formatNumber($hp_order['income_price'])}} €</strong></td>
|
|
<td class="border-top text-right"><strong>{{ Util::formatNumber($hp_order['price'])}} €</strong></td>
|
|
<td class="border-top text-right"><strong>{{ Util::formatNumber($hp_order['ek_price'])}} €</strong></td>
|
|
</tr>
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="text-muted">
|
|
{{ __('order.total_without_VAT') }}:
|
|
</td>
|
|
<td class=""> </td>
|
|
|
|
<td class=""> </td>
|
|
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['price_net'])}} €</td>
|
|
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['ek_price_net'])}} €</td>
|
|
</tr>
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="text-muted">
|
|
{{ __('order.included_VAT') }}:
|
|
</td>
|
|
<td class=""> </td>
|
|
|
|
<td class=""> </td>
|
|
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['price']-$hp_order['price_net'])}} €</td>
|
|
<td class="text-muted text-right">{{ Util::formatNumber($hp_order['ek_price']-$hp_order['ek_price_net'])}} €</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div> |