@extends('layouts.app') @section('title', 'Create Quotation') @if(session('success'))
{{ session('success') }}
@endif @error('hsn_number') {{ $message }} @enderror @section('content')

Quotation

Company Logo
@csrf

Quotation No: {{ $quotation->quotationNumber ?? $quotationNumber }}

Date: {{ $quotation->quotationDate }}

Quotation From:

ATJOIN PVT.LTD
5th Floor, Luv-Kush Apt.
Seasons Business Center,
Opposite Kothari Hyundai Showroom,
Sanewadi, Aundh
Pune, Maharashtra 411007

Place of Supply: Pune

Quotation To:
@php $selectedCustomer = App\Models\SelectCustomer::first(); @endphp @if($selectedCustomer)

Client Name: {{ $selectedCustomer->company_name }}

Customer Name: {{ $selectedCustomer->customer_name }}

Contact: {{ $selectedCustomer->contact }}

GST Number: {{ $selectedCustomer->gst_number }}

Email: {{ $selectedCustomer->email }}

Address: {{ $selectedCustomer->address }}

State: {{ $selectedCustomer->state }}

@endif
@if(isset($selectedRows) && count($selectedRows) > 0) @foreach($selectedRows as $row) @endforeach @else @endif
Sr No Item Description Qty Amount Total Amount
No data selected.

Sub Total: ₹{{ number_format($subtotal, 2) }}

CGST : ₹{{ number_format($cgst, 2) }}

SGST : ₹{{ number_format($sgst, 2) }}

IGST : ₹{{ number_format($igst, 2) }}

Grand Total: ₹{{ number_format($grand_total, 2) }}

@php $isMaharashtra = isset($selectedCustomer) && strtolower($selectedCustomer->state) === 'maharashtra'; @endphp @if($isMaharashtra) @else @endif @if($isMaharashtra) @else @endif @if($isMaharashtra) @else @endif @if($isMaharashtra) @else @endif
HSN/SAC Taxable ValueCGST SGST IGSTCGST SGST IGSTTotal Tax Amount
Rate (%) Amount (₹) Rate (%) Amount (₹) Rate (%) Amount (₹)Rate (%) Amount (₹) Rate (%) Amount (₹) Rate (%) Amount (₹)
{{ number_format($gst_rate, 2) }}%{{ $gst_rate / 2 }}% ₹{{ number_format($cgst, 2) }} {{ $gst_rate / 2 }}% ₹{{ number_format($sgst, 2) }} {{ $gst_rate }}% ₹{{ number_format($igst, 2) }} @if($isMaharashtra) ₹{{ number_format($cgst + $sgst, 2) }} @else ₹{{ number_format($igst, 2) }} @endif
Total: {{ number_format($gst_rate, 2) }}%{{ $gst_rate / 2 }}% ₹{{ number_format($cgst, 2) }} {{ $gst_rate / 2 }}% ₹{{ number_format($sgst, 2) }} {{ $gst_rate }}% ₹{{ number_format($igst, 2) }} @if($isMaharashtra) ₹{{ number_format($cgst + $sgst, 2) }} @else ₹{{ number_format($igst, 2) }} @endif
@endsection