5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Acquisitions ›
8 [% IF ( basketno ) %]Edit basket '[% basketname %]'
9 [% ELSE %]Add a basket to [% booksellername %]
13 [% INCLUDE 'doc-head-close.inc' %]
16 <body id="acq_basketheader" class="acq">
17 [% INCLUDE 'header.inc' %]
18 [% INCLUDE 'acquisitions-search.inc' %]
20 <div id="breadcrumbs">
21 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
22 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
23 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
25 [% IF ( basketno ) %]Edit basket '[% basketname |html %]'
26 [% ELSE %]Add a basket to [% booksellername %]
31 <div class="main container-fluid">
33 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
37 <h1>Edit basket [% basketname |html %]</h1>
38 [% ELSE %]<h1>Add a basket to [% booksellername %]</h1>
40 <form name="Aform" action="[% script_name %]" method="post" class="validated">
41 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
42 <fieldset class="rows">
46 <input type="hidden" name="basketno" value="[% basketno %]" />
47 <input type="hidden" name="is_an_edit" value="1" />
51 <label for="basketname" class="required">Basket name: </label>
52 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname %]" required="required" class="required" />
53 <span class="required">Required</span>
56 <label for="billingplace">Billing place:</label>
57 <select name="billingplace" id="billingplace">
58 <option value="">--</option>
59 [% PROCESS options_for_libraries libraries => Branches.all( selected => billingplace ) %]
63 <label for="deliveryplace">Delivery place:</label>
64 <select name="deliveryplace" id="deliveryplace">
65 <option value="">--</option>
66 [% PROCESS options_for_libraries libraries => Branches.all( selected => deliveryplace ) %]
70 <label for="basketbooksellerid">Vendor: </label>
71 <select name="basketbooksellerid" id="basketbooksellerid">
72 [% FOREACH b IN booksellers %]
73 [% IF booksellerid == b.id %]
74 <option value="[% b.id %]" selected="selected">[% b.name %]</option>
76 <option value="[% b.id %]">[% b.name %]</option>
82 <label for="basketnote">Internal note: </label>
83 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote |html %]</textarea>
86 <label for="basketbooksellernote">Vendor note: </label>
87 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote |html %]</textarea>
89 [% IF ( contractloop ) %]
90 <li><label for="basketcontractnumber">Contract: </label>
91 <select id="basketcontractnumber" name="basketcontractnumber">
92 <option value=""></option>
93 [% FOREACH contractloo IN contractloop %]
94 [% IF ( contractloo.selected ) %]
95 <option value="[% contractloo.contractnumber %]" selected="selected">[% contractloo.contractname %]</option>
97 <option value="[% contractloo.contractnumber %]">[% contractloo.contractname %]</option>
104 <label for="is_standing">Orders are standing:</label>
106 <input type="checkbox" id="is_standing" name="is_standing" checked="checked" />
108 <input type="checkbox" id="is_standing" name="is_standing"/>
110 <div class="hint">Standing orders do not close when received.</div>
112 [% UNLESS basketno %]
114 <label for="create_items">Create items when:</label>
115 <select name="create_items" id="create_items">
116 [% SWITCH Koha.Preference('AcqCreateItem') %]
117 [% CASE 'receiving' %]<option value="">use default (receiving an order)</option>
118 [% CASE 'cataloguing' %]<option value="">use default (cataloging the record)</option>
119 [% CASE %]<option value="">use default (placing an order)</option>
121 <option value="ordering">placing an order</option>
122 <option value="receiving">receiving an order</option>
123 <option value="cataloguing">cataloging the record</option>
129 <fieldset class="action">
130 <input type="hidden" name="op" value="add_validate" />
131 <input type="submit" value="Save" />
132 [% IF ( basketno ) %]
133 <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Cancel</a>
135 <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
143 [% MACRO jsinclude BLOCK %]
144 [% Asset.js("js/acquisitions-menu.js") %]
145 [% Asset.js("js/acq.js") %]
148 [% INCLUDE 'intranet-bottom.inc' %]