Bug 23354: (RM follow-up) Correction for cash register selection
The form element for selectin cash register override at point of sale was misnamed and as such one could not actually override the cash register. This patch corrects the form element name and updates the logic very slighlty to ensure we still fall back to the defualt no the subsequent page load. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
8d8c5f7311
commit
98c53cd064
1 changed files with 3 additions and 3 deletions
|
@ -115,10 +115,10 @@
|
|||
[% PROCESS account_payment_types %]
|
||||
|
||||
<li>
|
||||
<label for="cash_register">Cash register: </label>
|
||||
<select name="cash_register" id="cash_register">
|
||||
<label for="registerid">Cash register: </label>
|
||||
<select name="registerid" id="registerid">
|
||||
[% FOREACH register IN registers %]
|
||||
[% IF register.id == registerid %]
|
||||
[% IF register.id == default_register %]
|
||||
<option value="[% register.id | html %]" selected="selected">[% register.name | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% register.id | html %]">[% register.name | html %]</option>
|
||||
|
|
Loading…
Reference in a new issue