1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions ›
4 [% IF ( basketno ) %]Edit basket '[% basketname %]'
5 [% ELSE %]Add a basket to [% booksellername %]
9 [% INCLUDE 'doc-head-close.inc' %]
10 <script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
11 <script type="text/javascript">
13 // to check if the data are correctly entered.
16 var _alertString="Form not submitted because of the following problem(s)";
17 _alertString +="\n-------------------------------------------------------------------\n\n";
18 if (!(isNotNull(ff.basketname,0))){
20 _alertString += "- name missing\n";
22 if (ok) { // if there is a problem
32 <body id="acq_basketheader" class="acq">
33 [% INCLUDE 'header.inc' %]
34 [% INCLUDE 'acquisitions-search.inc' %]
36 <div id="breadcrumbs">
37 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
38 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
39 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
41 [% IF ( basketno ) %]Edit basket '[% basketname %]'
42 [% ELSE %]Add a basket to [% booksellername %]
47 <div id="doc" class="yui-t7">
54 <h1>Edit basket [% basketname %]</h1>
55 [% ELSE %]<h1>Add a basket to [% booksellername %]</h1>
57 <form name="Aform" action="[% script_name %]" method="post">
58 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
59 <fieldset class="rows">
63 <input type="hidden" name="basketno" value="[% basketno %]" />
64 <input type="hidden" name="is_an_edit" value="1" />
68 <label for="basketname" class="required">Basket name: </label>
69 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname %]" />
72 <label for="billingplace">Billing place:</label>
73 <select name="billingplace" id="billingplace">
74 <option value="">--</option>
75 [% FOREACH billingplace IN billingplaceloop %]
76 [% IF ( billingplace.selected ) %]
77 <option value="[% billingplace.value %]" selected="selected">
79 <option value="[% billingplace.value %]">
81 [% billingplace.branchname %]
87 <label for="deliveryplace">Delivery place:</label>
88 <select name="deliveryplace" id="deliveryplace">
89 <option value="">--</option>
90 [% FOREACH deliveryplace IN deliveryplaceloop %]
91 [% IF ( deliveryplace.selected ) %]
92 <option value="[% deliveryplace.value %]" selected="selected">
94 <option value="[% deliveryplace.value %]">
96 [% deliveryplace.branchname %]
102 <label for="basketbooksellerid">Vendor: </label>
103 <select name="basketbooksellerid" id="basketbooksellerid">
104 [% FOREACH b IN booksellers %]
105 [% IF booksellerid == b.id %]
106 <option value="[% b.id %]" selected="selected">[% b.name %]</option>
108 <option value="[% b.id %]">[% b.name %]</option>
114 <label for="basketnote">Internal note: </label>
115 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote %]</textarea>
118 <label for="basketbooksellernote">Vendor note: </label>
119 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote %]</textarea>
121 [% IF ( contractloop ) %]
122 <li><label for="basketcontractnumber">Contract: </label>
123 <select id="basketcontractnumber" name="basketcontractnumber">
124 <option value=""></option>
125 [% FOREACH contractloo IN contractloop %]
126 [% IF ( contractloo.selected ) %]
127 <option value="[% contractloo.contractnumber %]" selected="selected">[% contractloo.contractname %]</option>
129 <option value="[% contractloo.contractnumber %]">[% contractloo.contractname %]</option>
137 <fieldset class="action">
138 <input type="hidden" name="op" value="add_validate" />
139 <input type="button" value="Save" onclick="Check(this.form);" />
140 <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
147 [% INCLUDE 'intranet-bottom.inc' %]