33 lines
1.5 KiB
PHP
33 lines
1.5 KiB
PHP
|
|
@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->getLang('name'), 35) }}
|
|
</td>
|
|
<td class="text-right small">
|
|
{{ cleanIntegerFromString($value->qty) }}
|
|
</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)
|
|
<tr class="foot-small">
|
|
<td> </td>
|
|
<td colspan="6" class="text-left">
|
|
@if($homeparty_guest->getDelivery() === 'host')
|
|
{{ __('homeparty.delivery_to_host') }}
|
|
@endif
|
|
@if($homeparty_guest->getDelivery() === 'direct')
|
|
{{ __('homeparty.delivery_directly_to_the_guest') }}
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
@endif
|
|
@endif
|