Country Prices | Homeparty | Shop | Order
This commit is contained in:
parent
51d81d8ec6
commit
39d1e93416
284 changed files with 784 additions and 216 deletions
|
|
@ -12,12 +12,11 @@
|
|||
</div>
|
||||
<a href="{{route('user_homepartys')}}" class="btn btn-sm btn-default float-right">zurück</a>
|
||||
</h4>
|
||||
|
||||
<div class="nav-tabs-top mb-4">
|
||||
<ul class="nav nav-tabs nav-responsive-xl">
|
||||
@if(!$step || $step >= 1)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link @if(!$step || $step == 10) active @endif" data-toggle="tab" href="#navs-top-homeparty">Auszeitparty</a>
|
||||
<a class="nav-link @if(!$step || $step == 1 || $step == 10) active @endif" data-toggle="tab" href="#navs-top-homeparty">Auszeitparty</a>
|
||||
</li>
|
||||
@endif
|
||||
@if($homeparty->id)
|
||||
|
|
@ -35,7 +34,7 @@
|
|||
</ul>
|
||||
<div class="tab-content">
|
||||
|
||||
<div class="tab-pane fade @if(!$step || $step == 10) active show @endif" id="navs-top-homeparty">
|
||||
<div class="tab-pane fade @if(!$step || $step == 1 || $step == 10) active show @endif" id="navs-top-homeparty">
|
||||
{!! Form::open(['url' => route('user_homeparty_detail', [$homeparty->id, 10]), 'class' => 'form-horizontal', 'id'=>'homeparty-party-form-validation']) !!}
|
||||
<h5 class="card-header">
|
||||
<div class="row">
|
||||
|
|
|
|||
|
|
@ -78,6 +78,9 @@
|
|||
.table .min-width-80 {
|
||||
min-width: 160px;
|
||||
}
|
||||
.bg-warning-light {
|
||||
background-color: rgba(255, 217, 80, 0.6) !important;
|
||||
}
|
||||
</style>
|
||||
<h4 class="font-weight-bold py-2 mb-2 d-flex justify-content-between align-items-center w-100 ">
|
||||
<div>{{ __('navigation.my_homeparty') }} / {{ $homeparty->name }} - {{ $homeparty->date }}</div>
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@
|
|||
</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">
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -61,19 +61,19 @@
|
|||
<td class="text-right">
|
||||
<div class="no-line-break">{{ $value->getFormattedTotalIncomePrice() }} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $value->getCurrencyByKey('TotalIncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $value->getCurrencyByKey('TotalIncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{ $value->getFormattedTotalPrice() }} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $value->getCurrencyByKey('TotalPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $value->getCurrencyByKey('TotalPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{ $value->getFormattedTotalEKPrice() }} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $value->getCurrencyByKey('TotalEKPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $value->getCurrencyByKey('TotalEKPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -107,18 +107,18 @@
|
|||
</tr>
|
||||
@if($homeparty_guest->getDelivery() === 'direct')
|
||||
<tr>
|
||||
<td colspan="5" class="text-left bg-warning">Versandkosten</td>
|
||||
<td class="bg-warning"> </td>
|
||||
<td class="text-right bg-warning">
|
||||
<td colspan="5" class="text-left bg-warning-light">Versandkosten</td>
|
||||
<td class="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>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('ShippingPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right bg-warning">
|
||||
<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>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('ShippingPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -131,19 +131,19 @@
|
|||
<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>
|
||||
<span class="small no-line-break">~{{ $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>
|
||||
<span class="small no-line-break">~{{ $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>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -22,31 +22,33 @@
|
|||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedIncomePrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedPrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedEkPrice()}} €</div>
|
||||
<div class="no-line-break">{{$user_cart->getFormattedEkPriceWithout()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('EkPriceWithout') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left bg-warning" colspan="4">Enthaltende Versandkosten:</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>
|
||||
@if($user_cart->shipping_price > 0)
|
||||
<tr>
|
||||
<td class="text-left bg-warning-light" colspan="4">Versandkosten:</td>
|
||||
<td class="text-right bg-warning-light">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedShippingPrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('ShippingPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if($homeparty->homeparty_guests)
|
||||
|
|
@ -63,26 +65,38 @@
|
|||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedIncomePrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedPrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedEkPrice()}} €</div>
|
||||
<div class="no-line-break">{{$user_cart->getFormattedEkPriceWithout()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ $user_cart->getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('EkPriceWithout') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if($user_cart->shipping_price > 0)
|
||||
<tr>
|
||||
<td class="text-left bg-warning-light" colspan="4">Versandkosten:</td>
|
||||
<td class="text-right bg-warning-light">
|
||||
<div class="no-line-break">{{$user_cart->getFormattedShippingPrice()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small no-line-break">~{{ $user_cart->getCurrencyByKey('ShippingPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
@if(\App\Services\HomepartyCart::$is_bonus)
|
||||
|
|
@ -104,19 +118,19 @@
|
|||
<td class="border-top text-right">
|
||||
<div class="no-line-break"><strong>{{\App\Services\HomepartyCart::getFormattedIncomePrice()}} €</strong></div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('IncomePrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="border-top text-right">
|
||||
<div class="no-line-break"><strong>{{\App\Services\HomepartyCart::getFormattedPrice()}} €</strong></div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('Price') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="border-top text-right">
|
||||
<div class="no-line-break"><strong>{{\App\Services\HomepartyCart::getFormattedEkPrice()}} €</strong></div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPrice') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -142,13 +156,13 @@
|
|||
<td class="text-muted text-right">
|
||||
<div class="no-line-break">{{\App\Services\HomepartyCart::getFormattedPriceNet()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('PriceNet') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('PriceNet') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<div class="no-line-break">{{\App\Services\HomepartyCart::getFormattedEkPriceNet()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPriceNet') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPriceNet') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -162,13 +176,13 @@
|
|||
<td class="text-muted text-right">
|
||||
<div class="no-line-break">{{\App\Services\HomepartyCart::getFormattedPriceTax()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('PriceTax') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('PriceTax') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-muted text-right">
|
||||
<div class="no-line-break">{{\App\Services\HomepartyCart::getFormattedEkPriceTax()}} €</div>
|
||||
@if($homeparty->isPriceCurrency())
|
||||
<span class="small">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPriceTax') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
<span class="small no-line-break">~{{ \App\Services\HomepartyCart::getCurrencyByKey('EkPriceTax') }} {{ $homeparty->getPriceCurrencyUnit() }} </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<div class="card-body">
|
||||
|
||||
{!! Form::open(['url' => route('user_membership_store', ['change_order']), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table- m-0">
|
||||
<tbody class="switchers-stacked">
|
||||
|
|
@ -33,7 +34,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">{{$product->getFormattedPrice()}} EUR / p.a.</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">
|
||||
<span class="no-line-break">{{ $product->getFormattedPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) }} €</span> /p.a.
|
||||
@if(\App\Services\UserService::$user_country->currency)
|
||||
<span class="no-line-break">{!! $product->getFormattedPriceCurrencyWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) !!}</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -6,6 +6,27 @@
|
|||
<div class="card-body">
|
||||
<h5>Dein gebuchtes Paket</h5>
|
||||
{!! Form::open(['url' => route('user_membership_store', ['payment_order']), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Bestellland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('billing_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Lieferland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('shipping_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">MwSt</div>
|
||||
{{ App\Services\UserService::getOrderInfo('tax_free') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Reverse Charge Verfahren</div>
|
||||
{{ App\Services\UserService::getOrderInfo('user_reverse_charge') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table- m-0">
|
||||
<tbody class="switchers-stacked">
|
||||
|
|
@ -33,7 +54,13 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">{{$product->getFormattedPrice()}} EUR / p.a.</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">
|
||||
<span class="no-line-break">{{ $product->getFormattedPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) }} €</span> /p.a.
|
||||
@if(\App\Services\UserService::$user_country->currency)
|
||||
<span class="no-line-break">{!! $product->getFormattedPriceCurrencyWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) !!}</span>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
|
|
|||
|
|
@ -1,5 +1,30 @@
|
|||
|
||||
{!! Form::open(['url' => route('user_membership_store', ['upgrade_order']), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
|
||||
{!! Form::open(['url' => route('user_membership_store', ['change_order']), 'class' => 'form-horizontal']) !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Bestellland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('billing_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Lieferland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('shipping_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">MwSt</div>
|
||||
{{ App\Services\UserService::getOrderInfo('tax_free') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Reverse Charge Verfahren</div>
|
||||
{{ App\Services\UserService::getOrderInfo('user_reverse_charge') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="qty" value="{{$diff_months}}">
|
||||
<div class="table-responsive">
|
||||
<table class="table table- m-0">
|
||||
|
|
@ -27,11 +52,16 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">{{$product->getFormattedPrice()}} EUR / Monat</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">
|
||||
<span class="no-line-break">{{ $product->getFormattedPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) }} €</span> Monat
|
||||
@if(\App\Services\UserService::$user_country->currency)
|
||||
<span class="no-line-break">{!! $product->getFormattedPriceCurrencyWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) !!}</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-right">Restlaufzeit: {{$diff_months}} @if($diff_months==1) Monat @else Monate @endif</td>
|
||||
<td class="text-right font-weight-semibold"> {!! Util::formatNumber($diff_months * $product->price) !!} EUR</td>
|
||||
<td class="text-right font-weight-semibold"> {!! Util::formatNumber($diff_months * $product->getPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country)) !!} EUR</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
@ -42,5 +72,7 @@
|
|||
<button type="submit" class="btn btn-secondary">{{ __('wählen und weiter zur Kasse') }}</button>
|
||||
<br><br>
|
||||
<em class="small text-center"> <i class="fa fa-lock"></i> Du wirst auf unseren checkout Server weitergeletet, die Verbindung ist SSL verschlüsselt.</em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
|
@ -1,5 +1,23 @@
|
|||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Bestellland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('billing_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Lieferland</div>
|
||||
{{ App\Services\UserService::getOrderInfo('shipping_state') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">MwSt</div>
|
||||
{{ App\Services\UserService::getOrderInfo('tax_free') }}
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="text-muted small">Reverse Charge Verfahren</div>
|
||||
{{ App\Services\UserService::getOrderInfo('user_reverse_charge') }}
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::open(['url' => route('wizard_store_payment', [20]), 'class' => 'form-horizontal']) !!}
|
||||
<div class="table-responsive">
|
||||
<table class="table table- m-0" id="membership_package_payment">
|
||||
|
|
@ -9,7 +27,9 @@
|
|||
<tr>
|
||||
<td class="text-center align-middle px-0">
|
||||
<label class="switcher switcher-secondary">
|
||||
<input type="radio" class="switcher-input" data-price="{{$product->price}}" value="{{$product->id}}" name="switchers-package-wizard" @if($counter == 2) checked @endif >
|
||||
<input type="radio" class="switcher-input"
|
||||
data-price="{{$product->getPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country)}}"
|
||||
value="{{$product->id}}" name="switchers-package-wizard" @if($counter == 2) checked @endif >
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
|
|
@ -28,7 +48,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">{{$product->getFormattedPrice()}} EUR / p.a.</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">
|
||||
<span class="no-line-break">{{ $product->getFormattedPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) }} €</span> /p.a.
|
||||
@if(\App\Services\UserService::$user_country->currency)
|
||||
<span class="no-line-break">{!! $product->getFormattedPriceCurrencyWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) !!}</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@php($counter++)
|
||||
@endforeach
|
||||
|
|
@ -44,7 +69,9 @@
|
|||
<tr>
|
||||
<td class="text-center align-middle px-0">
|
||||
<label class="switcher switcher-square switcher-secondary">
|
||||
<input type="checkbox" class="switcher-input" data-price="{{$product->price}}" name="products_on_board[]" value="{{$product->id}}">
|
||||
<input type="checkbox" class="switcher-input"
|
||||
data-price="{{$product->getPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country)}}"
|
||||
name="products_on_board[]" value="{{$product->id}}">
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
|
|
@ -63,7 +90,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">{{$product->getFormattedPrice()}} EUR / p.a.</td>
|
||||
<td class="text-right font-weight-semibold align-middle p-4">
|
||||
<span class="no-line-break">{{ $product->getFormattedPriceWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) }} €</span>
|
||||
@if(\App\Services\UserService::$user_country->currency)
|
||||
<span class="no-line-break">{!! $product->getFormattedPriceCurrencyWith(\App\Services\UserService::getTaxFree(), false, \App\Services\UserService::$user_country) !!}</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
@ -79,7 +111,8 @@
|
|||
</label>
|
||||
<hr>
|
||||
<div class="float-right">
|
||||
<strong>Gesamtsumme: <span id="card_total_price">0</span> €</strong>
|
||||
|
||||
<strong>Gesamtsumme @if(\App\Services\UserService::getTaxFree()) netto @else brutto @endif: <span id="card_total_price">0</span> €</strong>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-secondary">{{ __('wählen und weiter zur Kasse') }}</button>
|
||||
<br><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue