2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Acquisitions ›
5 [% IF ( basketno ) %]Edit basket '[% basketname %]'
6 [% ELSE %]Add a basket to [% booksellername %]
10 [% INCLUDE 'doc-head-close.inc' %]
11 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq.js"></script>
13 <body id="acq_basketheader" class="acq">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'acquisitions-search.inc' %]
17 <div id="breadcrumbs">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
19 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
20 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
22 [% IF ( basketno ) %]Edit basket '[% basketname |html %]'
23 [% ELSE %]Add a basket to [% booksellername %]
28 <div id="doc" class="yui-t7">
35 <h1>Edit basket [% basketname |html %]</h1>
36 [% ELSE %]<h1>Add a basket to [% booksellername %]</h1>
38 <form name="Aform" action="[% script_name %]" method="post" class="validated">
39 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
40 <fieldset class="rows">
44 <input type="hidden" name="basketno" value="[% basketno %]" />
45 <input type="hidden" name="is_an_edit" value="1" />
49 <label for="basketname" class="required">Basket name: </label>
50 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname %]" required="required" class="required" />
51 <span class="required">Required</span>
54 <label for="billingplace">Billing place:</label>
55 <select name="billingplace" id="billingplace">
56 <option value="">--</option>
57 [% PROCESS options_for_libraries libraries => Branches.all( selected => billingplace ) %]
61 <label for="deliveryplace">Delivery place:</label>
62 <select name="deliveryplace" id="deliveryplace">
63 <option value="">--</option>
64 [% PROCESS options_for_libraries libraries => Branches.all( selected => deliveryplace ) %]
68 <label for="basketbooksellerid">Vendor: </label>
69 <select name="basketbooksellerid" id="basketbooksellerid">
70 [% FOREACH b IN booksellers %]
71 [% IF booksellerid == b.id %]
72 <option value="[% b.id %]" selected="selected">[% b.name %]</option>
74 <option value="[% b.id %]">[% b.name %]</option>
80 <label for="basketnote">Internal note: </label>
81 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote |html %]</textarea>
84 <label for="basketbooksellernote">Vendor note: </label>
85 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote |html %]</textarea>
87 [% IF ( contractloop ) %]
88 <li><label for="basketcontractnumber">Contract: </label>
89 <select id="basketcontractnumber" name="basketcontractnumber">
90 <option value=""></option>
91 [% FOREACH contractloo IN contractloop %]
92 [% IF ( contractloo.selected ) %]
93 <option value="[% contractloo.contractnumber %]" selected="selected">[% contractloo.contractname %]</option>
95 <option value="[% contractloo.contractnumber %]">[% contractloo.contractname %]</option>
102 <label for="is_standing">Orders are standing:</label>
104 <input type="checkbox" id="is_standing" name="is_standing" checked="checked" />
106 <input type="checkbox" id="is_standing" name="is_standing"/>
108 <div class="hint">Standing orders do not close when received.</div>
112 <fieldset class="action">
113 <input type="hidden" name="op" value="add_validate" />
114 <input type="submit" value="Save" />
115 [% IF ( basketno ) %]
116 <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Cancel</a>
118 <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
126 [% INCLUDE 'intranet-bottom.inc' %]