User Order all Margins / Checkout
This commit is contained in:
parent
a96d7d5c77
commit
224bf9e951
92 changed files with 3551 additions and 561 deletions
|
|
@ -51,7 +51,6 @@
|
|||
@if($user->user_level)
|
||||
<p>Die Produktpreise werden entsprechend Deiner Rolle: <strong>{{$user->user_level->name}}</strong> angezeigt.<br>
|
||||
Hinweis: Wenn Du den Warenkorb verlässt, gehen alle Einstellungen verloren.</p>
|
||||
<strong>Prozente noch nicht eingebaut, müssen über Produkte eingestellt werden</strong>
|
||||
@else
|
||||
<p>Hinweis: Dir wurde noch keine Rolle zugewisen. Bitte wende dich an serivce@gruene-seele.bio</p>
|
||||
@endif
|
||||
|
|
@ -78,10 +77,10 @@
|
|||
<tr>
|
||||
<th>{{__('Bild')}}</th>
|
||||
<th>{{__('Produkt')}}</th>
|
||||
<th>{{__('Mein Preis netto')}}</th>
|
||||
<th>{{__('Mein Preis brutto')}}</th>
|
||||
<th>{{__('Preis netto')}}</th>
|
||||
<th>{{__('Preis brutto')}}</th>
|
||||
<th>{{__('Provision')}}</th>
|
||||
<th>{{__('Gewicht')}}</th>
|
||||
<th>{{__('VK-Preis brutto')}}</th>
|
||||
<th><span class="no-line-break">{{__('Inhalt (ml)')}}</span></th>
|
||||
<th>{{__('Artikelnummer')}}</th>
|
||||
<th>#</th>
|
||||
|
|
@ -153,8 +152,8 @@
|
|||
{ data: 'product', name: 'product' },
|
||||
{ data: 'price_net', name: 'price_net', searchable: false, orderable: false },
|
||||
{ data: 'price_gross', name: 'price_gross', searchable: false, orderable: false },
|
||||
{ data: 'single_commission', name: 'single_commission', searchable: false },
|
||||
{ data: 'weight', name: 'weight', searchable: false },
|
||||
{ data: 'price_vk_gross', name: 'price_vk_gross', searchable: false },
|
||||
{ data: 'contents_total', name: 'contents_total', searchable: false },
|
||||
{ data: 'number', name: 'number' },
|
||||
{ data: 'action', name: 'action', searchable: false, orderable: false },
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@
|
|||
min-width: 4em;
|
||||
display: inline-block;
|
||||
}
|
||||
.no-border-top{
|
||||
border-top: none !important;
|
||||
padding-top: 0.125rem !important;
|
||||
}
|
||||
</style>
|
||||
<div id="cartContent">
|
||||
|
||||
|
|
@ -99,7 +103,7 @@
|
|||
Einzelpreis
|
||||
</div>
|
||||
<div class="col-6 col-sm-3 col-md-3 text-right">
|
||||
Anzahl
|
||||
Anzahl/Preis
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -129,7 +133,6 @@
|
|||
</div>
|
||||
<div class="options">
|
||||
<a href="#" class="auto-delete-product remove_item_form_cart product-tooltip" data-row-id="{{$row->rowId}}" data-product-id="{{ $product->id }}"><i class="fa fa-times"></i> Artikel entfernen</a>
|
||||
|
||||
{{--
|
||||
@if(!$row->options->comp)
|
||||
@else
|
||||
|
|
@ -145,7 +148,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-6 col-sm-3 col-md-2 text-left font-semi-bold price-single">
|
||||
<div class="no-line-break">{{ Yard::instance('shopping')->rowPriceNet($row, 3) }} €</div>
|
||||
<div class="no-line-break">{{ Yard::instance('shopping')->rowPriceNet($row, 3) }} €*</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-sm-3 col-md-3 quantity">
|
||||
|
|
@ -159,7 +162,7 @@
|
|||
--}}
|
||||
</div>
|
||||
<div class="price-total text-right">
|
||||
<div class="no-line-break">{{ Yard::instance('shopping')->rowSubtotalNet($row) }} €</div>
|
||||
<div class="no-line-break">{{ Yard::instance('shopping')->rowSubtotalNet($row) }} €*</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -171,6 +174,8 @@
|
|||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
{{ Yard::instance('shopping')->calculateMargins() }}
|
||||
|
||||
<!-- / Shopping cart table -->
|
||||
<div class="d-flex flex-wrap justify-content-between pb-4">
|
||||
<div class="mt-2">
|
||||
|
|
@ -183,34 +188,97 @@
|
|||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-left" style="border-top:none;">Zwischensumme:</td>
|
||||
<td style="border-top:none;">{{ Yard::instance('shopping')->subtotal() }} €</td>
|
||||
<td class="text-left no-border-top">Zwischensumme:</td>
|
||||
<td class="no-border-top">
|
||||
{{ Yard::instance('shopping')->subtotal(null, null, null, false) }} €*
|
||||
</td>
|
||||
</tr>
|
||||
@if(Yard::instance('shopping')->getYardMargin() && Yard::instance('shopping')->getYardMargin()->isMargin())
|
||||
@foreach(Yard::instance('shopping')->getYardMargin()->items as $item)
|
||||
<tr>
|
||||
<td class="text-left">Staffelrabatt
|
||||
<br>ab {{ $item->getFormatted('price_from') }} / {{ $item->getFormatted('trading_margin') }}% :</td>
|
||||
<td>
|
||||
- {{ $item->getFormatted('value_margin') }} €*
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
@if(Yard::instance('shopping')->getYardCommission() && Yard::instance('shopping')->getYardCommission()->isCommission())
|
||||
<tr>
|
||||
<td class="text-left">Einzelrabatt:</td>
|
||||
<td>
|
||||
- {{ Yard::instance('shopping')->getYardCommission()->getFormatted('single_value_commission') }} €*
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td class="text-left"><strong>Summe (Netto):</strong></td>
|
||||
<td>
|
||||
<strong>{{ Yard::instance('shopping')->subtotal() }} €*</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@if(Yard::instance('shopping')->getYardMargin() && Yard::instance('shopping')->getYardMargin()->net_partner_commission > 0)
|
||||
<tr>
|
||||
<td class="text-left"><em>Provision Vertriebspartern:</em></td>
|
||||
<td>
|
||||
<em>{{ Yard::instance('shopping')->getYardMargin()->getFormatted('net_partner_commission') }} €*</em>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td class="text-left">Lieferland:</td>
|
||||
<td>{{ Yard::instance('shopping')->getShippingCountryName() }}</td>
|
||||
<td>
|
||||
{{ Yard::instance('shopping')->getShippingCountryName() }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">Versandkosten:</td>
|
||||
<td>
|
||||
{{ Yard::instance('shopping')->shippingNet() }} €
|
||||
<td class="text-left no-border-top">Versandkosten:</td>
|
||||
<td class="no-border-top">
|
||||
{{ Yard::instance('shopping')->shippingNet() }} €*
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">Summe ohne MwSt:</td>
|
||||
<td>
|
||||
{{ Yard::instance('shopping')->subtotalWithShipping() }} €
|
||||
{{ Yard::instance('shopping')->subtotalWithShipping() }} €*
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left">zzgl. MwSt:</td>
|
||||
<td>{{ Yard::instance('shopping')->taxWithShipping() }} €</td>
|
||||
<td class="text-left no-border-top">zzgl. MwSt:</td>
|
||||
<td class="no-border-top">
|
||||
{{ Yard::instance('shopping')->taxWithShipping() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@if(Yard::instance('shopping')->getPaymentCredit())
|
||||
<tr>
|
||||
<td class="text-left"><strong>Summe (Brutto):</strong></td>
|
||||
<td>
|
||||
<strong>{{ Yard::instance('shopping')->totalWithShippingWithoutCredit() }} €</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-left"><strong>Gesamtsumme Brutto:</strong></td>
|
||||
<td><strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong></td>
|
||||
<td class="text-left no-border-top">aus Guthaben (Brutto):</td>
|
||||
<td class="no-border-top">
|
||||
- {{ Yard::instance('shopping')->totalfromCredit() }} €
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<td class="text-left"><strong>Gesamtsumme (Brutto):</strong></td>
|
||||
<td>
|
||||
<strong>{{ Yard::instance('shopping')->totalWithShipping() }} €</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"><em>* Nettobeträge</em></td>
|
||||
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
|
@ -221,7 +289,7 @@
|
|||
<button type="submit" class="btn btn-secondary"><i class="ion ion-ios-redo"></i> bestätigen und weiter zur Kasse</button>
|
||||
</div>
|
||||
<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>
|
||||
<em class="small text-center"> <i class="fa fa-lock"></i> Du wirst auf unseren checkout weitergeletet, die Verbindung ist SSL verschlüsselt.</em>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue