@extends('layouts.admin') @section('title','Reports') @section('header-title','Reports') @section('content')
{{ $label }}
{{ $value }}
{{ $from->format('d M Y') }} to {{ $to->format('d M Y') }}
| S.No | Invoice | Quotation | Party | Vehicle details | Date | Received | Balance | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $invoice->invoice_number }} | {{ $invoice->quotation?->quotation_number ?? '-' }} | {{ $invoice->company?->name ?? $invoice->customer?->name }} | @if($vehicle = $invoice->quotation?->vehicle) {{ $vehicle->registration_number }} {{ $vehicle->name }} View vehicle@elseNot assigned@endif | {{ $invoice->invoice_date->format('d M Y') }} | ₹{{ number_format((float) $invoice->paid_amount, 2) }} | ₹{{ number_format((float) $invoice->total_amount, 2) }} | {{ $invoice->payment_status ?? 'pending' }} | |
| No invoices were created in this date range. | |||||||||
Bookings assigned during the selected report period.
| S.No | Vehicle | Type | Status | Bookings accepted | Actions |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $vehicle->registration_number }} {{ $vehicle->name }} | {{ $vehicle->vehicle_type }} | {{ str($vehicle->status)->replace('_', ' ') }} | {{ $vehicle->bookings_count }} | |
| No vehicles available. | |||||