@extends('pdf.layout') @section('content')
| ID | Vehículo | Cliente | Estado | Total ($) |
|---|---|---|---|---|
| #OT-{{ $order->id }} |
{{ $order->vehicle->make }} {{ $order->vehicle->model }}
Placa: {{ $order->vehicle->license_plate }}
|
{{ $order->customer->name }} | {{ $statusMap[$order->status] ?? strtoupper($order->status) }} |
${{ number_format($order->total_amount, 2) }} Bs. {{ number_format($order->total_amount * $rate, 2) }} |
| Total Órdenes: {{ $orders->count() }} | Completadas: {{ $orders->where('status', 'completed')->count() }} |
Facturación Total: ${{ number_format($totalAmount, 2) }} Bs. {{ number_format($totalAmount * $rate, 2) }} |