#150: Invoice PDF name
This commit is contained in:
parent
1e32502759
commit
3a36bc586c
@ -1,8 +1,7 @@
|
||||
# Changelog
|
||||
**2025-04-11**
|
||||
**2025-04-13**
|
||||
- Fixed #132 - Inches / cm toggle for order page (and show unit on pdf)
|
||||
|
||||
**2025-04-10**
|
||||
- Add #129 - Order product count sum
|
||||
- Fixed #145 - Default order sort is incorrect (newest will always show on top now)
|
||||
- Fixed #142 - Packing Slip content field should be required
|
||||
|
||||
|
@ -11,7 +11,7 @@ class InvoiceController extends Controller
|
||||
public function pdf(int $id)
|
||||
{
|
||||
$invoice = Invoice::find($id);
|
||||
$url = strtolower('invoice-'.$invoice->internal_id.'.pdf');
|
||||
$url = strtolower($invoice->internal_id.$invoice->customer->company_name.'.pdf');
|
||||
|
||||
Pdf::view('pdf.invoice', ['invoice' => $invoice])
|
||||
->withBrowsershot(function (Browsershot $browsershot) {
|
||||
|
@ -25,7 +25,7 @@
|
||||
| or any other location as required by the application or its packages.
|
||||
*/
|
||||
|
||||
'version' => '20250411',
|
||||
'version' => '20250413',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user