diff --git a/app/Http/ViewComposers/InvoiceText.php b/app/Http/ViewComposers/InvoiceText.php index 3907aa5c3d..9436e067de 100644 --- a/app/Http/ViewComposers/InvoiceText.php +++ b/app/Http/ViewComposers/InvoiceText.php @@ -17,19 +17,19 @@ public function compose(View $view) { $text_override = []; - $text_items = setting('general.invoice_item', trans_choice('general.items', 2)); + $text_items = setting('general.invoice_item', 'general.items'); if ($text_items == 'custom') { $text_items = setting('general.invoice_item_input'); } - $text_quantity = setting('general.invoice_quantity', trans('invoices.quantity')); + $text_quantity = setting('general.invoice_quantity', 'invoices.quantity'); if ($text_quantity == 'custom') { $text_quantity = setting('general.invoice_quantity_input'); } - $text_price = setting('general.invoice_price', trans('invoices.price')); + $text_price = setting('general.invoice_price', 'invoices.price'); if ($text_price == 'custom') { $text_price = setting('general.invoice_price_input');