first upload all files

This commit is contained in:
NW
2023-06-11 13:14:03 +01:00
parent f14dbc52b5
commit c08b36d1b6
1705 changed files with 106852 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<div class="col-lg-6 col-sm-9">
<div class="order-billing-details">
<h4>{{ trans('storefront::account.view_order.billing_address') }}</h4>
<address>
<span>{{ $order->billing_full_name }}</span>
<span>{{ $order->billing_address_1 }}</span>
@if ($order->billing_address_2)
<span>{{ $order->billing_address_2 }}</span>
@endif
<span>{{ $order->billing_city }}, {{ $order->billing_state_name }} {{ $order->billing_zip }}</span>
<span>{{ $order->billing_country_name }}</span>
</address>
</div>
</div>

View File

@@ -0,0 +1,64 @@
<div class="order-details-middle">
<div class="table-responsive">
<table class="table table-borderless order-details-table">
<thead>
<tr>
<th>{{ trans('storefront::account.product_name') }}</th>
<th>{{ trans('storefront::account.view_order.unit_price') }}</th>
<th>{{ trans('storefront::account.view_order.quantity') }}</th>
<th>{{ trans('storefront::account.view_order.line_total') }}</th>
</tr>
</thead>
<tbody>
@foreach ($order->products as $product)
<tr>
<td>
<a href="{{ $product->url() }}" class="product-name">
{{ $product->name }}
</a>
@if ($product->hasAnyOption())
<ul class="list-inline product-options">
@foreach ($product->options as $option)
<li>
@if ($option->isFieldType())
<label>{{ $option->name }}:</label> {{ $option->value }}
@else
<label>{{ $option->name }}:</label> {{ $option->values->implode('label', ', ') }}
@endif
</li>
@endforeach
</ul>
@endif
</td>
<td>
<label>{{ trans('storefront::account.view_order.unit_price') }}</label>
<span class="product-price">
{{ $product->unit_price->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</td>
<td>
<label>{{ trans('storefront::account.view_order.quantity') }}</label>
<span class="quantity">
{{ $product->qty }}
</span>
</td>
<td>
<label>{{ trans('storefront::account.view_order.line_total') }}</label>
<span class="product-price">
{{ $product->line_total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,51 @@
<div class="col-lg-6 col-sm-18">
<div class="order-information">
<h4>{{ trans('storefront::account.view_order.order_information') }}</h4>
<ul class="list-inline order-information-list">
<li>
<label>{{ trans('storefront::account.view_order.id') }}</label>
<span>{{ $order->id }}</span>
</li>
<li>
<label>{{ trans('storefront::account.view_order.phone') }}</label>
<span>{{ $order->customer_phone }}</span>
</li>
<li>
<label>{{ trans('storefront::account.view_order.email') }}</label>
<span>{{ $order->customer_email }}</span>
</li>
<li>
<label>{{ trans('storefront::account.view_order.date') }}</label>
<span>{{ $order->created_at->toFormattedDateString() }}</span>
</li>
<li>
<label>{{ trans('storefront::account.view_order.shipping_method') }}</label>
<span>{{ $order->shipping_method }}</span>
</li>
<li>
<label>{{ trans('storefront::account.view_order.payment_method') }}</label>
<span>
{{ $order->payment_method }}
@if ($order->payment_method === 'Bank Transfer')
</br>
{{ setting('bank_transfer_instructions') }}
@endif
</span>
</li>
@if ($order->note)
<li>
<label>{{ trans('storefront::account.view_order.order_note') }}</label>
<span>{{ $order->note }}</span>
</li>
@endif
</ul>
</div>
</div>

View File

@@ -0,0 +1,52 @@
<div class="order-details-bottom">
<ul class="list-inline order-summary-list">
<li>
<label>{{ trans('storefront::account.view_order.subtotal') }}</label>
<span class="price-amount">
{{ $order->sub_total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@if ($order->hasShippingMethod())
<li>
<label>{{ $order->shipping_method }}</label>
<span class="price-amount">
{{ $order->shipping_cost->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@endif
@foreach ($order->taxes as $tax)
<li>
<label>{{ $tax->name }}</label>
<span class="price-amount">
{{ $tax->order_tax->amount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@endforeach
@if ($order->hasCoupon())
<li>
<label>
{{ trans('storefront::account.view_order.coupon') }}
<span class="coupon-code">[{{ $order->coupon->code }}]</span>
</label>
<span class="price-amount">
-{{ $order->discount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@endif
</ul>
<div class="order-summary-total">
<label>{{ trans('storefront::account.view_order.total') }}</label>
<span class="total-price">
{{ $order->total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<div class="col-lg-6 col-sm-9">
<div class="order-shipping-details">
<h4>{{ trans('storefront::account.view_order.shipping_address') }}</h4>
<address>
<span>{{ $order->shipping_full_name }}</span>
<span>{{ $order->shipping_address_1 }}</span>
@if ($order->shipping_address_2)
<span>{{ $order->shipping_address_2 }}</span>
@endif
<span>{{ $order->shipping_city }}, {{ $order->shipping_state_name }} {{ $order->shipping_zip }}</span>
<span>{{ $order->shipping_country_name }}</span>
</address>
</div>
</div>