1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Fix for invoice XLS export

This commit is contained in:
Hillel Coren 2016-03-04 15:46:28 +02:00
parent b719f243c2
commit 1d880f45a0

View File

@ -89,6 +89,8 @@ class ExportController extends BaseController
if ($key === 'quotes') {
$key = 'invoices';
$data['entityType'] = ENTITY_QUOTE;
} elseif ($key === 'recurringInvoices') {
$key = 'recurring_invoices';
}
$sheet->loadView("export.{$key}", $data);
});