|
Lines 95-103
Link Here
|
| 95 |
<span>New account</span> |
95 |
<span>New account</span> |
| 96 |
[% END %] |
96 |
[% END %] |
| 97 |
</h1> |
97 |
</h1> |
| 98 |
<fieldset class="rows"> |
|
|
| 99 |
<legend class="sr-only">Account details</legend> |
| 100 |
|
98 |
|
|
|
99 |
<!-- Basic Information --> |
| 100 |
<fieldset class="rows"> |
| 101 |
<legend>Basic Information</legend> |
| 101 |
<ol> |
102 |
<ol> |
| 102 |
<li> |
103 |
<li> |
| 103 |
<label for="vendor_id">Vendor: </label> |
104 |
<label for="vendor_id">Vendor: </label> |
|
Lines 111-116
Link Here
|
| 111 |
[% END %] |
112 |
[% END %] |
| 112 |
</select> |
113 |
</select> |
| 113 |
</li> |
114 |
</li> |
|
|
115 |
<li> |
| 116 |
<label for="description">Description: </label> |
| 117 |
<input type="text" name="description" id="description" size="20" value="[% account.description | html %]" /> |
| 118 |
</li> |
| 114 |
[% IF plugins %] |
119 |
[% IF plugins %] |
| 115 |
<li> |
120 |
<li> |
| 116 |
<label for="plugin">Plugin: </label> |
121 |
<label for="plugin">Plugin: </label> |
|
Lines 129-137
Link Here
|
| 129 |
<input type="hidden" name="plugin" value="" /> |
134 |
<input type="hidden" name="plugin" value="" /> |
| 130 |
[% END %] |
135 |
[% END %] |
| 131 |
<li> |
136 |
<li> |
| 132 |
<label for="description">Description: </label> |
137 |
<label for="id_code_qualifier">Qualifier:</label> |
| 133 |
<input type="text" name="description" id="description" size="20" value="[% account.description | html %]" /> |
138 |
<select name="id_code_qualifier" id="id_code_qualifier"> |
|
|
139 |
[% FOREACH qualifier IN code_qualifiers %] |
| 140 |
[% IF qualifier.code == account.id_code_qualifier %] |
| 141 |
<option value="[% qualifier.code | html %]" selected="selected"> [% qualifier.description | html %] ([% qualifier.code | html %]) </option> |
| 142 |
[% ELSE %] |
| 143 |
<option value="[% qualifier.code | html %]"> [% qualifier.description | html %] ([% qualifier.code | html %]) </option> |
| 144 |
[% END %] |
| 145 |
[% END %] |
| 146 |
</select> |
| 147 |
</li> |
| 148 |
<li> |
| 149 |
<label for="san">SAN: </label> |
| 150 |
<input type="text" name="san" id="san" size="20" maxlength="20" value="[% account.san | html %]" /> |
| 151 |
</li> |
| 152 |
<li> |
| 153 |
<label for="standard">Standard:</label> |
| 154 |
<select name="standard" id="standard"> |
| 155 |
[% FOREACH standard IN standards %] |
| 156 |
[% IF standard == 'BIC' %] |
| 157 |
[% SET description = 'BiC' %] |
| 158 |
[% ELSE %] |
| 159 |
[% SET description = 'EDItEUR' %] |
| 160 |
[% END %] |
| 161 |
[% IF standard == account.standard %] |
| 162 |
<option value="[% standard | html %]" selected="selected"> [% description | html %] </option> |
| 163 |
[% ELSE %] |
| 164 |
<option value="[% standard | html %]"> [% description | html %] </option> |
| 165 |
[% END %] |
| 166 |
[% END %] |
| 167 |
</select> |
| 134 |
</li> |
168 |
</li> |
|
|
169 |
</ol> |
| 170 |
</fieldset> |
| 171 |
|
| 172 |
<!-- Transport Settings --> |
| 173 |
<fieldset class="rows"> |
| 174 |
<legend>Transport Settings</legend> |
| 175 |
<ol> |
| 135 |
<li> |
176 |
<li> |
| 136 |
[% transport_types = [ 'FTP', 'SFTP', 'FILE' ] %] |
177 |
[% transport_types = [ 'FTP', 'SFTP', 'FILE' ] %] |
| 137 |
<label for="transport">Transport: </label> |
178 |
<label for="transport">Transport: </label> |
|
Lines 177-215
Link Here
|
| 177 |
<input type="text" name="upload_directory" id="upload_directory" size="20" value="[% account.upload_directory | html %]" /> |
218 |
<input type="text" name="upload_directory" id="upload_directory" size="20" value="[% account.upload_directory | html %]" /> |
| 178 |
<div class="hint">The upload directory specifies the directory on the ftp site to which orders are uploaded.</div> |
219 |
<div class="hint">The upload directory specifies the directory on the ftp site to which orders are uploaded.</div> |
| 179 |
</li> |
220 |
</li> |
| 180 |
<li> |
221 |
</ol> |
| 181 |
<label for="id_code_qualifier">Qualifier:</label> |
222 |
</fieldset> |
| 182 |
<select name="id_code_qualifier" id="id_code_qualifier"> |
223 |
|
| 183 |
[% FOREACH qualifier IN code_qualifiers %] |
224 |
<!-- Message Types --> |
| 184 |
[% IF qualifier.code == account.id_code_qualifier %] |
225 |
<fieldset class="rows"> |
| 185 |
<option value="[% qualifier.code | html %]" selected="selected"> [% qualifier.description | html %] ([% qualifier.code | html %]) </option> |
226 |
<legend>Message Types</legend> |
| 186 |
[% ELSE %] |
227 |
<ol> |
| 187 |
<option value="[% qualifier.code | html %]"> [% qualifier.description | html %] ([% qualifier.code | html %]) </option> |
|
|
| 188 |
[% END %] |
| 189 |
[% END %] |
| 190 |
</select> |
| 191 |
</li> |
| 192 |
<li> |
| 193 |
<label for="san">SAN: </label> |
| 194 |
<input type="text" name="san" id="san" size="20" maxlength="20" value="[% account.san | html %]" /> |
| 195 |
</li> |
| 196 |
<li> |
| 197 |
<label for="standard">Standard:</label> |
| 198 |
<select name="standard" id="standard"> |
| 199 |
[% FOREACH standard IN standards %] |
| 200 |
[% IF standard == 'BIC' %] |
| 201 |
[% SET description = 'BiC' %] |
| 202 |
[% ELSE %] |
| 203 |
[% SET description = 'EDItEUR' %] |
| 204 |
[% END %] |
| 205 |
[% IF standard == account.standard %] |
| 206 |
<option value="[% standard | html %]" selected="selected"> [% description | html %] </option> |
| 207 |
[% ELSE %] |
| 208 |
<option value="[% standard | html %]"> [% description | html %] </option> |
| 209 |
[% END %] |
| 210 |
[% END %] |
| 211 |
</select> |
| 212 |
</li> |
| 213 |
<li> |
228 |
<li> |
| 214 |
<label for="quotes_enabled">Quotes enabled: </label> |
229 |
<label for="quotes_enabled">Quotes enabled: </label> |
| 215 |
[% IF account.quotes_enabled %] |
230 |
[% IF account.quotes_enabled %] |
|
Lines 242-247
Link Here
|
| 242 |
<input type="checkbox" name="responses_enabled" id="responses_enabled" value="1" /> |
257 |
<input type="checkbox" name="responses_enabled" id="responses_enabled" value="1" /> |
| 243 |
[% END %] |
258 |
[% END %] |
| 244 |
</li> |
259 |
</li> |
|
|
260 |
</ol> |
| 261 |
</fieldset> |
| 262 |
|
| 263 |
<!-- Functional Switches --> |
| 264 |
<fieldset class="rows"> |
| 265 |
<legend>Functional Switches</legend> |
| 266 |
<ol> |
| 245 |
<li> |
267 |
<li> |
| 246 |
<label for="auto_orders">Automatic ordering: </label> |
268 |
<label for="auto_orders">Automatic ordering: </label> |
| 247 |
[% IF account.auto_orders %] |
269 |
[% IF account.auto_orders %] |
|
Lines 251-256
Link Here
|
| 251 |
[% END %] |
273 |
[% END %] |
| 252 |
<div class="hint"> With automatic ordering quotes generate orders without staff intervention. </div> |
274 |
<div class="hint"> With automatic ordering quotes generate orders without staff intervention. </div> |
| 253 |
</li> |
275 |
</li> |
|
|
276 |
<li> |
| 277 |
<label for="po_is_basketname">Use purchase order numbers: </label> |
| 278 |
[% IF account.po_is_basketname %] |
| 279 |
<input type="checkbox" name="po_is_basketname" id="po_is_basketname" value="1" checked="checked" /> |
| 280 |
[% ELSE %] |
| 281 |
<input type="checkbox" name="po_is_basketname" id="po_is_basketname" value="1" /> |
| 282 |
[% END %] |
| 283 |
<div class="hint"> |
| 284 |
When enabled, basket names are used as purchase order numbers. <br />For received QUOTE messages, we will use the RFF+ON field to populate the basket name. <br />For generated ORDER messages, we will use the |
| 285 |
basket name to populate the BGM segment.</div |
| 286 |
> |
| 287 |
</li> |
| 254 |
</ol> |
288 |
</ol> |
| 255 |
</fieldset> |
289 |
</fieldset> |
| 256 |
|
290 |
|
| 257 |
- |
|
|