1 [% INCLUDE 'doc-head-open.inc' %]
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
31 <style type="text/css">
33 div.workarea { padding:10px; float:left }
40 border: 1px solid gray;
59 The bottom padding provides the cushion that makes the empty
60 list targetable. Alternatively, we could leave the padding
61 off by default, adding it when we detect that the list is empty.
73 background-color: #D1E6EC;
74 border:1px solid #7EA6B2;
78 background-color: #D8D4E2;
79 border:1px solid #6B4C86;
82 #user_actions { float: right; }
87 <body id="acq_basketheader" class="acq">
88 [% INCLUDE 'header.inc' %]
89 [% INCLUDE 'acquisitions-search.inc' %]
91 <div id="breadcrumbs">
92 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
93 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
94 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
96 [% IF ( basketno ) %]Edit basket '[% basketname %]'
97 [% ELSE %]add a basket to [% booksellername %]
102 <div id="doc3" class="yui-t2">
109 [% IF ( add_form ) %]
110 [% IF ( basketno ) %]
111 <h1>Edit basket [% basketname %]</h1>
112 [% ELSE %]<h1>Add a basket to [% booksellername %]</h1>
114 <form name="Aform" action="[% script_name %]" method="post">
115 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
116 <fieldset class="rows">
118 [% IF ( basketno ) %]
120 <input type="hidden" name="basketno" value="[% basketno %]" />
121 <input type="hidden" name="is_an_edit" value="1" />
125 <label for="basketname" class="required">Basket name</label>
126 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname %]" />
129 <label for="billingplace">Billing Place:</label>
130 <select name="billingplace" id="billingplace">
131 <option value="">--</option>
132 [% FOREACH billingplace IN billingplaceloop %]
133 [% IF ( billingplace.selected ) %]
134 <option value="[% billingplace.value %]" selected="selected">
136 <option value="[% billingplace.value %]">
138 [% billingplace.branchname %]
144 <label for="deliveryplace">Delivery Place:</label>
145 <select name="deliveryplace" id="deliveryplace">
146 <option value="">--</option>
147 [% FOREACH deliveryplace IN deliveryplaceloop %]
148 [% IF ( deliveryplace.selected ) %]
149 <option value="[% deliveryplace.value %]" selected="selected">
151 <option value="[% deliveryplace.value %]">
153 [% deliveryplace.branchname %]
159 <label for="basketbooksellerid">Vendor</label>
160 <select name="basketbooksellerid" id="basketbooksellerid">
161 [% FOREACH b IN booksellers %]
162 [% IF booksellerid == b.id %]
163 <option value="[% b.id %]" selected="selected">[% b.name %]</option>
165 <option value="[% b.id %]">[% b.name %]</option>
171 <label for="basketnote">Internal note</label>
172 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote %]</textarea>
175 <label for="basketbooksellernote">Vendor note</label>
176 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote %]</textarea>
178 [% IF ( contractloop ) %]
179 <li><label for="basketcontractnumber">Contract</label>
180 <select id="basketcontractnumber" name="basketcontractnumber">
181 <option value=""></option>
182 [% FOREACH contractloo IN contractloop %]
183 [% IF ( contractloo.selected ) %]
184 <option value="[% contractloo.contractnumber %]" selected="selected">[% contractloo.contractname %]</option>
186 <option value="[% contractloo.contractnumber %]">[% contractloo.contractname %]</option>
194 <fieldset class="action">
195 <input type="hidden" name="op" value="add_validate" />
196 <input type="button" value="Save" onclick="Check(this.form);" />
203 [% INCLUDE 'acquisitions-menu.inc' %]
207 [% INCLUDE 'intranet-bottom.inc' %]