08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -1,30 +1,32 @@
|
|||
|
||||
@if($homeparty_user && isset($homeparty_user->homeparty_user_order_items))
|
||||
@foreach($homeparty_user->homeparty_user_order_items as $value)
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $value->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ maxStrLength($value->product->name , 35) }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->qty }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPoints() }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->margin }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPrice() }} €
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalEKPrice() }} €
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="item">
|
||||
<td class="small text-left">
|
||||
{{ $value->product->number }}
|
||||
</td>
|
||||
<td class="small text-left">
|
||||
{{ maxStrLength($value->product->getLang('name') , 35) }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->qty }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPoints() }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->margin }}
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalPrice() }} €
|
||||
</td>
|
||||
<td class="text-right small">
|
||||
{{ $value->getFormattedTotalEKPrice() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@if(isset($homeparty->order) && isset($homeparty->order['user_carts'][$homeparty_user->id]))
|
||||
@php($user_cart = $homeparty->order['user_carts'][$homeparty_user->id])
|
||||
@php($hp_order = $homeparty->order)
|
||||
@if(!$homeparty_user->is_host)
|
||||
|
|
@ -32,17 +34,17 @@
|
|||
<td> </td>
|
||||
<td colspan="6" class="text-left">
|
||||
@if($homeparty_guest->getDelivery() === 'host')
|
||||
Lieferung an Gastgeber
|
||||
{{ __('homeparty.delivery_to_host') }}
|
||||
@endif
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
Lieferung direkt an den Gast
|
||||
{{ __('homeparty.delivery_directly_to_the_guest') }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Versandkosten</td>
|
||||
<td colspan="4" class="text-left">{{ __('order.shipping_costs') }}</td>
|
||||
<td class="text-right">{{ Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
<td class="text-right">{{ Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
</tr>
|
||||
|
|
@ -50,33 +52,33 @@
|
|||
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="border-top"><strong>Zwischensumme:</strong></td>
|
||||
<td colspan="2" class="border-top"><strong>{{ __('order.subtotal') }}:</strong></td>
|
||||
<td class="border-top text-right"><strong>{{$user_cart['points']}}</strong></td>
|
||||
<td> </td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['price'])}} €</strong></td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['ek_price'])}} €</strong></td>
|
||||
</tr>
|
||||
@else
|
||||
@if($hp_order['is_bonus'])
|
||||
@if(isset($hp_order['is_bonus']))
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Gutschrift Homeparty Gutschein</td>
|
||||
<td colspan="4" class="text-left">{{ __('homeparty.credit_homeparty_voucher') }}</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_value']) }} €</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_value']) }} €</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($hp_order['is_bonus_coupon'])
|
||||
@if(isset($hp_order['is_bonus_coupon']))
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Gutschrift Bonus</td>
|
||||
<td colspan="4" class="text-left">{{ __('homeparty.credit_bonus') }}</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_coupon']) }} €</td>
|
||||
<td class="text-right">- {{ Util::formatNumber($hp_order['bonus_coupon']) }} €</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($hp_order['is_bonus'])
|
||||
@if(isset($hp_order['is_bonus']))
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="text-left">Abzug Points durch Gutschein</td>
|
||||
<td colspan="2" class="text-left">{{ __('homeparty.deduct_points_by_voucher') }}</td>
|
||||
<td class="text-right">- {{ $hp_order['bonus_points_diff'] }} </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
|
|
@ -85,18 +87,18 @@
|
|||
@endif
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="4" class="text-left">Versandkosten:</td>
|
||||
<td colspan="4" class="text-left">{{ __('order.shipping_costs') }}:</td>
|
||||
<td class="text-right"> </td>
|
||||
<td class="text-right">{{Util::formatNumber($user_cart['shipping_price'])}} €</td>
|
||||
</tr>
|
||||
<tr class="foot-small">
|
||||
<td> </td>
|
||||
<td colspan="2" class="border-top"><strong>Zwischensumme:</strong></td>
|
||||
<td colspan="2" class="border-top"><strong>{{ __('order.subtotal') }}:</strong></td>
|
||||
<td class="border-top text-right"><strong>{{$user_cart['points']}}</strong></td>
|
||||
<td> </td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['price'])}} €</strong></td>
|
||||
<td class="border-top text-right"><strong>{{Util::formatNumber($user_cart['ek_price'])}} €</strong></td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue