Bug 29859: Fix currencies display
Oops! Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
0ee23d67c9
commit
189663ee08
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue