@include('Admin.layout.header')
{{-- INVOICE HEADER --}}
Ignite Garage Logo

IGNITE GARAGE

Two Wheeler Service & Repair

Professional Bike Care

INVOICE

Bill Number: {{ $bill->bill_number }}

Bill Date: {{ $bill->bill_date->format('d M Y') }}

{{-- BILL AND VEHICLE INFORMATION --}}
Bill Information

Bill Number: {{ $bill->bill_number }}

Service Date: {{ $bill->bill_date->format('d M Y') }}

Billed On: {{ $bill->created_at->format('d M Y') }}

Customer: {{ $bill->customer_name }}

Mobile: {{ $bill->mobile_number }}

Vehicle Information

Vehicle Number: {{ $bill->vehicle_number }}

Vehicle Brand: {{ $bill->vehicle_brand }}

Vehicle Model: {{ $bill->vehicle_model }}

{{-- SERVICES RECEIVED --}}
Services Received {{ count($bill->common_services ?? []) }} Services
@forelse(($bill->common_services ?? []) as $service)
{{ $service['name'] ?? '' }} — ₹{{ number_format((float) ($service['amount'] ?? 0), 2) }}
@empty
No common services recorded.
@endforelse

Service Remarks

{{ $bill->remarks ?: '—' }}

{{-- SERVICES DONE --}}
Services Done
SNO DESCRIPTION AMOUNT (₹)
Total Amount ₹0.00
{{-- PRODUCTS USED --}}
Products Used
DESCRIPTION QTY RATE (₹) AMOUNT (₹)
Total Amount ₹0.00
{{-- BILLING SUMMARY --}}
Billing Summary
Subtotal ₹{{ number_format((float) $bill->subtotal, 2) }}
Discount ({{ number_format((float) $bill->discount, 2) }}%) − ₹{{ number_format((float) $bill->subtotal * (float) $bill->discount / 100, 2) }}
GST Amount ₹{{ number_format((float) $bill->gst_amount, 2) }}

Amount Before Tax ₹{{ number_format(max(0, (float) $bill->subtotal - ((float) $bill->subtotal * (float) $bill->discount / 100)), 2) }}
Grand Total ₹{{ number_format((float) $bill->total_amount, 2) }}
{{-- PAYMENT INFORMATION --}}
Payment Information
Payment Status {{ (float) $bill->balance_amount <= 0 ? 'Paid' : 'Pending' }}
Payment Method {{ $bill->payment_method ?: '—' }}
Amount Received ₹{{ number_format((float) $bill->amount_received, 2) }}

Additional Remarks

{{ $bill->remarks ?: '—' }}

{{-- INVOICE FOOTER --}}

Thank you for choosing Ignite Garage!

Ride Safe. Ride Smooth.
{{-- ACTION BUTTONS (hidden in print and in the PDF) --}}