mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Hide recurring invoice number in transformer
This commit is contained in:
parent
cf3815240d
commit
7d0204033b
@ -91,7 +91,7 @@ class InvoiceTransformer extends EntityTransformer
|
||||
'invoice_status_id' => (int) $invoice->invoice_status_id,
|
||||
'updated_at' => $this->getTimestamp($invoice->updated_at),
|
||||
'archived_at' => $this->getTimestamp($invoice->deleted_at),
|
||||
'invoice_number' => $invoice->invoice_number,
|
||||
'invoice_number' => $invoice->is_recurring ? '' : $invoice->invoice_number,
|
||||
'discount' => (float) $invoice->discount,
|
||||
'po_number' => $invoice->po_number,
|
||||
'invoice_date' => $invoice->invoice_date,
|
||||
|
Loading…
Reference in New Issue
Block a user