@extends('layouts.app') @section('title', 'Laporan Invoice') @section('page-title', 'Laporan Rekap Invoice') @push('styles') @endpush @section('content')
| NO INV | NAMA PELANGGAN | TGL INV | JAPO | KATEGORY | MASKAPAI/VENDOR | RUTE | NAMA PENUMPANG | SUPLIER | NTA | HARGA TOTAL |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->customer->name }} | {{ $inv->invoice_date->format('d/m/Y') }} | {{ $inv->due_date?->format('d/m/Y') ?? '-' }} | {{ $item->category?->name ?? '-' }} | @php $vendor = $item->details['airline'] ?? ($item->details['train'] ?? ($item->details['hotel'] ?? ($item->details['car'] ?? '-'))); @endphp {{ $vendor }} | @php $rute = $item->details['route'] ?? ($item->details['room_type'] ?? '-'); @endphp {{ $rute }} | {{ $item->details['passenger'] ?? '-' }} | {{ $item->details['supplier'] ?? '-' }} | Rp {{ number_format($item->details['nta'] ?? 0, 0, ',', '.') }} | Rp {{ number_format($item->total_price, 0, ',', '.') }} |
| Tidak ada data invoice | ||||||||||