95 lines
4.9 KiB
PHP
95 lines
4.9 KiB
PHP
|
|
@php($user_cart = \App\Services\HomepartyCart::getUserCartHost())
|
|
@php($homeparty = \App\Services\HomepartyCart::$homeparty)
|
|
@if(!$user_cart->isPrice() && (\App\Services\HomepartyCart::$is_bonus || \App\Services\HomepartyCart::$is_bonus_coupon))
|
|
<tr class="foot-small">
|
|
<td colspan="8" class="text-left bg-danger text-white">
|
|
<strong>Gutschein / Bonus kann nicht angewendet werden, da beim Gastgeber:in keine Produkte hinzugefügt wurden.</strong>
|
|
</td>
|
|
|
|
</tr>
|
|
@endif
|
|
|
|
@if(\App\Services\HomepartyCart::$is_bonus)
|
|
<tr class="foot-small">
|
|
<td colspan="5" class="text-left">Gutschrift Homeparty Gutschein</td>
|
|
<td> </td>
|
|
<td class="text-right">
|
|
<div class="no-line-break">- {{ \App\Services\HomepartyCart::getFormattedBonusValue() }} €</div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('BonusValue') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
|
|
</td>
|
|
<td class="text-right">
|
|
<div class="no-line-break">- {{ \App\Services\HomepartyCart::getFormattedBonusValue() }} €</div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('BonusValue') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
@if(\App\Services\HomepartyCart::$is_bonus_coupon)
|
|
<tr class="foot-small">
|
|
<td colspan="5" class="text-left">Gutschrift Bonus</td>
|
|
<td> </td>
|
|
<td class="text-right">
|
|
<div class="no-line-break">- {{ \App\Services\HomepartyCart::getFormattedBonusCoupon() }} €</div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('BonusCoupon') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
<td class="text-right">
|
|
<div class="no-line-break">- {{ \App\Services\HomepartyCart::getFormattedBonusCoupon() }} €</div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('BonusCoupon') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endif
|
|
@if(\App\Services\HomepartyCart::$is_bonus)
|
|
<tr class="foot-small">
|
|
<td colspan="4" class="text-left">Abzug Points durch Gutschein</td>
|
|
<td class="text-right">- {{ \App\Services\HomepartyCart::getFormattedBonusPointsDiff() }} </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
@endif
|
|
|
|
|
|
{{-- <tr class="foot-small">
|
|
<td colspan="5" class="text-left bg-warning-light">Versandkosten:</td>
|
|
<td class="bg-warning-light"> </td>
|
|
<td class="text-right bg-warning-light"> </td>
|
|
<td class="text-right bg-warning-light">
|
|
<div class="no-line-break">{{$user_cart->getFormattedShippingPrice()}} €</div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ $user_cart->getCurrencyByKey('ShippingPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
</tr>--}}
|
|
<tr>
|
|
<td colspan="4" class="border-top"><strong>Gesamt:</strong></td>
|
|
<td class="border-top text-right">
|
|
<div class="no-line-break"><strong>{{$user_cart->getFormattedPoints()}}</strong></div>
|
|
</td>
|
|
<td class="border-top text-right">
|
|
<div class="no-line-break"><strong>{{$user_cart->getFormattedIncomePrice()}} €</strong></div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ $user_cart->getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
<td class="border-top text-right">
|
|
<div class="no-line-break"><strong>{{$user_cart->getFormattedPrice()}} €</strong></div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ $user_cart->getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
<td class="border-top text-right">
|
|
<div class="no-line-break"><strong>{{$user_cart->getFormattedEkPriceWithout()}} €</strong></div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ $user_cart->getCurrencyByKey('EkPriceWithout') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
</tr>
|