Lines 4-10
Link Here
|
4 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
5 |
[% USE Price %] |
5 |
[% USE Price %] |
6 |
[% USE ItemTypes %] |
6 |
[% USE ItemTypes %] |
7 |
[% SET footerjs = 1 %] |
|
|
8 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
<title>[% IF ( ordernumber ) %]Modify order details (line #[% ordernumber | html %])[% ELSE %]New order[% END %] › Basket [% basketno | html %] › Acquisitions › Koha</title> |
8 |
<title>[% IF ( ordernumber ) %]Modify order details (line #[% ordernumber | html %])[% ELSE %]New order[% END %] › Basket [% basketno | html %] › Acquisitions › Koha</title> |
10 |
[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 35-40
Link Here
|
35 |
} |
34 |
} |
36 |
</style> |
35 |
</style> |
37 |
[% END %] |
36 |
[% END %] |
|
|
37 |
[% Asset.js("js/acquisitions-menu.js") | $raw %] |
38 |
[% Asset.js("js/acq.js") | $raw %] |
39 |
[% Asset.js("js/additem.js") | $raw %] |
40 |
[% Asset.js("js/cataloging.js") | $raw %] |
41 |
[% INCLUDE 'calendar.inc' %] |
42 |
[% INCLUDE 'select2.inc' %] |
43 |
<script> |
44 |
actTotal = ""; |
45 |
|
46 |
function Check(ff) { |
47 |
[% IF (AcqCreateItemOrdering) %] |
48 |
// Remove last itemblock if it is not in items_list |
49 |
var lastitemblock = $("#outeritemblock > div:last"); |
50 |
var tobedeleted = true; |
51 |
var listitems = $("#items_list tr"); |
52 |
$(listitems).each(function(){ |
53 |
if($(this).attr('idblock') == $(lastitemblock).attr('id')){ |
54 |
tobedeleted = false; |
55 |
} |
56 |
}); |
57 |
if(tobedeleted){ |
58 |
$(lastitemblock).remove(); |
59 |
} |
60 |
[% END %] |
61 |
|
62 |
var ok=0; |
63 |
var _alertString= _("Form not submitted because of the following problem(s)")+"\n"; |
64 |
|
65 |
_alertString +="-------------------------------------------------------------------\n\n"; |
66 |
|
67 |
if(isNull(ff.budget_id,1)){ |
68 |
ok=1; |
69 |
_alertString += "\n- "+ _("You must select a fund"); |
70 |
} |
71 |
|
72 |
if (!(isNum(ff.quantity,0)) || ff.quantity.value == 0){ |
73 |
ok=1; |
74 |
_alertString += "\n- " + _("Quantity must be greater than '0'"); |
75 |
} |
76 |
|
77 |
if (!(isNum(ff.listprice,0))){ |
78 |
ok=1; |
79 |
_alertString += "\n- " + _("Vendor price must be a number"); |
80 |
} |
81 |
|
82 |
if (!(isNum(ff.total,0))){ |
83 |
ok=1; |
84 |
_alertString += "\n- " + _("Total must be a number"); |
85 |
} |
86 |
|
87 |
if (totalExceedsBudget(ff.budget_id.value, ff.total.value ) ) { |
88 |
ok=1; |
89 |
_alertString += "\n- " + _("Order total (%s) exceeds budget available (%s)").format(ff.total.value, actTotal); |
90 |
} |
91 |
|
92 |
if ( ff.field_value ) { |
93 |
var empty_item_mandatory = CheckMandatorySubfields(ff); |
94 |
if (empty_item_mandatory > 0) { |
95 |
ok = 1; |
96 |
_alertString += |
97 |
"\n- " + _("%s item mandatory fields empty").format(empty_item_mandatory); |
98 |
} |
99 |
|
100 |
} |
101 |
|
102 |
if (ok) { |
103 |
alert(_alertString); |
104 |
[% IF (AcqCreateItemOrdering) %] |
105 |
if(tobedeleted) { |
106 |
$(lastitemblock).appendTo('#outeritemblock'); |
107 |
} |
108 |
[% END %] |
109 |
return false; |
110 |
} |
111 |
|
112 |
[% IF (AcqCreateItemOrdering) %] |
113 |
if(check_additem('[% UniqueItemFields | html %]') == false) { |
114 |
alert(_("Duplicate values detected. Please correct the errors and resubmit.") ); |
115 |
if(tobedeleted) { |
116 |
$(lastitemblock).appendTo('#outeritemblock'); |
117 |
} |
118 |
return false; |
119 |
} |
120 |
[% END %] |
121 |
} |
122 |
|
123 |
$(document).ready(function(){ |
124 |
[% IF AcqCreateItemOrdering and not basket.is_standing %] |
125 |
cloneItemBlock(0, '[% UniqueItemFields | html %]'); |
126 |
[% END %] |
127 |
|
128 |
[% IF ( suggestionid ) %]updateCosts();[% END %] |
129 |
$("#quantity").change(function() { |
130 |
updateCosts(); |
131 |
}); |
132 |
|
133 |
//We apply the fonction only for modify option |
134 |
[% IF ( quantityrec and not subscriptionid ) %] |
135 |
[% IF ( acqcreate ) %] |
136 |
$('#quantity').blur(function(){ |
137 |
// if user decreases the quantity |
138 |
if($(this).val() < [% quantityrec | html %]){ |
139 |
alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog")); |
140 |
return true; |
141 |
} else { |
142 |
// if user increases the quantity |
143 |
alert(_("You can't add a new item, please create a new order line")); |
144 |
// and we replace the original value |
145 |
$(this).val([% quantityrec | html %]) |
146 |
updateCosts(); // blur is invoked after change which updated values |
147 |
return false; |
148 |
} |
149 |
}); |
150 |
[% END %] |
151 |
[% END %] |
152 |
|
153 |
//keep a copy of all budgets before removing the inactives |
154 |
disabledBudgetsCopy = $('#budget_id').html(); |
155 |
$('#budget_id .b_inactive').remove(); |
156 |
|
157 |
$('#showallbudgets').click(function() { |
158 |
if ($(this).is(":checked")) { |
159 |
$('#budget_id').html(disabledBudgetsCopy); //Puts back all the funds |
160 |
} |
161 |
else { |
162 |
$('#budget_id .b_inactive').remove(); |
163 |
} |
164 |
}); |
165 |
|
166 |
$("#budget_id").change(function(){ |
167 |
var destination_sort1 = $(this).parents('fieldset.rows').find('input[name="sort1"]'); |
168 |
var sort1_authcat = $(this).find("option:selected").attr('data-sort1-authcat'); |
169 |
var sort1 = $(destination_sort1).val() || ""; |
170 |
if ( destination_sort1.length < 1 ) { |
171 |
destination_sort1 = $(this).parents('fieldset.rows').find('select[name="sort1"]'); |
172 |
} |
173 |
var destination_sort2 = $(this).parents('fieldset.rows').find('input[name="sort2"]'); |
174 |
var sort2_authcat = $(this).find("option:selected").attr('data-sort2-authcat'); |
175 |
var sort2 = $(destination_sort2).val() || ""; |
176 |
if ( destination_sort2.length < 1 ) { |
177 |
destination_sort2 = $(this).parents('fieldset.rows').find('select[name="sort2"]'); |
178 |
} |
179 |
getAuthValueDropbox( 'sort1', sort1_authcat, destination_sort1, sort1 ); |
180 |
getAuthValueDropbox( 'sort2', sort2_authcat, destination_sort2, sort2 ); |
181 |
}); |
182 |
$("#budget_id").change(); |
183 |
}); |
184 |
|
185 |
function UserSearchPopup(f) { |
186 |
window.open( |
187 |
"/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add", |
188 |
'UserSearchPopup', |
189 |
'width=1024, height=768, scrollbars=yes, toolbar=no,' |
190 |
); |
191 |
} |
192 |
|
193 |
function add_user(borrowernumber, borrowername) { |
194 |
var ids = $("#users_ids").val(); |
195 |
if(ids.length > 0) { |
196 |
ids = ids.split(':'); |
197 |
} else { |
198 |
ids = new Array; |
199 |
} |
200 |
if (ids.indexOf(borrowernumber.toString()) < 0) { |
201 |
ids.push(borrowernumber); |
202 |
$("#users_ids").val(ids.join(':')); |
203 |
var li = '<li id="user_'+borrowernumber+'">'+borrowername |
204 |
+ ' [<a style="cursor:pointer" onclick="del_user('+borrowernumber+');">' |
205 |
+ _("Delete user") + '</a>]</li>'; |
206 |
$("#users_names").append(li); |
207 |
return 0; |
208 |
} |
209 |
return -1; |
210 |
} |
211 |
|
212 |
function del_user(borrowernumber) { |
213 |
$("#user_"+borrowernumber).remove(); |
214 |
var ids = $("#users_ids").val().split(':'); |
215 |
ids.splice(ids.indexOf(borrowernumber.toString()), 1); |
216 |
$("#users_ids").val(ids.join(':')); |
217 |
} |
218 |
</script> |
219 |
[% Asset.css("css/addbiblio.css") | $raw %] |
38 |
</head> |
220 |
</head> |
39 |
|
221 |
|
40 |
<body id="acq_neworderempty" class="acq"> |
222 |
<body id="acq_neworderempty" class="acq"> |
Lines 264-284
Link Here
|
264 |
[% IF biblionumber %] |
446 |
[% IF biblionumber %] |
265 |
<ol> |
447 |
<ol> |
266 |
[% FOREACH field IN catalog_details %] |
448 |
[% FOREACH field IN catalog_details %] |
267 |
<li> |
449 |
<li class="subfield_line"> |
268 |
<div class="subfield_line"> |
450 |
<label>[% field.lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> |
269 |
<label>[% field.lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> |
451 |
[% field.value | html %] |
270 |
[% field.value | html %] |
|
|
271 |
</div> |
272 |
</li> |
452 |
</li> |
273 |
[% END %] |
453 |
[% END %] |
274 |
</ol> |
454 |
</ol> |
275 |
[% ELSE %] |
455 |
[% ELSE %] |
276 |
<ol> |
456 |
<ol> |
277 |
[% FOREACH field IN catalog_details %] |
457 |
[% FOREACH field IN catalog_details %] |
278 |
<li> |
458 |
<li class="subfield_line"> |
279 |
<div class="subfield_line"> |
459 |
[% PROCESS display_subfield field=field %] |
280 |
[% PROCESS display_subfield field=field %] |
|
|
281 |
</div> |
282 |
</li> |
460 |
</li> |
283 |
[% END %] |
461 |
[% END %] |
284 |
</ol> |
462 |
</ol> |
Lines 564-789
Link Here
|
564 |
</div> <!-- /.row --> |
742 |
</div> <!-- /.row --> |
565 |
|
743 |
|
566 |
[% MACRO jsinclude BLOCK %] |
744 |
[% MACRO jsinclude BLOCK %] |
567 |
[% Asset.js("js/acquisitions-menu.js") | $raw %] |
|
|
568 |
[% Asset.js("js/acq.js") | $raw %] |
569 |
[% Asset.js("js/additem.js") | $raw %] |
570 |
[% Asset.js("js/cataloging.js") | $raw %] |
571 |
[% INCLUDE 'calendar.inc' %] |
572 |
[% INCLUDE 'select2.inc' %] |
573 |
<script> |
574 |
actTotal = ""; |
575 |
|
576 |
function Check(ff) { |
577 |
[% IF (AcqCreateItemOrdering) %] |
578 |
// Remove last itemblock if it is not in items_list |
579 |
var lastitemblock = $("#outeritemblock > div:last"); |
580 |
var tobedeleted = true; |
581 |
var listitems = $("#items_list tr"); |
582 |
$(listitems).each(function(){ |
583 |
if($(this).attr('idblock') == $(lastitemblock).attr('id')){ |
584 |
tobedeleted = false; |
585 |
} |
586 |
}); |
587 |
if(tobedeleted){ |
588 |
$(lastitemblock).remove(); |
589 |
} |
590 |
[% END %] |
591 |
|
592 |
var ok=0; |
593 |
var _alertString= _("Form not submitted because of the following problem(s)")+"\n"; |
594 |
|
595 |
_alertString +="-------------------------------------------------------------------\n\n"; |
596 |
|
597 |
if(isNull(ff.budget_id,1)){ |
598 |
ok=1; |
599 |
_alertString += "\n- "+ _("You must select a fund"); |
600 |
} |
601 |
|
602 |
if (!(isNum(ff.quantity,0)) || ff.quantity.value == 0){ |
603 |
ok=1; |
604 |
_alertString += "\n- " + _("Quantity must be greater than '0'"); |
605 |
} |
606 |
|
607 |
if (!(isNum(ff.listprice,0))){ |
608 |
ok=1; |
609 |
_alertString += "\n- " + _("Vendor price must be a number"); |
610 |
} |
611 |
|
612 |
if (!(isNum(ff.total,0))){ |
613 |
ok=1; |
614 |
_alertString += "\n- " + _("Total must be a number"); |
615 |
} |
616 |
|
617 |
if (totalExceedsBudget(ff.budget_id.value, ff.total.value ) ) { |
618 |
ok=1; |
619 |
_alertString += "\n- " + _("Order total (%s) exceeds budget available (%s)").format(ff.total.value, actTotal); |
620 |
} |
621 |
|
622 |
if ( ff.field_value ) { |
623 |
var empty_item_mandatory = CheckMandatorySubfields(ff); |
624 |
if (empty_item_mandatory > 0) { |
625 |
ok = 1; |
626 |
_alertString += |
627 |
"\n- " + _("%s item mandatory fields empty").format(empty_item_mandatory); |
628 |
} |
629 |
|
630 |
} |
631 |
|
632 |
if (ok) { |
633 |
alert(_alertString); |
634 |
[% IF (AcqCreateItemOrdering) %] |
635 |
if(tobedeleted) { |
636 |
$(lastitemblock).appendTo('#outeritemblock'); |
637 |
} |
638 |
[% END %] |
639 |
return false; |
640 |
} |
641 |
|
642 |
[% IF (AcqCreateItemOrdering) %] |
643 |
if(check_additem('[% UniqueItemFields | html %]') == false) { |
644 |
alert(_("Duplicate values detected. Please correct the errors and resubmit.") ); |
645 |
if(tobedeleted) { |
646 |
$(lastitemblock).appendTo('#outeritemblock'); |
647 |
} |
648 |
return false; |
649 |
} |
650 |
[% END %] |
651 |
} |
652 |
|
653 |
$(document).ready(function(){ |
654 |
[% IF AcqCreateItemOrdering and not basket.is_standing %] |
655 |
cloneItemBlock(0, '[% UniqueItemFields | html %]'); |
656 |
[% END %] |
657 |
|
658 |
[% IF ( suggestionid ) %]updateCosts();[% END %] |
659 |
$("#quantity").change(function() { |
660 |
updateCosts(); |
661 |
}); |
662 |
|
663 |
//We apply the fonction only for modify option |
664 |
[% IF ( quantityrec and not subscriptionid ) %] |
665 |
[% IF ( acqcreate ) %] |
666 |
$('#quantity').blur(function(){ |
667 |
// if user decreases the quantity |
668 |
if($(this).val() < [% quantityrec | html %]){ |
669 |
alert(_("You have deleted item(s) in the order, don't forget to delete it(them) in the catalog")); |
670 |
return true; |
671 |
} else { |
672 |
// if user increases the quantity |
673 |
alert(_("You can't add a new item, please create a new order line")); |
674 |
// and we replace the original value |
675 |
$(this).val([% quantityrec | html %]) |
676 |
updateCosts(); // blur is invoked after change which updated values |
677 |
return false; |
678 |
} |
679 |
}); |
680 |
[% END %] |
681 |
[% END %] |
682 |
|
683 |
//keep a copy of all budgets before removing the inactives |
684 |
disabledBudgetsCopy = $('#budget_id').html(); |
685 |
$('#budget_id .b_inactive').remove(); |
686 |
|
687 |
$('#showallbudgets').click(function() { |
688 |
if ($(this).is(":checked")) { |
689 |
$('#budget_id').html(disabledBudgetsCopy); //Puts back all the funds |
690 |
} |
691 |
else { |
692 |
$('#budget_id .b_inactive').remove(); |
693 |
} |
694 |
}); |
695 |
|
696 |
$("#budget_id").change(function(){ |
697 |
var destination_sort1 = $(this).parents('fieldset.rows').find('input[name="sort1"]'); |
698 |
var sort1_authcat = $(this).find("option:selected").attr('data-sort1-authcat'); |
699 |
var sort1 = $(destination_sort1).val() || ""; |
700 |
if ( destination_sort1.length < 1 ) { |
701 |
destination_sort1 = $(this).parents('fieldset.rows').find('select[name="sort1"]'); |
702 |
} |
703 |
var destination_sort2 = $(this).parents('fieldset.rows').find('input[name="sort2"]'); |
704 |
var sort2_authcat = $(this).find("option:selected").attr('data-sort2-authcat'); |
705 |
var sort2 = $(destination_sort2).val() || ""; |
706 |
if ( destination_sort2.length < 1 ) { |
707 |
destination_sort2 = $(this).parents('fieldset.rows').find('select[name="sort2"]'); |
708 |
} |
709 |
getAuthValueDropbox( 'sort1', sort1_authcat, destination_sort1, sort1 ); |
710 |
getAuthValueDropbox( 'sort2', sort2_authcat, destination_sort2, sort2 ); |
711 |
}); |
712 |
$("#budget_id").change(); |
713 |
}); |
714 |
|
715 |
function UserSearchPopup(f) { |
716 |
window.open( |
717 |
"/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add", |
718 |
'UserSearchPopup', |
719 |
'width=1024, height=768, scrollbars=yes, toolbar=no,' |
720 |
); |
721 |
} |
722 |
|
723 |
function add_user(borrowernumber, borrowername) { |
724 |
var ids = $("#users_ids").val(); |
725 |
if(ids.length > 0) { |
726 |
ids = ids.split(':'); |
727 |
} else { |
728 |
ids = new Array; |
729 |
} |
730 |
if (ids.indexOf(borrowernumber.toString()) < 0) { |
731 |
ids.push(borrowernumber); |
732 |
$("#users_ids").val(ids.join(':')); |
733 |
var li = '<li id="user_'+borrowernumber+'">'+borrowername |
734 |
+ ' [<a style="cursor:pointer" onclick="del_user('+borrowernumber+');">' |
735 |
+ _("Delete user") + '</a>]</li>'; |
736 |
$("#users_names").append(li); |
737 |
return 0; |
738 |
} |
739 |
return -1; |
740 |
} |
741 |
|
742 |
function del_user(borrowernumber) { |
743 |
$("#user_"+borrowernumber).remove(); |
744 |
var ids = $("#users_ids").val().split(':'); |
745 |
ids.splice(ids.indexOf(borrowernumber.toString()), 1); |
746 |
$("#users_ids").val(ids.join(':')); |
747 |
} |
748 |
</script> |
749 |
[% END %] |
745 |
[% END %] |
750 |
|
746 |
|
751 |
[% INCLUDE 'intranet-bottom.inc' %] |
747 |
[% INCLUDE 'intranet-bottom.inc' %] |
752 |
|
748 |
|
753 |
[% BLOCK display_subfield %] |
749 |
[% BLOCK display_subfield %] |
754 |
<label>[% field.lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> |
750 |
<label>[% field.marc_lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> |
755 |
[% IF field.authorised_value %] |
751 |
|
756 |
[% SWITCH field.authorised_value %] |
752 |
[% SET mv = field.marc_value %] |
757 |
[% CASE 'branches' %] |
753 |
[% IF ( mv.type == 'text' ) %] |
758 |
[% IF field.mandatory %] |
754 |
[% IF ( mv.readonly == 1 ) %] |
759 |
<select name="bib_field_value" required="required"> |
755 |
<input type="text" id="[%- mv.id | html -%]" name="bib_field_value" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" /> |
|
|
756 |
[% ELSE %] |
757 |
<input type="text" id="[%- mv.id | html -%]" name="bib_field_value" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" /> |
758 |
[% END %] |
759 |
|
760 |
[% ELSIF ( mv.type == 'text_complex' ) %] |
761 |
<input type="text" id="[%- mv.id | html -%]" name="bib_field_value" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" /> |
762 |
[% mv.javascript | $raw %] |
763 |
[% ELSIF ( mv.type == 'hidden' ) %] |
764 |
<input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="bib_field_value" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" /> |
765 |
[% ELSIF ( mv.type == 'textarea' ) %] |
766 |
<textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="bib_field_value" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea> |
767 |
[% ELSIF ( mv.type == 'select' ) %] |
768 |
<select name="bib_field_value" tabindex="1" class="input_marceditor select2" id="[%- mv.id | html -%]"> |
769 |
[% FOREACH aval IN mv.values %] |
770 |
[% IF aval == mv.default %] |
771 |
<option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option> |
760 |
[% ELSE %] |
772 |
[% ELSE %] |
761 |
<select name="bib_field_value"> |
773 |
<option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option> |
762 |
[% END %] |
774 |
[% END %] |
763 |
<option value=""></option> |
775 |
[% END %] |
764 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => "FIXME" ) %] |
776 |
</select> |
765 |
</select> |
777 |
[% END # /IF (mv.type...) %] |
766 |
[% CASE 'itemtypes' %] |
778 |
|
767 |
[% IF field.mandatory %] |
779 |
<div class="subfield_controls"> |
768 |
<select name="bib_field_value" required="required"> |
780 |
[% IF ( mv.type == 'text_complex' ) %] |
|
|
781 |
[% IF mv.noclick %] |
782 |
<span class="buttonDot tag_editor disabled" tabindex="-1" title="Field autofilled by plugin"></span> |
769 |
[% ELSE %] |
783 |
[% ELSE %] |
770 |
<select name="bib_field_value"> |
784 |
[% IF mv.plugin == "upload.pl" %] |
|
|
785 |
<a href="#" id="buttonDot_[% mv.id | html %]" class="tag_editor upload framework_plugin" tabindex="1"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a> |
786 |
[% ELSE %] |
787 |
<a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a> |
788 |
[% END %] |
771 |
[% END %] |
789 |
[% END %] |
772 |
<option value=""></option> |
|
|
773 |
[% PROCESS options_for_item_types itemtypes => ItemTypes.Get(), selected_itemtype => "FIXME" %] |
774 |
</select> |
775 |
[% CASE 'cn_source' %] |
776 |
[% CASE %] |
777 |
[% PROCESS 'av-build-dropbox.inc' name="bib_field_value", category=field.authorised_value, default="FIXME" %] |
778 |
[% END %] |
779 |
[% ELSE %] |
780 |
[% IF field.mandatory %] |
781 |
<input type="text" name="bib_field_value" value="[% field.value | html %]" required="required" size="50" /> |
782 |
[% ELSE %] |
783 |
<input type="text" name="bib_field_value" value="[% field.value | html %]" size="50" /> |
784 |
[% END %] |
790 |
[% END %] |
|
|
791 |
</div> |
785 |
|
792 |
|
786 |
[% END %] |
|
|
787 |
<input type="hidden" name="bib_kohafield" value="[% field.kohafield | html %]" /> |
793 |
<input type="hidden" name="bib_kohafield" value="[% field.kohafield | html %]" /> |
788 |
<input type="hidden" name="bib_tag" value="[% field.tag | html %]" /> |
794 |
<input type="hidden" name="bib_tag" value="[% field.tag | html %]" /> |
789 |
<input type="hidden" name="bib_subfield" value="[% field.subfield | html %]" /> |
795 |
<input type="hidden" name="bib_subfield" value="[% field.subfield | html %]" /> |