@extends('layouts/pdf_blank') @section('title', 'Order Invoice') @section('content')

Tax Invoice

Invoice Date: {{ $order->created_at->format('d-m-Y') }}

Invoice Number: {{ $order->invoiceNumber() }}

Order ID: {{ $order->order_no }}


{{--

Order ID: {{ $order->order_no }}

Invoice Date: {{ Helper::dateFormat($order->created_at) }}

Total Amount

@currency($order->total_amount)


--}}

Bill To:

{{ $order->billingAddress->full_name ?? 'Former Member' }}

Address: {{ $order->billingAddress->full_address }}

Mobile: {{ $order->billingAddress->phone ?? '-' }}

Email: {{ $order->customer->email ?? '-' }}

Bill From:

{{ config('constant.company.full_name') }}

Head Office: {{ config('constant.company.address') }}

Contact No: {{ config('constant.company.phone') }}

GSTNo: {{ config('constant.company.gst_no') }}

{{--
--}}
@if($order->isIGST()) @else @endif @php $total = [ 'quantity' => 0, 'gross_amount' => 0, 'discount' => 0, 'taxable_value' => 0, 'igst' => 0, 'cgst' => 0, 'sgst' => 0, ] @endphp @foreach ($order->orderDetail as $details) @php $totalDiscount = $details->coupon_amount ?? 0; $totalDiscount += $details->bulk_discount_amount ?? 0; if($order->isIGST()) { $total['igst'] += $details->totalGST(); } else { $total['cgst'] += $details->totalGST() / 2; $total['sgst'] += $details->totalGST() / 2; } $total['quantity'] += $details->quantity; $total['taxable_value'] += $details->total_amount - $details->totalGST(); $total['gross_amount'] += $details->product_price * $details->quantity; $total['discount'] += $totalDiscount; @endphp @if ($order->isIGST()) @else @endif @endforeach @if ($order->isIGST()) @else @endif @if ($order->isIGST()) @else @endif
Product Qty Amount Discount Taxable ValueIGSTCGST SGSTTotal

{{ mb_substr($details->product->name, 0, 30) }}

{{ $details->variant->name ?? '' }}

@if ($details->product->hsn_code) HSN: {{ $details->product->hsn_code }}
@endif @if ($details->product->sku) SKU No: {{ $details->product->sku }}
@endif @if ($details->gst) @if ($order->isIGST()) IGST: {{ $details->gst }}%
@else CGST: {{ $details->gst / 2 }}%
SGST: {{ $details->gst / 2 }}% @endif @endif
{{ $details->quantity }} @currency($details->product_price * $details->quantity) @currency($totalDiscount) @currency($details->total_amount - $details->totalGST()) @currency($details->totalGST()) @currency($details->totalGST() / 2) @currency($details->totalGST() / 2) @currency($details->total_amount)
Delivery ChargeDelivery Charge@currency($order->delivery_amount)
Total {{ $total['quantity'] }} @currency($total['gross_amount']) @currency($total['discount']) @currency($total['taxable_value'])@currency($total['igst'])@currency($total['cgst']) @currency($total['sgst'])@currency($order->total_amount)
{{--

Amount Chargeable in words

{{ $order->total_amount_words }}

Company Pan No.: {{ config('constant.company.pan_no') }}

{{ config('constant.company.full_name') }}

Total Taxable Amount: {{ $order->total_taxable_amount }}

Total Tax Amount: {{ $order->total_tax }}

Grand Total: {{ $order->total_amount_format }}

--}}

Important Note:

  1. Once payment for goods are made, any exchange or refund is not acceptable.
  2. No Warranty / No Guarantee applicable on any products
  3. We are not responsible for any damages or delay in transit cause by Courier Partner.
  4. Our Risk & Responsibility ceases after goods leave our premises.
  5. All disputes are subject to Jamnagar Jurisdisction only
  6. {{--
  7. Client agrees that he/she has been explained about the product /service.
  8. Payment will be not refundable.
  9. All disputes are subjected to Mumbai jurisdiction only.
  10. In case of any dispute the decision of the management will be final.
  11. Taxes as applicable.
  12. --}}
@endsection