Bug 29859: Fix currencies display

Oops!

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2022-02-11 10:24:15 +01:00 committed by Fridolin Somers
parent 0ee23d67c9
commit 189663ee08
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@
<input type="hidden" name="suggestionid" value="[% suggestionid | html %]" />
<input type="hidden" name="import_batch_id" value="[% import_batch_id | html %]" />
[% FOREACH c IN currencies.count %]
[% FOREACH c IN currencies %]
<input type="hidden" id="currency_rate_[% c.currency | html %]" name="[% c.currency | html %]" value="[% c.rate | html %]" />
[% END %]
@ -399,7 +399,7 @@
<li>
<label for="currency">Currency:</label>
<select name="currency" id="currency" onchange="updateCosts();">
[% FOREACH c IN currencies.count %]
[% FOREACH c IN currencies %]
[% IF ordernumber and c.currency == currency or not ordernumber and c.currency == vendor_currency %]
<option value="[% c.currency | html %]" selected="selected">[% c.currency | html %]</option>
[% ELSIF not c.archived %]