mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:44:33 -04:00
Added own language label for net_subtotal and already included it in the English and German translation
This commit is contained in:
parent
ce696f7950
commit
2f13a8a323
@ -167,7 +167,7 @@ class HtmlEngine
|
|||||||
$data['$invoice.discount'] = ['value' => Number::formatMoney($this->entity_calc->getTotalDiscount(), $this->client) ?: ' ', 'label' => ctrans('texts.discount')];
|
$data['$invoice.discount'] = ['value' => Number::formatMoney($this->entity_calc->getTotalDiscount(), $this->client) ?: ' ', 'label' => ctrans('texts.discount')];
|
||||||
$data['$discount'] = &$data['$invoice.discount'];
|
$data['$discount'] = &$data['$invoice.discount'];
|
||||||
$data['$subtotal'] = ['value' => Number::formatMoney($this->entity_calc->getSubTotal(), $this->client) ?: ' ', 'label' => ctrans('texts.subtotal')];
|
$data['$subtotal'] = ['value' => Number::formatMoney($this->entity_calc->getSubTotal(), $this->client) ?: ' ', 'label' => ctrans('texts.subtotal')];
|
||||||
$data['$net_subtotal'] = ['value' => Number::formatMoney(($this->entity_calc->getSubTotal() - $this->entity->total_taxes), $this->client) ?: ' ', 'label' => ctrans('texts.subtotal')];
|
$data['$net_subtotal'] = ['value' => Number::formatMoney(($this->entity_calc->getSubTotal() - $this->entity->total_taxes), $this->client) ?: ' ', 'label' => ctrans('texts.net_subtotal')];
|
||||||
$data['$invoice.subtotal'] = &$data['$subtotal'];
|
$data['$invoice.subtotal'] = &$data['$subtotal'];
|
||||||
|
|
||||||
if ($this->entity->partial > 0) {
|
if ($this->entity->partial > 0) {
|
||||||
|
@ -41,6 +41,7 @@ $LANG = array(
|
|||||||
'quantity' => 'Menge',
|
'quantity' => 'Menge',
|
||||||
'line_total' => 'Summe',
|
'line_total' => 'Summe',
|
||||||
'subtotal' => 'Zwischensumme',
|
'subtotal' => 'Zwischensumme',
|
||||||
|
'net_subtotal' => 'Netto',
|
||||||
'paid_to_date' => 'Bereits gezahlt',
|
'paid_to_date' => 'Bereits gezahlt',
|
||||||
'balance_due' => 'Offener Betrag',
|
'balance_due' => 'Offener Betrag',
|
||||||
'invoice_design_id' => 'Design',
|
'invoice_design_id' => 'Design',
|
||||||
|
@ -41,6 +41,7 @@ $LANG = array(
|
|||||||
'quantity' => 'Quantity',
|
'quantity' => 'Quantity',
|
||||||
'line_total' => 'Line Total',
|
'line_total' => 'Line Total',
|
||||||
'subtotal' => 'Subtotal',
|
'subtotal' => 'Subtotal',
|
||||||
|
'net_subtotal' => 'Net',
|
||||||
'paid_to_date' => 'Paid to Date',
|
'paid_to_date' => 'Paid to Date',
|
||||||
'balance_due' => 'Balance Due',
|
'balance_due' => 'Balance Due',
|
||||||
'invoice_design_id' => 'Design',
|
'invoice_design_id' => 'Design',
|
||||||
|
@ -41,6 +41,7 @@ $LANG = array(
|
|||||||
'quantity' => 'Quantity',
|
'quantity' => 'Quantity',
|
||||||
'line_total' => 'Line Total',
|
'line_total' => 'Line Total',
|
||||||
'subtotal' => 'Subtotal',
|
'subtotal' => 'Subtotal',
|
||||||
|
'net_subtotal' => 'Net',
|
||||||
'paid_to_date' => 'Paid to Date',
|
'paid_to_date' => 'Paid to Date',
|
||||||
'balance_due' => 'Balance Due',
|
'balance_due' => 'Balance Due',
|
||||||
'invoice_design_id' => 'Design',
|
'invoice_design_id' => 'Design',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user