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,49 @@
<div class="address-information-wrapper">
<h3 class="section-title">{{ trans('order::orders.address_information') }}</h3>
<div class="row">
<div class="col-md-6">
<div class="billing-address">
<h4 class="pull-left">{{ trans('order::orders.billing_address') }}</h4>
<span>
{{ $order->billing_full_name }}
<br>
{{ $order->billing_address_1 }}
<br>
@if ($order->billing_address_2)
{{ $order->billing_address_2 }}
<br>
@endif
{{ $order->billing_city }}, {{ $order->billing_state_name }} {{ $order->billing_zip }}
<br>
{{ $order->billing_country_name }}
</span>
</div>
</div>
<div class="col-md-6">
<div class="shipping-address">
<h4 class="pull-left">{{ trans('order::orders.shipping_address') }}</h4>
<span>
{{ $order->shipping_full_name }}
<br>
{{ $order->shipping_address_1 }}
<br>
@if ($order->shipping_address_2)
{{ $order->shipping_address_2 }}
<br>
@endif
{{ $order->shipping_city }}, {{ $order->shipping_state_name }} {{ $order->shipping_zip }}
<br>
{{ $order->shipping_country_name }}
</span>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,63 @@
<div class="items-ordered-wrapper">
<h3 class="section-title">{{ trans('order::orders.items_ordered') }}</h3>
<div class="row">
<div class="col-md-12">
<div class="items-ordered">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>{{ trans('order::orders.product') }}</th>
<th>{{ trans('order::orders.unit_price') }}</th>
<th>{{ trans('order::orders.quantity') }}</th>
<th>{{ trans('order::orders.line_total') }}</th>
</tr>
</thead>
<tbody>
@foreach ($order->products as $product)
<tr>
<td>
@if ($product->trashed())
{{ $product->name }}
@else
<a href="{{ route('admin.products.edit', $product->product->id) }}">{{ $product->name }}</a>
@endif
@if ($product->hasAnyOption())
<br>
@foreach ($product->options as $option)
<span>
{{ $option->name }}:
<span>
@if ($option->option->isFieldType())
{{ $option->value }}
@else
{{ $option->values->implode('label', ', ') }}
@endif
</span>
</span>
@endforeach
@endif
</td>
<td>
{{ $product->unit_price->format() }}
</td>
<td>{{ $product->qty }}</td>
<td>
{{ $product->line_total->format() }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,132 @@
<div class="order-information-wrapper">
<div class="order-information-buttons">
<a href="{{ route('admin.orders.print.show', $order) }}" class="btn btn-default" target="_blank"
data-toggle="tooltip" title="{{ trans('order::orders.print') }}">
<i class="fa fa-print" aria-hidden="true"></i>
</a>
<form method="POST" action="{{ route('admin.orders.email.store', $order) }}">
{{ csrf_field() }}
<button type="submit" class="btn btn-default" data-toggle="tooltip"
title="{{ trans('order::orders.send_email') }}" data-loading>
<i class="fa fa-envelope-o" aria-hidden="true"></i>
</button>
</form>
</div>
<h3 class="section-title">{{ trans('order::orders.order_and_account_information') }}</h3>
<div class="row">
<div class="col-md-6">
<div class="order clearfix">
<h4>{{ trans('order::orders.order_information') }}</h4>
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<td>{{ trans('order::orders.order_id') }}</td>
<td>{{ $order->id }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.order_date') }}</td>
<td>{{ $order->created_at->toFormattedDateString() }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.order_status') }}</td>
<td>
<div class="row">
<div class="col-lg-9 col-md-10 col-sm-10">
<select id="order-status" class="form-control custom-select-black"
data-id="{{ $order->id }}">
@foreach (trans('order::statuses') as $name => $label)
<option value="{{ $name }}"
{{ $order->status === $name ? 'selected' : '' }}>
{{ $label }}
</option>
@endforeach
</select>
</div>
</div>
</td>
</tr>
@if ($order->shipping_method)
<tr>
<td>{{ trans('order::orders.shipping_method') }}</td>
<td>{{ $order->shipping_method }}</td>
</tr>
@endif
<tr>
<td>{{ trans('order::orders.payment_method') }}</td>
<td>{{ $order->payment_method }}
@if ($order->payment_method === 'Bank Transfer')
</br>
{{ setting('bank_transfer_instructions') }}
@endif
</td>
</tr>
@if (is_multilingual())
<tr>
<td>{{ trans('order::orders.currency') }}</td>
<td>{{ $order->currency }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.currency_rate') }}</td>
<td>{{ $order->currency_rate }}</td>
</tr>
@endif
@if ($order->note)
<tr>
<td>{{ trans('order::orders.order_note') }}</td>
<td>{{ $order->note }}</td>
</tr>
@endif
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="account-information">
<h4>{{ trans('order::orders.account_information') }}</h4>
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<td>{{ trans('order::orders.customer_name') }}</td>
<td>{{ $order->customer_full_name }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.customer_email') }}</td>
<td>{{ $order->customer_email }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.customer_phone') }}</td>
<td>{{ $order->customer_phone }}</td>
</tr>
<tr>
<td>{{ trans('order::orders.customer_group') }}</td>
<td>
{{ is_null($order->customer_id) ? trans('order::orders.guest') : trans('order::orders.registered') }}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,42 @@
<div class="order-totals-wrapper">
<div class="row">
<div class="order-totals pull-right">
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<td>{{ trans('order::orders.subtotal') }}</td>
<td class="text-right">{{ $order->sub_total->format() }}</td>
</tr>
@if ($order->hasShippingMethod())
<tr>
<td>{{ $order->shipping_method }}</td>
<td class="text-right">{{ $order->shipping_cost->format() }}</td>
</tr>
@endif
@foreach ($order->taxes as $tax)
<tr>
<td>{{ $tax->name }}</td>
<td class="text-right">{{ $tax->order_tax->amount->format() }}</td>
</tr>
@endforeach
@if ($order->hasCoupon())
<tr>
<td>{{ trans('order::orders.coupon') }} (<span class="coupon-code">{{ $order->coupon->code }}</span>)</td>
<td class="text-right">&#8211;{{ $order->discount->format() }}</td>
</tr>
@endif
<tr>
<td>{{ trans('order::orders.total') }}</td>
<td class="text-right">{{ $order->total->format() }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
@push('shortcuts')
<dl class="dl-horizontal">
<dt><code>b</code></dt>
<dd>{{ trans('admin::admin.shortcuts.back_to_index', ['name' => trans('order::orders.order')]) }}</dd>
</dl>
@endpush
@push('scripts')
<script>
keypressAction([
{ key: 'b', route: "{{ route('admin.orders.index') }}" }
]);
</script>
@endpush