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 creditors/debtors account not 'sticking' between Update-s #4599

Merged
merged 1 commit into from May 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion old/bin/aa.pl
Expand Up @@ -785,6 +785,8 @@ sub form_header {

$form->hide_form( "oldinvtotal", "oldtotalpaid", "taxaccounts" );

$selectARAP = $form->{"select$form->{ARAP}"};
$selectARAP =~ s/(\Qoption value="$form->{$form->{ARAP}}"\E)/$1 selected="selected"/;
print qq|
<tr class="transaction-line $form->{ARAP} total" id="line-total">
<th align=left>$form->{invtotal}</th>
Expand All @@ -793,7 +795,7 @@ sub form_header {
$form->{invtotal}
* $form->{exchangerate}, 2) : '') . qq|</td>
<td><select data-dojo-type="dijit/form/Select" name="$form->{ARAP}" id="$form->{ARAP}">
$form->{"select$form->{ARAP}"}
$selectARAP
</select></td>
</tr>
<tr>
Expand Down