@extends('admin.layouts.master') @section('content')
@csrf
Edit Order
@php $totalWeight = 0; $totalRrp = 0; $totalQuantity = 0; $totalAmount = 0; @endphp @foreach ($order->orderDetails as $index => $orderDetail) @php $totalWeight += $orderDetail->product->weight; $totalRrp += $orderDetail->product->rrp; $totalQuantity += $orderDetail->quantity; $totalAmount += $orderDetail->total_amount; @endphp @endforeach
{{ __('#') }} {{ __('Product') }} {{ __('Weight') }} {{ __('RRP') }} {{ __('Stock') }} {{ __('Rate') }} {{ __('Quantity') }} {{ __('Amount') }} {{ __('Action') }}
{{ $index + 1 }}
Please enter a product name
Please enter a rate
Please enter a quantity
totals
Estimated Shipping Charges
# Company Box Size Total Boxs Local Charges Int charges
Billing Address
{{ $order->ba_first_name }} {{ $order->ba_last_name }}
{{ $order->ba_line_1 }}
{{ $order->ba_line_2 }}
{{ $order->ba_city }} - {{ $order->ba_post_code }}
{{ $order->ba_phone }}
@if ($order->delivery_method == 'delivery')
Shipping Address
{{ $order->sa_first_name }} {{ $order->sa_last_name }}
{{ $order->sa_line_1 }}
{{ $order->sa_line_2 }}
{{ $order->sa_city }} - {{ $order->sa_post_code }}
{{ $order->sa_phone }}
@else
Pickup Address
{{ $order->pickupAddress->name }}
{{ $order->pickupAddress->phone }}
@endif
Order Logs
@foreach ($order_logs as $id => $log) @endforeach
# Date & Time Action By Action Description
{{ ++$id }} {{ \Carbon\Carbon::parse($log->created_at)->format('j-M-Y h:i A') }} {{ $log->actionBy->first_name ?? '' }} {{ $log->actionBy->last_name ?? '' }} {{ $log->action }} {{ $log->description }}
Total Info
{{--
--}}
{{--
--}}
vat_tax_amount > 0 ? 'checked' : '' }}>
@endsection @section('js') @endsection