mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for expense export preview props
This commit is contained in:
parent
6972d4d4b0
commit
0877bdb6ea
@ -220,17 +220,17 @@ class ExpenseExport extends BaseExport
|
|||||||
// $entity['expense.client'] = $expense->client ? $expense->client->present()->name() : '';
|
// $entity['expense.client'] = $expense->client ? $expense->client->present()->name() : '';
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// if (in_array('expense.invoice_id', $this->input['report_keys'])) {
|
if (in_array('expense.invoice_id', $this->input['report_keys'])) {
|
||||||
// $entity['expense.invoice_id'] = $expense->invoice ? $expense->invoice->number : '';
|
$entity['expense.invoice_id'] = $expense->invoice ? $expense->invoice->number : '';
|
||||||
// }
|
}
|
||||||
|
|
||||||
// if (in_array('expense.category', $this->input['report_keys'])) {
|
// if (in_array('expense.category', $this->input['report_keys'])) {
|
||||||
// $entity['expense.category'] = $expense->category ? $expense->category->name : '';
|
// $entity['expense.category'] = $expense->category ? $expense->category->name : '';
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// if (in_array('expense.vendor_id', $this->input['report_keys'])) {
|
if (in_array('expense.vendor_id', $this->input['report_keys'])) {
|
||||||
// $entity['expense.vendor'] = $expense->vendor ? $expense->vendor->name : '';
|
$entity['expense.vendor'] = $expense->vendor ? $expense->vendor->name : '';
|
||||||
// }
|
}
|
||||||
|
|
||||||
// if (in_array('expense.payment_type_id', $this->input['report_keys'])) {
|
// if (in_array('expense.payment_type_id', $this->input['report_keys'])) {
|
||||||
// $entity['expense.payment_type_id'] = $expense->payment_type ? $expense->payment_type->name : '';
|
// $entity['expense.payment_type_id'] = $expense->payment_type ? $expense->payment_type->name : '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user