@extends('index') @section('title', Helper::getSiteTitle($title)) @section('content')

{{ __($title) }}

All the fields with (*) are required & others are optional which user may update later.

{{ csrf_field() }}
@if(!session('tab_id') || session('tab_id') == 'order-details') @if($errors->any()) @elseif(session('message')) @endif @endif
@php $status_id = Helper::getInputValue('status_id', $order->status_id) @endphp
@php $shipping_method_id = Helper::getInputValue('shipping_method_id', $order->shipping_method_id) @endphp
@php $payment_account = Helper::getInputValue('payment_account', $order->payment_account) @endphp
@php $paid = Helper::getInputValue('paid', $order->paid) @endphp
@php $branded = Helper::getInputValue('branded', $order->branded) @endphp

All the fields with (*) are required & others are optional which user may update later.

{{ csrf_field() }} @if(session('tab_id') && session('tab_id') == 'customer-details')
@if($errors->any()) @elseif(session('message')) @endif
@endif

All the prices must be include VAT.

{{ csrf_field() }}
@if(session('tab_id') && session('tab_id') == 'order-items')
@if($errors->any()) @elseif(session('message')) @endif
@endif @php $branding_product = 0; @endphp @foreach($items as $item_index => $item)
@php $brandings = DB::table('order_item_brandings')->where('order_item_id', $item->id)->whereNull('deleted_at')->get(); @endphp

@if(!empty($item->slug)) @if($item->base_item_unique_code) {{ $item->base_item_unique_code }} - {{ $item->name }} @else {{ $item->name }} @endif @else @if($item->base_item_unique_code) {{ $item->base_item_unique_code }} - {{ $item->name }} @else {{ $item->name }} @endif @endif

@if(!$brandings->isEmpty()) @endif
@if($item->is_printing_product == 1) @if($item->is_in_sq_m == 1) @else @endif @else @endif @if($item->is_printing_product == 1) @php $variants = DB::table('order_item_printing')->whereNull('deleted_at')->where('order_item_id', $item->id)->get(); @endphp @foreach($variants as $variant_index => $var) @if($var->is_in_sq_m == 1) @else @endif @endforeach @else @php $variants = DB::table('order_item_variants')->where('order_item_id', $item->id)->whereNull('deleted_at')->get(); @endphp @foreach($variants as $variant_index => $var) @endforeach @endif
Length x Width Area m2 Quantity Price of 1 m2 Total
Variant(s) Setup Cost Quantity Price Total
Colour Size Quantity Price Total
{{ $var->print_length }} m x {{ $var->print_width }} m {{ $var->total_sq_m }} m2 {{ Helper::showCurrencyFormats($var->total_price) }}
{{ $var->no_of_colors }} {{ Helper::showCurrencyFormats($var->total_price + $var->setup_cost) }}
@if(!empty($var->color_name)) {{ $var->color_name }} @else N/A @endif @if(!empty($var->size)) {{ $var->size }} @else N/A @endif {{ Helper::showCurrencyFormats($var->total_price) }}
@if(!$brandings->isEmpty()) @php $branding_product = 1; @endphp
@foreach($brandings as $index => $branding) @endforeach
Position Method Colors Setup Quantity Artwork Price Total
{{ $branding->position_name }} {{ $branding->branding_method }} @if(isset($branding->no_of_colors) && $branding->no_of_colors > 0) {{ $branding->no_of_colors }} @else N/A @endif {{ Helper::displayStocks($branding->qty) }} @php $artwork = DB::table('order_item_brandings_artwork')->where('order_item_branding_id', $branding->id)->whereNull('deleted_at')->first(); @endphp @if(!empty($artwork)) @else N/A @endif {{ Helper::showCurrencyFormats($branding->total_branding_price + $branding->setup_price + $branding->dye_charge) }}
@endif
@endforeach
@if($branding_product == 1) @if(!empty($order->dye_charge_total) && $order->dye_charge_total > 0) @endif @endif @if(config('uba.permissions.incl_vat_system')) @endif
Product Total (Incl. VAT):
{{ Helper::showCurrencyFormats($order->product_total) }}
Branding (Incl. VAT): {{ Helper::showCurrencyFormats($order->branding_total) }}
Setup (Incl. VAT): {{ Helper::showCurrencyFormats($order->setup_total) }}
Dye Charges (Incl. VAT): {{ Helper::showCurrencyFormats($order->dye_charge_total) }}
Shipping Price:
Total VAT: {{ Helper::showCurrencyFormats($order->total_vat) }}
Grand Total:
{{ Helper::showCurrencyFormats($order->grand_total) }}
@endsection @section('css-lib') @endsection @section('js-lib') @endsection @section('css') @endsection