4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Acquisitions ›
7 [% IF ( basketno ) %]Edit basket '[% basketname %]'
8 [% ELSE %]Add a basket to [% booksellername %]
12 [% INCLUDE 'doc-head-close.inc' %]
15 <body id="acq_basketheader" class="acq">
16 [% INCLUDE 'header.inc' %]
17 [% INCLUDE 'acquisitions-search.inc' %]
19 <div id="breadcrumbs">
20 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
21 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›
22 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> ›
24 [% IF ( basketno ) %]Edit basket '[% basketname |html %]'
25 [% ELSE %]Add a basket to [% booksellername %]
30 <div class="main container-fluid">
32 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
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="is_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 [% MACRO jsinclude BLOCK %]
143 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acquisitions-menu_[% KOHA_VERSION %].js"></script>
144 <script type="text/javascript" src="[% interface %]/[% theme %]/js/acq_[% KOHA_VERSION %].js"></script>
147 [% INCLUDE 'intranet-bottom.inc' %]