Revision 6948a871
Von Werner Hahn vor 5 Monaten hinzugefügt
- ID 6948a871877bda3020709525174ec9c13b0606c5
- Vorgänger 222efaf4
templates/design40_webpages/ar/form_header.html | ||
---|---|---|
</td>
|
||
<td class="numeric">
|
||
[% IF row.changeable %]
|
||
<input name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]" size="11" type="text" data-validate="number" class="numeric">
|
||
<input name="paid_[% loop.count %]" id="payment_paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]" size="11" type="text" data-validate="number" class="numeric">
|
||
[% ELSE %]
|
||
[% row.paid | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
|
||
[% LxERP.format_amount(row.paid, 2) | html %]<input type="hidden" name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> [% defaultcurrency %]
|
||
[% END %]
|
||
</td>
|
||
<td>
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<th class="right">[% 'Total' | $T8 %]</th>
|
||
<td align="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% currency %] </td>
|
||
<td class="numeric">[% LxERP.format_amount(totalpaid, 2) | html %] [% currency %] </td>
|
||
<td></td>
|
||
[% IF show_exch %]
|
||
<td align="numeric">[% LxERP.format_amount(defaultcurrency_totalpaid, 2) | html %] [% defaultcurrency %]</td>
|
||
... | ... | |
</div><!-- ./tabwidget -->
|
||
|
||
<script type="text/javascript">
|
||
$('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
|
||
$('#ar_set_to_paid_missing').click(function(){ $('input[id^="payment_paid_"]:last').val("[% LxERP.format_amount(paid_missing, 2) %]") });
|
||
</script>
|
Auch abrufbar als: Unified diff
Debitorenbuchungen input eine ID gegeben, Zahlenformartierungen
behebt #734
Mit javascript jetzt die ID anstatt den Namen angesprochen, damit das
richtige Feld belegt wird