Skip to content

Commit

Permalink
closed #804
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcoban committed Mar 28, 2019
1 parent 00da710 commit 3e500ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/ViewComposers/InvoiceText.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 3e500ec

Please sign in to comment.