3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Acquisitions ›
6 [% IF ( basketno ) %]Edit basket '[% basketname %]'
7 [% ELSE %]Add a basket to [% booksellername %]
11 [% INCLUDE 'doc-head-close.inc' %]
12 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq.js"></script>
14 <body id="acq_basketheader" class="acq">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'acquisitions-search.inc' %]
18 <div id="breadcrumbs">
19 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
20 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
21 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
23 [% IF ( basketno ) %]Edit basket '[% basketname |html %]'
24 [% ELSE %]Add a basket to [% booksellername %]
29 <div id="doc" class="yui-t7">
36 <h1>Edit basket [% basketname |html %]</h1>
37 [% ELSE %]<h1>Add a basket to [% booksellername %]</h1>
39 <form name="Aform" action="[% script_name %]" method="post" class="validated">
40 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
41 <fieldset class="rows">
45 <input type="hidden" name="basketno" value="[% basketno %]" />
46 <input type="hidden" name="rs_an_edit" value="1" />
50 <label for="basketname" class="required">Basket name: </label>
51 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname %]" required="required" class="required" />
52 <span class="required">Required</span>
55 <label for="billingplace">Billing place:</label>
56 <select name="billingplace" id="billingplace">
57 <option value="">--</option>
58 [% PROCESS options_for_libraries libraries => Branches.all( selected => billingplace ) %]
62 <label for="deliveryplace">Delivery place:</label>
63 <select name="deliveryplace" id="deliveryplace">
64 <option value="">--</option>
65 [% PROCESS options_for_libraries libraries => Branches.all( selected => deliveryplace ) %]
69 <label for="basketbooksellerid">Vendor: </label>
70 <select name="basketbooksellerid" id="basketbooksellerid">
71 [% FOREACH b IN booksellers %]
72 [% IF booksellerid == b.id %]
73 <option value="[% b.id %]" selected="selected">[% b.name %]</option>
75 <option value="[% b.id %]">[% b.name %]</option>
81 <label for="basketnote">Internal note: </label>
82 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote |html %]</textarea>
85 <label for="basketbooksellernote">Vendor note: </label>
86 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote |html %]</textarea>
88 [% IF ( contractloop ) %]
89 <li><label for="basketcontractnumber">Contract: </label>
90 <select id="basketcontractnumber" name="basketcontractnumber">
91 <option value=""></option>
92 [% FOREACH contractloo IN contractloop %]
93 [% IF ( contractloo.selected ) %]
94 <option value="[% contractloo.contractnumber %]" selected="selected">[% contractloo.contractname %]</option>
96 <option value="[% contractloo.contractnumber %]">[% contractloo.contractname %]</option>
103 <label for="is_standing">Orders are standing:</label>
105 <input type="checkbox" id="is_standing" name="is_standing" checked="checked" />
107 <input type="checkbox" id="is_standing" name="is_standing"/>
109 <div class="hint">Standing orders do not close when received.</div>
111 [% UNLESS basketno %]
113 <label for="create_items">Create items when:</label>
114 <select name="create_items" id="create_items">
115 [% SWITCH Koha.Preference('AcqCreateItem') %]
116 [% CASE 'receiving' %]<option value="">use default (receiving an order).</option>
117 [% CASE 'cataloguing' %]<option value="">use default (cataloging the record).</option>
118 [% CASE %]<option value="">use default (placing an order).</option>
120 <option value="ordering">placing an order.</option>
121 <option value="receiving">receiving an order.</option>
122 <option value="cataloguing">cataloging the record.</option>
128 <fieldset class="action">
129 <input type="hidden" name="op" value="add_validate" />
130 <input type="submit" value="Save" />
131 [% IF ( basketno ) %]
132 <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Cancel</a>
134 <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
142 [% INCLUDE 'intranet-bottom.inc' %]