Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #662 und #663 Debitorenbuchung Design40 Fehlbetrag setzen und Zah… #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions templates/design40_webpages/ar/form_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,12 @@ <h1>
[% END %]
</td>
<td class="numeric">
[% temp = "paid_"_ row %]
[% 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="[% temp %]" value="[% $temp | html %]" id="[%- 'payment_' _ temp -%]" 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 %]
[% $temp | html %] [% defaultcurrency %]
<input type="hidden" name="[% temp %]" value="[% 'Set to paid missing' | $T8 %]">
[% END %]
</td>
<td>
Expand Down Expand Up @@ -398,5 +400,5 @@ <h1>
</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>
Loading