6 [% INCLUDE 'doc-head-open.inc' %]
9 [% IF ( basketno ) %]Edit basket '[% basketname | html %]'
10 [% ELSE %]Add a basket to [% booksellername | html %]
12 [% END %] › Acquisitions › Koha
14 [% INCLUDE 'doc-head-close.inc' %]
17 <body id="acq_basketheader" class="acq">
18 [% INCLUDE 'header.inc' %]
19 [% INCLUDE 'acquisitions-search.inc' %]
21 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
27 <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
30 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
35 <a href="#" aria-current="page">
36 Edit basket '[% basketname | html %]'
41 <a href="#" aria-current="page">
42 Add a basket to [% booksellername | html %]
50 <div class="main container-fluid">
52 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
56 <h1>Edit basket [% basketname | html %]</h1>
57 [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
59 <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
60 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
61 <fieldset class="rows">
65 <input type="hidden" name="basketno" value="[% basketno | html %]" />
66 <input type="hidden" name="is_an_edit" value="1" />
70 <label for="basketname" class="required">Basket name: </label>
71 <input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname | html %]" required="required" class="focus required" />
72 <span class="required">Required</span>
75 <label for="billingplace">Billing place: </label>
76 <select name="billingplace" id="billingplace">
77 <option value="">--</option>
78 [% PROCESS options_for_libraries libraries => Branches.all( selected => billingplace ) %]
82 <label for="deliveryplace">Delivery place: </label>
83 <select name="deliveryplace" id="deliveryplace">
84 <option value="">--</option>
85 [% PROCESS options_for_libraries libraries => Branches.all( selected => deliveryplace ) %]
89 <label for="basketbooksellerid">Vendor: </label>
90 <select name="basketbooksellerid" id="basketbooksellerid">
91 [% FOREACH b IN booksellers %]
92 [% IF booksellerid == b.id %]
93 <option value="[% b.id | html %]" selected="selected">[% b.name | html %]</option>
95 <option value="[% b.id | html %]">[% b.name | html %]</option>
101 <label for="basketnote">Internal note: </label>
102 <textarea name="basketnote" id="basketnote" rows="5" cols="40">[% basketnote |html %]</textarea>
105 <label for="basketbooksellernote">Vendor note: </label>
106 <textarea name="basketbooksellernote" id="basketbooksellernote" rows="5" cols="40">[% basketbooksellernote |html %]</textarea>
108 [% IF ( contractloop ) %]
109 <li><label for="basketcontractnumber">Contract: </label>
110 <select id="basketcontractnumber" name="basketcontractnumber">
111 <option value=""></option>
112 [% FOREACH contractloo IN contractloop %]
113 [% IF ( contractloo.selected ) %]
114 <option value="[% contractloo.contractnumber | html %]" selected="selected">[% contractloo.contractname | html %]</option>
116 <option value="[% contractloo.contractnumber | html %]">[% contractloo.contractname | html %]</option>
123 <label for="is_standing">Orders are standing:</label>
125 <input type="checkbox" id="is_standing" name="is_standing" checked="checked" />
127 <input type="checkbox" id="is_standing" name="is_standing"/>
129 <div class="hint">Standing orders do not close when received.</div>
132 <input type="hidden" name="create_items" value="[% create_items | html %]" />
135 <label for="create_items">Create items when:</label>
136 <select name="create_items" id="create_items">
137 [% SWITCH Koha.Preference('AcqCreateItem') %]
138 [% CASE 'receiving' %]<option value="">use default (receiving an order)</option>
139 [% CASE 'cataloguing' %]<option value="">use default (cataloging the record)</option>
140 [% CASE %]<option value="">use default (placing an order)</option>
142 <option value="ordering">placing an order</option>
143 <option value="receiving">receiving an order</option>
144 <option value="cataloguing">cataloging the record</option>
151 [% IF available_additional_fields %]
152 [% INCLUDE 'additional-fields-entry.inc' available=available_additional_fields values=additional_field_values %]
155 <fieldset class="action">
156 <input type="hidden" name="op" value="add_validate" />
157 <input type="submit" value="Save" />
158 [% IF ( basketno ) %]
159 <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
161 <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a>
169 [% MACRO jsinclude BLOCK %]
170 [% Asset.js("js/acquisitions-menu.js") | $raw %]
171 [% Asset.js("js/acq.js") | $raw %]
174 [% INCLUDE 'intranet-bottom.inc' %]