$html .= SL::Presenter->input_tag('invoice_ids.' . $::form->{bt_id} . '[]', $::form->{prop_id} , type => 'hidden');
# better in template code - but how to ajax this
$html .= SL::Presenter->escape(t8('Invno.') . ': ' . $invoice->invnumber . ' ');
- $html .= SL::Presenter->escape(t8('Amount') . ': ' . $::form->format_amount(\%::myconfig, $invoice->open_amount, 2) . ' ');
+ $html .= SL::Presenter->escape(t8('Open amount') . ': ' . $::form->format_amount(\%::myconfig, $invoice->open_amount, 2) . ' ');
$html .= SL::Presenter->select_tag('invoice_skontos.' . $::form->{bt_id} . '[]', \@select_options,
value_key => 'payment_type',
title_key => 'display' ) if @select_options;
<div id="[% bt_id %].[% invoice.id %]">
[% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
[% 'Invno.' | $T8 %]: [% invoice.invnumber %]
- [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
+ [% 'Open amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
<a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
</div>
[% END %]