1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #2660 from OXINARF/#2114-Add_more_labels

Account: allow to set more custom Invoice labels
This commit is contained in:
Hillel Coren 2019-02-10 13:41:44 +02:00 committed by GitHub
commit 1da78d8f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,38 +237,91 @@ class Account extends Eloquent
];
public static $customLabels = [
'address1',
'address2',
'amount',
'amount_paid',
'balance',
'balance_due',
'blank',
'city_state_postal',
'client_name',
'company_name',
'contact_name',
'country',
'credit_card',
'credit_date',
'credit_issued_to',
'credit_note',
'credit_number',
'credit_to',
'custom_value1',
'custom_value2',
'date',
'delivery_note',
'description',
'details',
'discount',
'due_date',
'gateway_fee_item',
'email',
'from',
'gateway_fee_description',
'gateway_fee_discount_description',
'gateway_fee_item',
'hours',
'id_number',
'invoice',
'invoice_date',
'invoice_due_date',
'invoice_issued_to',
'invoice_no',
'invoice_number',
'invoice_to',
'invoice_total',
'item',
'line_total',
'method',
'outstanding',
'paid_to_date',
'partial_due',
'payment_date',
'phone',
'po_number',
'postal_city_state',
'product_key',
'quantity',
'quote',
'quote_date',
'quote_due_date',
'quote_issued_to',
'quote_no',
'quote_number',
'quote_to',
'rate',
'reference',
'service',
'statement',
'statement_date',
'statement_issued_to',
'statement_to',
'subtotal',
'surcharge',
'tax',
'tax_invoice',
'tax_quote',
'taxes',
'terms',
'to',
'total',
'unit_cost',
'valid_until',
'vat_number',
'website',
'work_phone',
'your_credit',
'your_invoice',
'your_quote',
'your_statement',
];
public static $customMessageTypes = [