84 lines
4.4 KiB
PHP
84 lines
4.4 KiB
PHP
|
|
@php($user_cart = \App\Services\HomepartyCart::getUserCartHost())
|
|
@php($homeparty = \App\Services\HomepartyCart::$homeparty)
|
|
@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">Versandkosten:</td>
|
|
<td class="bg-warning"> </td>
|
|
<td class="text-right bg-warning"> </td>
|
|
<td class="text-right bg-warning">
|
|
<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->getFormattedEkPrice()}} €</strong></div>
|
|
@if($homeparty->isPriceCurrency())
|
|
<span class="small">~{{ $user_cart->getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
|
@endif
|
|
</td>
|
|
</tr>
|