Bug 38714: acqui/invoice.tt

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-12-16 10:13:43 +01:00 committed by Katrin Fischer
parent e69f726395
commit 46f7158f44
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 4 deletions

View File

@ -188,12 +188,11 @@
<option value="">No reason</option>
[% FOREACH reason IN reasons %]
[% IF ( adjustment.reason == reason.authorised_value ) %]
<option selected="selected" value="[% reason.authorised_value | html %]">
[% ELSE %]
<option value="[% reason.authorised_value | html %]">
[% SET selected_attr = 'selected="selected"' %]
[% END %]
<option [% IF foo %]selected="selected"[% END %] value="[% reason.authorised_value | html %]">
[% reason.lib | html %]
</option>
</option>
[% END %]
</select>
[% ELSE %]