mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge pull request #4307 from beganovich/v5-update-terminology
(v5) Update terminology in PDFs
This commit is contained in:
commit
7234bec7e3
@ -296,8 +296,8 @@ class HtmlEngine
|
||||
$data['$product.date'] = ['value' => '', 'label' => ctrans('texts.date')];
|
||||
$data['$product.discount'] = ['value' => '', 'label' => ctrans('texts.discount')];
|
||||
$data['$product.product_key'] = ['value' => '', 'label' => ctrans('texts.product_key')];
|
||||
$data['$product.notes'] = ['value' => '', 'label' => ctrans('texts.notes')];
|
||||
$data['$product.cost'] = ['value' => '', 'label' => ctrans('texts.cost')];
|
||||
$data['$product.description'] = ['value' => '', 'label' => ctrans('texts.description')];
|
||||
$data['$product.unit_cost'] = ['value' => '', 'label' => ctrans('texts.unit_cost')];
|
||||
$data['$product.quantity'] = ['value' => '', 'label' => ctrans('texts.quantity')];
|
||||
$data['$product.tax_name1'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
$data['$product.tax'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
@ -308,7 +308,7 @@ class HtmlEngine
|
||||
$data['$task.date'] = ['value' => '', 'label' => ctrans('texts.date')];
|
||||
$data['$task.discount'] = ['value' => '', 'label' => ctrans('texts.discount')];
|
||||
$data['$task.product_key'] = ['value' => '', 'label' => ctrans('texts.product_key')];
|
||||
$data['$task.notes'] = ['value' => '', 'label' => ctrans('texts.notes')];
|
||||
$data['$task.description'] = ['value' => '', 'label' => ctrans('texts.description')];
|
||||
$data['$task.rate'] = ['value' => '', 'label' => ctrans('texts.rate')];
|
||||
$data['$task.hours'] = ['value' => '', 'label' => ctrans('texts.hours')];
|
||||
$data['$task.tax'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
|
@ -617,14 +617,14 @@ trait MakesInvoiceValues
|
||||
}
|
||||
|
||||
$data[$key][$table_type.'.product_key'] = $item->product_key;
|
||||
$data[$key][$table_type.'.notes'] = $item->notes;
|
||||
$data[$key][$table_type.'.description'] = $item->notes;
|
||||
$data[$key][$table_type.'.custom_value1'] = $item->custom_value1;
|
||||
$data[$key][$table_type.'.custom_value2'] = $item->custom_value2;
|
||||
$data[$key][$table_type.'.custom_value3'] = $item->custom_value3;
|
||||
$data[$key][$table_type.'.custom_value4'] = $item->custom_value4;
|
||||
$data[$key][$table_type.'.quantity'] = $item->quantity;
|
||||
|
||||
$data[$key][$table_type.'.cost'] = Number::formatMoney($item->cost, $this->client);
|
||||
$data[$key][$table_type.'.unit_cost'] = Number::formatMoney($item->cost, $this->client);
|
||||
$data[$key][$table_type.'.line_total'] = Number::formatMoney($item->line_total, $this->client);
|
||||
|
||||
if (isset($item->discount) && $item->discount > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user