@extends('admin.layouts.master-soyuz') @section('title','View 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