@php use App\Models\Setting; use App\Support\AddressFormatter; use App\Support\AmountInWords; $company = [ 'name' => Setting::get('company_name', config('app.name')), 'address' => Setting::get('company_address', ''), 'owner' => Setting::get('company_owner', ''), 'pincode' => Setting::get('company_pincode', ''), 'phone' => Setting::get('company_phone', ''), 'email' => Setting::get('company_email', ''), 'gstin' => Setting::get('company_gstin', ''), 'state' => Setting::get('company_state', ''), 'state_code' => Setting::get('company_state_code', ''), ]; $companyAddress = collect([ $company['owner'] ? "({$company['owner']})" : null, AddressFormatter::flow($company['address']), ])->filter()->implode(', '); if ($company['pincode']) { $companyAddress = trim($companyAddress.' - '.$company['pincode'], ' -'); } $toAddress = AddressFormatter::flow($transfer->toWarehouse->address); $summary = $transfer->taxSummary(); @endphp
|
Consignee (Ship to) {{ $transfer->toWarehouse->name }} @if ($toAddress){{ $toAddress }} @endif @if ($transfer->toWarehouse->phone)Phone: {{ $transfer->toWarehouse->phone }}@endif |
Invoice Details Invoice No.: {{ $transfer->challan_number }} Dated: {{ $transfer->transfer_date->format('d-M-Y') }} Supply: Intra-State (CGST + SGST) Price tier: {{ $transfer->priceTierLabel() }} Dispatched from: {{ $transfer->fromWarehouse->name }} |
| Sl No. |
Description of Goods | HSN | GST Rate |
Quantity | Rate | per | Amount |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $line->product?->name ?? "Deleted product (#{$line->product_id})" }} | {{ $line->hsn_code ?: '—' }} | {{ rtrim(rtrim(number_format((float) $line->tax_rate, 2), '0'), '.') }} % | {{ $line->quantity }} {{ $line->product?->unit ?: 'PCS' }} | {{ number_format((float) $line->unit_price, 2) }} | {{ $line->product?->unit ?: 'PCS' }} | {{ number_format((float) $line->line_total, 2) }} |
| Total | {{ $transfer->lines->sum('quantity') }} PCS | {{ number_format((float) $transfer->subtotal, 2) }} | |||||
| CGST | {{ number_format((float) $transfer->cgst_total, 2) }} | ||||||
| SGST | {{ number_format((float) $transfer->sgst_total, 2) }} | ||||||
| Round Off | {{ number_format((float) $transfer->round_off, 2) }} | ||||||
| Grand Total | ₹ {{ number_format((float) $transfer->total, 2) }} | ||||||
Amount Chargeable (in words): {{ AmountInWords::rupees((float) $transfer->total) }} E. & O.E
| GST Rate | Taxable Value | CGST Rate | CGST Amt | SGST Rate | SGST Amt | Total Tax |
|---|---|---|---|---|---|---|
| {{ rtrim(rtrim(number_format($bucket['rate'], 2), '0'), '.') }}% | {{ number_format($bucket['taxable'], 2) }} | {{ rtrim(rtrim(number_format($bucket['rate'] / 2, 2), '0'), '.') }}% | {{ number_format($bucket['cgst'], 2) }} | {{ rtrim(rtrim(number_format($bucket['rate'] / 2, 2), '0'), '.') }}% | {{ number_format($bucket['sgst'], 2) }} | {{ number_format($tax, 2) }} |
| Total | {{ number_format((float) $transfer->subtotal, 2) }} | {{ number_format((float) $transfer->cgst_total, 2) }} | {{ number_format((float) $transfer->sgst_total, 2) }} | {{ number_format((float) $transfer->tax_total, 2) }} |
| for {{ $company['name'] }} |
for {{ $company['name'] }} Authorised Signatory |
This is a Computer Generated Document