1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Minor fix for bulk purchase order download file naming

This commit is contained in:
David Bomba 2023-02-17 09:58:49 +11:00
parent f38c3f93c6
commit 94670413ab

View File

@ -72,7 +72,7 @@ class ZipPurchaseOrders implements ShouldQueue
// create new zip object
$zipFile = new \PhpZip\ZipFile();
$file_name = date('Y-m-d').'_'.str_replace(' ', '_', trans('texts.invoices')).'.zip';
$file_name = date('Y-m-d').'_'.str_replace(' ', '_', trans('texts.purchase_orders')).'.zip';
$invitation = $this->purchase_orders->first()->invitations->first();
$path = $this->purchase_orders->first()->vendor->purchase_order_filepath($invitation);