@extends('layouts/layoutMaster') @section('title', 'Sales Invoice') @section('vendor-style') @vite('resources/assets/vendor/libs/flatpickr/flatpickr.scss') @endsection @section('page-style') @vite('resources/assets/vendor/scss/pages/app-invoice.scss') @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/moment/moment.js', 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/cleavejs/cleave.js', 'resources/assets/vendor/libs/cleavejs/cleave-phone.js' ]) @endsection {{-- @section('page-script') @vite([ 'resources/assets/js/offcanvas-add-payment.js', 'resources/assets/js/offcanvas-send-invoice.js' ]) @endsection --}} @section('content')
{{ $dealer->office_address }}
{{ $dealer->email }}
{{ $dealer->phone_no }}
@endifPlot No: {{ $firstItem->product->company->billing_address }}
Phone No: {{ $firstItem->product->company->phone }} | Email: {{ $firstItem->product->company->email }}
GST: {{ $firstItem->product->company->gst }} | CIN No: {{ $firstItem->product->company->cin_no }}
| S.No | Details | Qty | Free Qty | Pack Style | Sales Rate | Sales Amount | Discount | After Discount | GST | GST Amount | Total |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $itemIndex++ }} |
{{ $item->product->code }} {{ $item->product->name }} {{ $item->product->hsn_code }} {{ $item->product->specification }} |
{{ $item->quantity }} {{ $item->product->uom ? $item->product->uom->name : '' }} |
{{ $item->free_qty }} {{ $item->product->uom ? $item->product->uom->name : '' }} |
{{ $item->pack_style1 }} X {{ $item->pack_style2 }} | {{ number_format($item->sales_rate, 2) }} | {{ number_format($item->sales_amount, 2) }} | {{ number_format($item->discount, 2) }} | {{ number_format($item->sales_amt_aft_discount, 2) }} | {!! $gstType !!} |
@if ($vendorState == $companyBillingState)
SGST: {{ number_format($sgstAmount, 2) }} CGST: {{ number_format($cgstAmount, 2) }} @else IGST: {{ number_format($igstAmount, 2) }} @endif |
{{-- Price: {{ number_format($itemNetPrice, 2) }} @if ($vendorState == $companyBillingState) SGST: {{ number_format($sgstAmount, 2) }} CGST: {{ number_format($cgstAmount, 2) }} @else IGST: {{ number_format($igstAmount, 2) }} @endif --}} Total: {{ number_format($item->Total, 2) }} |
|
Subtotal: Discount: Tax: Total: |
{{ number_format($subtotal, 2) }} ₹00.00 {{ number_format($totalSgst + $totalCgst + $totalIgst, 2) }} {{ number_format($subtotal + ($totalSgst + $totalCgst + $totalIgst), 2) }} |
| Taxable Value | SGST (%) | SGST Amount | CGST (%) | CGST Amount | IGST (%) | IGST Amount |
|---|---|---|---|---|---|---|
| {{ number_format($group['totalNetPrice'], 2) }} | {{ number_format($group['sgstRate'], 2) }} | {{ number_format($group['sgstAmount'], 2) }} | {{ number_format($group['cgstRate'], 2) }} | {{ number_format($group['cgstAmount'], 2) }} | {{ number_format($group['igstRate'], 2) }} | {{ number_format($group['igstAmount'], 2) }} |