User Order all Margins / Checkout
This commit is contained in:
parent
a96d7d5c77
commit
224bf9e951
92 changed files with 3551 additions and 561 deletions
|
|
@ -144,7 +144,6 @@
|
|||
{!! Form::hidden('is_for', $shopping_user->is_for) !!}
|
||||
{!! Form::hidden('is_from', $shopping_user->is_from) !!}
|
||||
|
||||
@dump($shopping_user->is_from)
|
||||
<div class="row m-checkout">
|
||||
<div class="col-lg-8 col-md-7">
|
||||
<!-- BILLING -->
|
||||
|
|
@ -529,7 +528,7 @@
|
|||
<div class="table-responsive">
|
||||
<table class="table table- m-0" id="membership_package_payment">
|
||||
<tbody class="switchers-stacked">
|
||||
@if(array_key_exists('PP', $payment_methods_active) && in_array($payment_methods_active['PP'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('PP', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -550,7 +549,7 @@
|
|||
</tr>
|
||||
@endif
|
||||
|
||||
@if(array_key_exists('SB', $payment_methods_active) && in_array($payment_methods_active['SB'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('SB', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -570,7 +569,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(array_key_exists('CC', $payment_methods_active) && in_array($payment_methods_active['CC'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('CC', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -590,7 +589,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(array_key_exists('SEPA', $payment_methods_active) && in_array($payment_methods_active['SEPA'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('SEPA', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -610,7 +609,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(array_key_exists('VOR', $payment_methods_active) && in_array($payment_methods_active['VOR'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('VOR', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -630,7 +629,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(array_key_exists('FNC', $payment_methods_active) && in_array($payment_methods_active['FNC'], $payment_methods))
|
||||
@if(\App\Models\PaymentMethod::isShowPaymentMethod('FNC', $user_payment_methods, Yard::instance('shopping')->totalWithShipping(2, '.', '')))
|
||||
<tr>
|
||||
<td class="text-center align-middle px-0 ui-w-20">
|
||||
<label class="switcher switcher-secondary">
|
||||
|
|
@ -823,7 +822,17 @@
|
|||
</div>
|
||||
|
||||
<hr />
|
||||
@if(Yard::instance('shopping')->getPaymentCredit())
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right">{{ Yard::instance('shopping')->totalWithShippingWithoutCredit() }} €</span>
|
||||
<span class="pull-left">Summe:</span>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right"> - {{ Yard::instance('shopping')->totalfromCredit() }} €</span>
|
||||
<span class="pull-left">aus Guthaben:</span>
|
||||
</div>
|
||||
@endif
|
||||
<div class="clearfix">
|
||||
<span class="pull-right size-20"><strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong></span>
|
||||
<strong class="pull-left">Gesamtsumme:</strong>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue