@@ -, +, @@
---
.../prog/en/modules/acqui/supplier.tt | 26 ++++++++++++++-----
1 file changed, 19 insertions(+), 7 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt
@@ -580,13 +580,25 @@
n.append("");
n.append(``);
let ol = $('
');
- ol.append(``);
- ol.append(``);
- ol.append(``);
- ol.append(``);
- ol.append(``);
- ol.append(``);
- ol.append(``);
+ let attributes = [
+ { label: _("Name"), name: 'name', node: 'input' },
+ { label: _("Type"), name: 'type', node: 'input' },
+ { label: _("URI"), name: 'uri', node: 'input' },
+ { label: _("Login"), name: 'login', node: 'input' },
+ { label: _("Password"), name: 'password', node: 'input' },
+ { label: _("Account email"), name: 'account_email', node: 'input' },
+ { label: _("Notes"), name: 'notes', node: 'textarea' }
+ ];
+ attributes.forEach((attribute, ii) => {
+ let li = $('');
+ li.append(``);
+ if( attribute.node == 'input' ) {
+ li.append(``);
+ } else if ( attribute.node == 'textarea' ) {
+ li.append(``);
+ }
+ ol.append(li);
+ });
ol.append(``);
n.append(ol);
nodes.append(n);
--