102 lines
No EOL
4.1 KiB
PHP
102 lines
No EOL
4.1 KiB
PHP
<div class="table-responsive">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th> </th>
|
|
<th class="text-right">{{__('EK-Preis')}}</th>
|
|
<th class="text-right">{{__('Points')}}</th>
|
|
<th class="text-right">{{__('Verdienst')}}</th>
|
|
<th class="text-right">{{__('VK-Preis')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if($homeparty->homeparty_host)
|
|
@php($user_cart = \App\Services\HomepartyCart::getUserCart($homeparty->homeparty_host->id))
|
|
<tr>
|
|
<td>
|
|
<strong>Gastgeber/in {{$homeparty->homeparty_host->billing_firstname}} {{$homeparty->homeparty_host->billing_lastname}}</strong>
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedEkPrice()}} €
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedPoints()}}
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedIncomePrice()}} €
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedPrice()}} €
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
|
|
@if($homeparty->homeparty_guests)
|
|
@php($g_count = 1)
|
|
@foreach($homeparty->homeparty_guests as $homeparty_guest)
|
|
@php($user_cart = \App\Services\HomepartyCart::getUserCart($homeparty_guest->id))
|
|
|
|
<tr>
|
|
<td>
|
|
<strong> {!! $g_count++ !!}. Gast {{$homeparty_guest->billing_firstname}} {{$homeparty_guest->billing_lastname}}</strong>
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedEkPrice()}} €
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedPoints()}}
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedIncomePrice()}} €
|
|
</td>
|
|
<td class="text-right">
|
|
{{$user_cart->getFormattedPrice()}} €
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
|
|
|
|
</tbody>
|
|
<tfoot>
|
|
@if(\App\Services\HomepartyCart::$is_bonus)
|
|
<tr class="foot-small">
|
|
<td colspan="4" class="border-top">
|
|
{{ \App\Services\HomepartyCart::$voucher_name }}
|
|
</td>
|
|
<td class="border-top text-right">{{ App\Services\HomepartyCart::getFormattedBonusPrice() }}€</td>
|
|
</tr>
|
|
|
|
@endif
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="border-top">
|
|
<strong>Gesamtsummen:</strong>
|
|
</td>
|
|
<td class="border-top text-right"><strong>{{\App\Services\HomepartyCart::getFormattedEkPrice()}} €</strong></td>
|
|
<td class="border-top text-right"><strong>{{\App\Services\HomepartyCart::getFormattedPoints()}}</strong></td>
|
|
<td class="border-top text-right"><strong>{{\App\Services\HomepartyCart::getFormattedIncomePrice()}} €</strong></td>
|
|
<td class="border-top text-right"><strong>{{\App\Services\HomepartyCart::getFormattedPrice()}} €</strong></td>
|
|
</tr>
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="text-muted">
|
|
Summe ohne MwSt:
|
|
</td>
|
|
<td class=""> </td>
|
|
|
|
<td class=""> </td>
|
|
<td class=""> </td>
|
|
<td class="text-muted text-right">{{\App\Services\HomepartyCart::getFormattedPriceNet()}} €</td>
|
|
</tr>
|
|
<tr class="foot-small">
|
|
<td colspan="1" class="text-muted">
|
|
Enthaltene MwSt:
|
|
</td>
|
|
<td class=""> </td>
|
|
|
|
<td class=""> </td>
|
|
<td class=""> </td>
|
|
<td class="text-muted text-right">{{\App\Services\HomepartyCart::getFormattedPriceTax()}} €</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div> |