<?php
namespace App\Services;
use App\Models\Quotation;
class QuotationPdfService {
    public function html(Quotation $quotation): string {
        $customer = $quotation->customer;
        $items = $quotation->items ?? collect();
        return view('quotations.pdf', compact('quotation','customer','items'))->render();
    }
}
