@if (!empty($branchInfo['logo'])) Logo @else N/A @endif

{{ $branchInfo['name'] }}

{{ $branchInfo['address'] }}
+91 {{ $branchInfo['phone'] }}
{{ $branchInfo['email'] }}

Purchase Invoice

Invoice No : {{ $myPurchase->invoice_number }}
Date : {{ \Carbon\Carbon::parse($myPurchase->purchase_date)->format('d/m/Y') }}
Supplier Details
Supplier
:
{{ $myPurchase->purchaseParty->customer_name ?? 'N/A' }}
@if ($myPurchase->purchaseParty->phone_number ?? false)
Phone
:
{{ $myPurchase->purchaseParty->phone_number }}
@endif @if ($myPurchase->purchaseParty->address ?? false)
Address
:
{{ $myPurchase->purchaseParty->address }}
@endif
Purchase Summary
@foreach ($myPurchase->items as $index => $item) @endforeach
S No Item Item Code HSN Code Purchase Price Qty GST% Total
{{ $index + 1 }}
{{ isset($item->product->title) ? substr($item->product->title, 0, 50) : 'N/A' }}
{{ $item->imei ?? 'N/A' }}
{{ $item->product->item_code ?? '-' }} {{ $item->product->hsn_code ?? '-' }} ₹{{ number_format($item->purchase_price, 2) }} {{ $item->quantity }} {{ number_format($item->gst_percentage ?? 0, 2) }} ₹{{ number_format($item->quantity * $item->purchase_price, 2) }}
Total
₹{{ number_format($myPurchase->total_amount, 2) }}

Note

• Thank you for purchasing from us! • Please verify IMEI details before leaving. • Warranty as per manufacturer terms.
Payment Details

Sub Total (Excl. GST) ₹{{ number_format($myPurchase->sub_total_excluding_gst, 2) }}

@if (auth()->user()->role == 'admin' && $is_gst == 1)

Tax ₹{{ number_format($myPurchase->gst_total, 2) }}

@else

CGST ₹{{ number_format($myPurchase->gst_total / 2, 2) }}

SGST ₹{{ number_format($myPurchase->gst_total / 2, 2) }}

@endif @if ($myPurchase->discount_amount > 0)

Discount -₹{{ number_format($myPurchase->discount_amount, 2) }}

@if ($myPurchase->discount_note)
{{ $myPurchase->discount_note }}
@endif @endif @if ($myPurchase->additional_charge > 0)

Additional Charge +₹{{ number_format($myPurchase->additional_charge, 2) }}

@if ($myPurchase->additional_charge_note)
{{ $myPurchase->additional_charge_note }}
@endif @endif

Total ₹{{ number_format($myPurchase->total_amount, 2) }}