@extends('admin.layouts.master-soyuz') @section('title',__('Viw order # :order | ',['order' => $order->order_id])) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Inhouse Orders') }} @endslot @slot('menu1') {{ __('View Order') }} @endslot @slot('button')
{{__("Back")}}
@endslot @endcomponent

{{ __("View Order")}} #{{ $order->order_id }}

{{__('Order Status')}} : {{ ucfirst(str_replace('_',' ',$order->order_status)) }}


{{__('Invoice')}} #{{ $order->order_id }}


{{__('From')}}
{{ $store->name }}
{{$store->address}}
{{ $store->city['name'] }},{{ $store->state['name'] }},{{ $store->country['nicename'] }}
{{ $store->pin_code }}
{{__('Phone')}}: {{ $store->mobile }}
{{__('Email')}}: {{ $store->email }}
{{__('To')}}
{{ $order->customer_name }}
{{ $order->customer_shipping_address }}
{{ $order->cities['name'] }},{{ $order->states['name'] }},{{ $order->country['nicename'] }}
{{ $order->customer_pincode }}
{{__('Phone')}}: {{ $order->customer_phone }}
{{__('Email')}}: {{ $order->customer_email }}
{{__('Date')}}: {{ date('d/m/Y',strtotime($order->invoice_date)) }}
{{__('Order ID')}}: {{ $order->order_id }}
{{__('Payment Method')}}: {{ $order->payment_method }}
@if(isset($order->orderItems)) @foreach($order->orderItems as $key => $item) @endforeach @else @endif
# {{ __('Product') }} {{ __('Gross Price') }} {{ __('Qty.') }} {{ __('Tax') }} {{ __('Subtotal') }}
{{ $key+1 }} {{ $item['product_name'] }}
Origin : {{ $item['origin'] ?? '-' }}
{{ sprintf("%.2f",($item['product_price']*$item['product_qty'])) }} {{ $item['product_qty'] }} {{ sprintf("%.2f",$item['product_tax']) }} {{ sprintf("%.2f",$item['product_total']) }}
{{__('No items found in this order !') }}

{{ __('Payment Methods') }}:

{{ $order->payment_method }}
@if($order['additional_note'] != NULL)

{{ __('Addtional Note') }}:

{!! $order['additional_note'] !!} @endif
{{ __('Subtotal') }}: {{ sprintf('%.2f',$order['subtotal']) }}
{{ __('Tax') }}: {{ sprintf('%.2f',$order['total_tax']) }} ({{ $order['tax_rate'] }}%)
@if($store->state['id'] != $order->states['id']) ({{ __('IGST') }}) {{ sprintf('%.2f',$order['total_tax']) }} ({{ $order['tax_rate'] }}%)
@endif @if($store->state['id'] == $order->states['id']) ({{ __('SGST') }}) {{ sprintf('%.2f',$order['total_tax']/2) }} ({{ sprintf("%.2f",$order['tax_rate']/2) }}%)
({{ __('CGST') }}) {{ sprintf('%.2f',$order['total_tax']/2) }} ({{ sprintf("%.2f",$order['tax_rate']/2) }}%)
@endif
{{ __('Shipping') }}: {{ sprintf('%.2f',$order['total_shipping']) }}
{{__('Adjustable Amount')}}: {{ sprintf('%.2f',$order['adjustable_amount']) }}
{{__("Total")}}: {{ sprintf('%.2f',$order['grand_total']) }}
{{ config('app.name') }}
{{ __('Authorised Signature') }}
@endsection