Lines 190-199
Link Here
|
190 |
<select id="reason_[% adjustment.adjustment_id | html %]" name="reason"> |
190 |
<select id="reason_[% adjustment.adjustment_id | html %]" name="reason"> |
191 |
<option value="">No reason</option> |
191 |
<option value="">No reason</option> |
192 |
[% FOREACH reason IN reasons %] |
192 |
[% FOREACH reason IN reasons %] |
193 |
[% IF ( adjustment.reason == reason.authorised_value ) %] |
193 |
<option [% IF adjustment.reason == reason.authorised_value %]selected="selected"[% END %] value="[% reason.authorised_value | html %]"> [% reason.lib | html %] </option> |
194 |
[% SET selected_attr = 'selected="selected"' %] |
|
|
195 |
[% END %] |
196 |
<option [% IF foo %]selected="selected"[% END %] value="[% reason.authorised_value | html %]"> [% reason.lib | html %] </option> |
197 |
[% END %] |
194 |
[% END %] |
198 |
</select> |
195 |
</select> |
199 |
[% ELSE %] |
196 |
[% ELSE %] |
200 |
- |
|
|