Revert "closed #804"
This reverts commit 8773df6177cb7690492ff67534001b5086e4029b.
This commit is contained in:
parent
9466551f0f
commit
627a8ae13e
@ -17,19 +17,19 @@ class InvoiceText
|
||||
{
|
||||
$text_override = [];
|
||||
|
||||
$text_items = setting('general.invoice_item', 'general.items');
|
||||
$text_items = setting('general.invoice_item', trans_choice('general.items', 2));
|
||||
|
||||
if ($text_items == 'custom') {
|
||||
$text_items = setting('general.invoice_item_input');
|
||||
}
|
||||
|
||||
$text_quantity = setting('general.invoice_quantity', 'invoices.quantity');
|
||||
$text_quantity = setting('general.invoice_quantity', trans('invoices.quantity'));
|
||||
|
||||
if ($text_quantity == 'custom') {
|
||||
$text_quantity = setting('general.invoice_quantity_input');
|
||||
}
|
||||
|
||||
$text_price = setting('general.invoice_price', 'invoices.price');
|
||||
$text_price = setting('general.invoice_price', trans('invoices.price'));
|
||||
|
||||
if ($text_price == 'custom') {
|
||||
$text_price = setting('general.invoice_price_input');
|
||||
|
Loading…
x
Reference in New Issue
Block a user