Lines 1-10
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% BLOCK csv_export %] |
3 |
[% BLOCK csv_export %] |
3 |
<div class="btn-group"> |
4 |
<div class="btn-group"> |
4 |
<a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]"><i class="fa fa-download"></i> Export as CSV</a> |
5 |
<a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&basketno=[% basketno %]&booksellerid=[% booksellerid %]"><i class="fa fa-download"></i> [% t('Export as CSV') %]</a> |
5 |
<a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
6 |
<a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
6 |
<ul class="dropdown-menu" id="export-csv-menu"> |
7 |
<ul class="dropdown-menu" id="export-csv-menu"> |
7 |
<li><a href="#">Default</a></li> |
8 |
<li><a href="#">[% t('Default') %]</a></li> |
8 |
[% IF csv_profiles %] |
9 |
[% IF csv_profiles %] |
9 |
[% FOR csv IN csv_profiles %] |
10 |
[% FOR csv IN csv_profiles %] |
10 |
<li><a href="#" data-value="[% csv.export_format_id %]">[% csv.profile %]</a></li> |
11 |
<li><a href="#" data-value="[% csv.export_format_id %]">[% csv.profile %]</a></li> |
Lines 19-25
Link Here
|
19 |
[% USE AuthorisedValues %] |
20 |
[% USE AuthorisedValues %] |
20 |
[% SET footerjs = 1 %] |
21 |
[% SET footerjs = 1 %] |
21 |
[% INCLUDE 'doc-head-open.inc' %] |
22 |
[% INCLUDE 'doc-head-open.inc' %] |
22 |
<title>Koha › Acquisitions › [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for [% booksellername|html %]</title> |
23 |
<title>[% t('Koha › Acquisitions ›') %] [% UNLESS ( basketno ) %][% t('New') %] [% END %][% t('Basket') %] [% basketname|html %] ([% basketno |html %][% t(') for') %] [% booksellername|html %]</title> |
23 |
[% Asset.css("css/datatables.css") %] |
24 |
[% Asset.css("css/datatables.css") %] |
24 |
[% INCLUDE 'doc-head-close.inc' %] |
25 |
[% INCLUDE 'doc-head-close.inc' %] |
25 |
<style type="text/css"> |
26 |
<style type="text/css"> |
Lines 33-42
Link Here
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
<div id="breadcrumbs"> |
36 |
<div id="breadcrumbs"> |
36 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
37 |
<a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › |
37 |
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › |
38 |
<a href="/cgi-bin/koha/acqui/acqui-home.pl">[% t('Acquisitions') %]</a> › |
38 |
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a> › |
39 |
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a> › |
39 |
[% UNLESS ( basketno ) %][% IF ( delete_confirmed ) %]Deleted [% ELSE %]New [% END %][% END %]Basket [% basketname|html %] [% IF ( basketno ) %]([% basketno |html %])[% END %] for [% booksellername|html %] |
40 |
[% UNLESS ( basketno ) %][% IF ( delete_confirmed ) %][% t('Deleted') %] [% ELSE %][% t('New') %] [% END %][% END %][% t('Basket') %] [% basketname|html %] [% IF ( basketno ) %]([% basketno |html %])[% END %] [% t('for') %] [% booksellername|html %] |
40 |
</div> |
41 |
</div> |
41 |
|
42 |
|
42 |
<div id="doc3" class="yui-t2"> |
43 |
<div id="doc3" class="yui-t2"> |
Lines 45-51
Link Here
|
45 |
<div id="yui-main"> |
46 |
<div id="yui-main"> |
46 |
[% IF (cannot_manage_basket) %] |
47 |
[% IF (cannot_manage_basket) %] |
47 |
<div class="yui-b"> |
48 |
<div class="yui-b"> |
48 |
<p class="error">You are not authorised to manage this basket.</p> |
49 |
<p class="error">[% t('You are not authorised to manage this basket.') %]</p> |
49 |
</div> |
50 |
</div> |
50 |
[% ELSE %] |
51 |
[% ELSE %] |
51 |
<div class="yui-b"> |
52 |
<div class="yui-b"> |
Lines 55-81
Link Here
|
55 |
[% UNLESS ( delete_confirmed ) %] |
56 |
[% UNLESS ( delete_confirmed ) %] |
56 |
<div id="toolbar" class="btn-toolbar"> |
57 |
<div id="toolbar" class="btn-toolbar"> |
57 |
[% IF active %] |
58 |
[% IF active %] |
58 |
<div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a></div> |
59 |
<div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default btn-sm" data-toggle="modal"><i class="fa fa-plus"></i> [% t('Add to basket') %]</a></div> |
59 |
[% END %] |
60 |
[% END %] |
60 |
<div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-default btn-sm" id="basketheadbutton"><i class="fa fa-pencil"></i> Edit basket</a></div> |
61 |
<div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-default btn-sm" id="basketheadbutton"><i class="fa fa-pencil"></i> [% t('Edit basket') %]</a></div> |
61 |
[%# FIXME This action should not be available for everyone %] |
62 |
[%# FIXME This action should not be available for everyone %] |
62 |
<div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default btn-sm" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> Delete this basket</a></div> |
63 |
<div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default btn-sm" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> [% t('Delete this basket') %]</a></div> |
63 |
[% IF ( unclosable ) %] |
64 |
[% IF ( unclosable ) %] |
64 |
[% ELSIF ( uncertainprices ) %] |
65 |
[% ELSIF ( uncertainprices ) %] |
65 |
<div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="btn btn-default btn-sm" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div> |
66 |
<div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="btn btn-default btn-sm" id="uncertpricesbutton"><i class="fa fa-usd"></i> [% t('Uncertain prices') %]</a></div> |
66 |
<div title="Can not close baskets that have items with uncertain prices in them." class="btn-group"> |
67 |
<div title="[% t('Can not close baskets that have items with uncertain prices in them.') %]" class="btn-group"> |
67 |
<a href="" class="btn btn-default btn-sm disabled" id="closebutton"><i class="fa fa-times-circle"></i> Close this basket</a> |
68 |
<a href="" class="btn btn-default btn-sm disabled" id="closebutton"><i class="fa fa-times-circle"></i> [% t('Close this basket') %]</a> |
68 |
</div> |
69 |
</div> |
69 |
[% ELSE %] |
70 |
[% ELSE %] |
70 |
<div class="btn-group"> |
71 |
<div class="btn-group"> |
71 |
<a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="closebutton"><i class="fa fa-times-circle"></i> Close this basket</a> |
72 |
<a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="closebutton"><i class="fa fa-times-circle"></i> [% t('Close this basket') %]</a> |
72 |
</div> |
73 |
</div> |
73 |
[% END %] |
74 |
[% END %] |
74 |
|
75 |
|
75 |
[% PROCESS csv_export %] |
76 |
[% PROCESS csv_export %] |
76 |
|
77 |
|
77 |
[% IF ediaccount %] |
78 |
[% IF ediaccount %] |
78 |
<div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div> |
79 |
<div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="ediorderbutton"><i class="fa fa-download"></i> [% t('Create EDIFACT order') %]</a></div> |
79 |
[% END %] |
80 |
[% END %] |
80 |
|
81 |
|
81 |
[% IF ( active && books_loop ) %] |
82 |
[% IF ( active && books_loop ) %] |
Lines 83-89
Link Here
|
83 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="post"> |
84 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="post"> |
84 |
<input type="hidden" name="op" value="email" /> |
85 |
<input type="hidden" name="op" value="email" /> |
85 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
86 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
86 |
<button type="submit" class="btn btn-default btn-sm" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button> |
87 |
<button type="submit" class="btn btn-default btn-sm" id="emailvendorbutton"><i class="fa fa-envelope"></i> [% t('E-mail order') %]</button> |
87 |
</form> |
88 |
</form> |
88 |
</div> |
89 |
</div> |
89 |
[% END %] |
90 |
[% END %] |
Lines 96-133
Link Here
|
96 |
<div class="modal-content"> |
97 |
<div class="modal-content"> |
97 |
<div class="modal-header"> |
98 |
<div class="modal-header"> |
98 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
99 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
99 |
<h3>Confirm deletion</h3> |
100 |
<h3>[% t('Confirm deletion') %]</h3> |
100 |
</div> |
101 |
</div> |
101 |
[% UNLESS book_foot_loop %] |
102 |
[% UNLESS book_foot_loop %] |
102 |
<div class="modal-body"> |
103 |
<div class="modal-body"> |
103 |
<p>Are you sure you want to delete this basket?</p> |
104 |
<p>[% t('Are you sure you want to delete this basket?') %]</p> |
104 |
</div> |
105 |
</div> |
105 |
<div class="modal-footer"> |
106 |
<div class="modal-footer"> |
106 |
<button type="button" class="btn btn-primary" data-dismiss="modal">Cancel</button> |
107 |
<button type="button" class="btn btn-primary" data-dismiss="modal">[% t('Cancel') %]</button> |
107 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
108 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
108 |
<input type="hidden" name="op" value="delete_confirm" /> |
109 |
<input type="hidden" name="op" value="delete_confirm" /> |
109 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
110 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
110 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
111 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
111 |
<input type="hidden" name="delbiblio" value="0" /> |
112 |
<input type="hidden" name="delbiblio" value="0" /> |
112 |
<button type="submit" class="btn btn-default btn-default">Delete basket</button> |
113 |
<button type="submit" class="btn btn-default btn-default">[% t('Delete basket') %]</button> |
113 |
</form> |
114 |
</form> |
114 |
</div> |
115 |
</div> |
115 |
[% ELSE %] |
116 |
[% ELSE %] |
116 |
<div class="modal-body"> |
117 |
<div class="modal-body"> |
117 |
<p>Are you sure you want to delete this basket?</p> |
118 |
<p>[% t('Are you sure you want to delete this basket?') %]</p> |
118 |
<p>Warning:</p> |
119 |
<p>[% t('Warning:') %]</p> |
119 |
<p>All orders of this basket will be cancelled and used funds will be refunded.</p> |
120 |
<p>[% t('All orders of this basket will be cancelled and used funds will be refunded.') %]</p> |
120 |
<p>If items have been created when ordering or receiving, they will be deleted.</p> |
121 |
<p>[% t('If items have been created when ordering or receiving, they will be deleted.') %]</p> |
121 |
<p>You can choose to delete bibliographic records if possible (bibliographic records that have other items or that are used in a subscription or another order will not be deleted).</p> |
122 |
<p>[% t('You can choose to delete bibliographic records if possible (bibliographic records that have other items or that are used in a subscription or another order will not be deleted).') %]</p> |
122 |
</div> |
123 |
</div> |
123 |
<div class="modal-footer"> |
124 |
<div class="modal-footer"> |
124 |
<button type="button" class="btn btn-primary" data-dismiss="modal">Cancel</button> |
125 |
<button type="button" class="btn btn-primary" data-dismiss="modal">[% t('Cancel') %]</button> |
125 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
126 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
126 |
<input type="hidden" name="op" value="delete_confirm" /> |
127 |
<input type="hidden" name="op" value="delete_confirm" /> |
127 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
128 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
128 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
129 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
129 |
<input type="hidden" name="delbiblio" value="0" /> |
130 |
<input type="hidden" name="delbiblio" value="0" /> |
130 |
<button type="submit" class="btn btn-default btn-default">Delete basket and orders</button> |
131 |
<button type="submit" class="btn btn-default btn-default">[% t('Delete basket and orders') %]</button> |
131 |
</form> |
132 |
</form> |
132 |
|
133 |
|
133 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
134 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
Lines 135-141
Link Here
|
135 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
136 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
136 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
137 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
137 |
<input type="hidden" name="delbiblio" value="1" /> |
138 |
<input type="hidden" name="delbiblio" value="1" /> |
138 |
<button type="submit" class="btn btn-default btn-default">Delete basket, orders, and records</button> |
139 |
<button type="submit" class="btn btn-default btn-default">[% t('Delete basket, orders, and records') %]</button> |
139 |
</form> |
140 |
</form> |
140 |
|
141 |
|
141 |
</div> |
142 |
</div> |
Lines 148-154
Link Here
|
148 |
[% UNLESS ( grouped ) %] |
149 |
[% UNLESS ( grouped ) %] |
149 |
<div id="toolbar" class="btn-toolbar"> |
150 |
<div id="toolbar" class="btn-toolbar"> |
150 |
|
151 |
|
151 |
<div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-refresh"></i> Reopen this basket</a></div> |
152 |
<div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-refresh"></i> [% t('Reopen this basket') %]</a></div> |
152 |
|
153 |
|
153 |
[% PROCESS csv_export %] |
154 |
[% PROCESS csv_export %] |
154 |
|
155 |
|
Lines 158-189
Link Here
|
158 |
[% END %] |
159 |
[% END %] |
159 |
|
160 |
|
160 |
[% IF ( NO_BOOKSELLER ) %] |
161 |
[% IF ( NO_BOOKSELLER ) %] |
161 |
<h2>Vendor not found</h2> |
162 |
<h2>[% t('Vendor not found') %]</h2> |
162 |
[% ELSE %] |
163 |
[% ELSE %] |
163 |
[% IF ( delete_confirmed ) %] |
164 |
[% IF ( delete_confirmed ) %] |
164 |
<div class="dialog message"> |
165 |
<div class="dialog message"> |
165 |
<h3>Basket deleted</h3> |
166 |
<h3>[% t('Basket deleted') %]</h3> |
166 |
</div> |
167 |
</div> |
167 |
[% IF (cannotdelbiblios) %] |
168 |
[% IF (cannotdelbiblios) %] |
168 |
<div class="dialog alert"> |
169 |
<div class="dialog alert"> |
169 |
<p><strong>Warning:</strong></p> |
170 |
<p><strong>[% t('Warning:') %]</strong></p> |
170 |
<p><strong>The following records could not be deleted:</strong></p> |
171 |
<p><strong>[% t('The following records could not be deleted:') %]</strong></p> |
171 |
<ul> |
172 |
<ul> |
172 |
[% FOREACH cannotdelbiblio IN cannotdelbiblios %] |
173 |
[% FOREACH cannotdelbiblio IN cannotdelbiblios %] |
173 |
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cannotdelbiblio.biblionumber %]">[% cannotdelbiblio.title |html %]</a> by [% cannotdelbiblio.author %]: |
174 |
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cannotdelbiblio.biblionumber %]">[% cannotdelbiblio.title |html %]</a> [% t('by') %] [% cannotdelbiblio.author %]: |
174 |
<ul> |
175 |
<ul> |
175 |
[% IF (cannotdelbiblio.itemcount) %]<li>[% cannotdelbiblio.itemcount %] item(s) attached.</li>[% END %] |
176 |
[% IF (cannotdelbiblio.itemcount) %]<li>[% cannotdelbiblio.itemcount %] [% t('item(s) attached.') %]</li>[% END %] |
176 |
[% IF (cannotdelbiblio.subscriptions) %]<li>[% cannotdelbiblio.subscriptions %] subscription(s) attached.</li>[% END %] |
177 |
[% IF (cannotdelbiblio.subscriptions) %]<li>[% cannotdelbiblio.subscriptions %] [% t('subscription(s) attached.') %]</li>[% END %] |
177 |
[% IF (cannotdelbiblio.countbiblio) %]<li>[% cannotdelbiblio.countbiblio %] order(s) attached.</li>[% END %] |
178 |
[% IF (cannotdelbiblio.countbiblio) %]<li>[% cannotdelbiblio.countbiblio %] [% t('order(s) attached.') %]</li>[% END %] |
178 |
[% IF (cannotdelbiblio.othererror) %]<li>Unknown error.</li>[% END %] |
179 |
[% IF (cannotdelbiblio.othererror) %]<li>[% t('Unknown error.') %]</li>[% END %] |
179 |
</ul> |
180 |
</ul> |
180 |
</li> |
181 |
</li> |
181 |
[% END %] |
182 |
[% END %] |
182 |
</ul> |
183 |
</ul> |
183 |
</div> |
184 |
</div> |
184 |
<a href="booksellers.pl">Click here to go back to booksellers page</a> |
185 |
<a href="booksellers.pl">[% t('Click here to go back to booksellers page') %]</a> |
185 |
[% ELSE %] |
186 |
[% ELSE %] |
186 |
<a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]" class="btn btn-default btn-sm">Show baskets for vendor [% booksellername | html %]</a> <a href="/cgi-bin/koha/acqui/booksellers.pl" class="btn btn-default btn-sm">Show all active baskets</a> |
187 |
<a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]" class="btn btn-default btn-sm">[% t('Show baskets for vendor') %] [% booksellername | html %]</a> <a href="/cgi-bin/koha/acqui/booksellers.pl" class="btn btn-default btn-sm">[% t('Show all active baskets') %]</a> |
187 |
[% END %] |
188 |
[% END %] |
188 |
[% ELSE %] |
189 |
[% ELSE %] |
189 |
|
190 |
|
Lines 191-231
Link Here
|
191 |
<div class="dialog [% m.type %]"> |
192 |
<div class="dialog [% m.type %]"> |
192 |
[% SWITCH m.code %] |
193 |
[% SWITCH m.code %] |
193 |
[% CASE 'no_email' %] |
194 |
[% CASE 'no_email' %] |
194 |
This vendor has no contact selected for sending orders to or is missing an e-mail address. |
195 |
[% t('This vendor has no contact selected for sending orders to or is missing an e-mail address.') %] |
195 |
[% CASE 'no_basketno' %] |
196 |
[% CASE 'no_basketno' %] |
196 |
No basket given. |
197 |
[% t('No basket given.') %] |
197 |
[% CASE 'no_letter' %] |
198 |
[% CASE 'no_letter' %] |
198 |
There is no notice template with code ACQORDER defined. |
199 |
[% t('There is no notice template with code ACQORDER defined.') %] |
199 |
[% CASE 'email_sent' %] |
200 |
[% CASE 'email_sent' %] |
200 |
Order e-mail was sent to the vendor. |
201 |
[% t('Order e-mail was sent to the vendor.') %] |
201 |
[% CASE %] |
202 |
[% CASE %] |
202 |
ERROR! - [% m.code %] |
203 |
[% t('ERROR! -') %] [% m.code %] |
203 |
[% END %] |
204 |
[% END %] |
204 |
</div> |
205 |
</div> |
205 |
[% END %] |
206 |
[% END %] |
206 |
<h1>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname|html %] ([% basketno |html %]) for <a href="supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a></h1> |
207 |
<h1>[% UNLESS ( basketno ) %][% t('New') %] [% END %][% t('Basket') %] [% basketname|html %] ([% basketno |html %][% t(') for') %] <a href="supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a></h1> |
207 |
[% IF ( basketno ) %] |
208 |
[% IF ( basketno ) %] |
208 |
<div id="acqui_basket_summary" class="yui-g"> |
209 |
<div id="acqui_basket_summary" class="yui-g"> |
209 |
<div class="rows"> |
210 |
<div class="rows"> |
210 |
<div class="yui-u first"> |
211 |
<div class="yui-u first"> |
211 |
<ol> |
212 |
<ol> |
212 |
[% IF ( basketnote ) %]<li><span class="label">Internal note:</span> [% basketnote |html %]</li>[% END %] |
213 |
[% IF ( basketnote ) %]<li><span class="label">[% t('Internal note:') %]</span> [% basketnote |html %]</li>[% END %] |
213 |
[% IF ( basketbooksellernote ) %]<li><span class="label">Vendor note:</span> [% basketbooksellernote |html %]</li>[% END %] |
214 |
[% IF ( basketbooksellernote ) %]<li><span class="label">[% t('Vendor note:') %]</span> [% basketbooksellernote |html %]</li>[% END %] |
214 |
[% IF ( basketcontractno ) %] |
215 |
[% IF ( basketcontractno ) %] |
215 |
<li><span class="label">Contract name:</span> <a href="../admin/aqcontract.pl?op=add_form&contractnumber=[% basketcontractno %]&booksellerid=[% booksellerid %]">[% basketcontractname %]</a></li> |
216 |
<li><span class="label">[% t('Contract name:') %]</span> <a href="../admin/aqcontract.pl?op=add_form&contractnumber=[% basketcontractno %]&booksellerid=[% booksellerid %]">[% basketcontractname %]</a></li> |
216 |
[% END %] |
217 |
[% END %] |
217 |
[% IF deliveryplace %]<li><span class="label">Delivery place:</span> [% Branches.GetName( deliveryplace ) %]</li>[% END %] |
218 |
[% IF deliveryplace %]<li><span class="label">[% t('Delivery place:') %]</span> [% Branches.GetName( deliveryplace ) %]</li>[% END %] |
218 |
[% IF billingplace %]<li><span class="label">Billing place:</span> [% Branches.GetName( billingplace ) %]</li>[% END %] |
219 |
[% IF billingplace %]<li><span class="label">[% t('Billing place:') %]</span> [% Branches.GetName( billingplace ) %]</li>[% END %] |
219 |
[% IF ( authorisedbyname ) %]<li><span class="label">Created by:</span> [% authorisedbyname %]</li>[% END %] |
220 |
[% IF ( authorisedbyname ) %]<li><span class="label">[% t('Created by:') %]</span> [% authorisedbyname %]</li>[% END %] |
220 |
<li id="managedby"> |
221 |
<li id="managedby"> |
221 |
<form action="" method="post"> |
222 |
<form action="" method="post"> |
222 |
<span class="label">Managed by:</span> |
223 |
<span class="label">[% t('Managed by:') %]</span> |
223 |
<div style="float:left"> |
224 |
<div style="float:left"> |
224 |
<ul id="users_names" style="padding-left:0"> |
225 |
<ul id="users_names" style="padding-left:0"> |
225 |
[% FOREACH user IN users %] |
226 |
[% FOREACH user IN users %] |
226 |
<li id="user_[% user.borrowernumber %]"> |
227 |
<li id="user_[% user.borrowernumber %]"> |
227 |
[% user.firstname %] [% user.surname %] |
228 |
[% user.firstname %] [% user.surname %] |
228 |
<a href="#" data-borrowernumber="[% user.borrowernumber %]" class="del_user"><i class="fa fa-trash"></i> Delete user</a> |
229 |
<a href="#" data-borrowernumber="[% user.borrowernumber %]" class="del_user"><i class="fa fa-trash"></i> [% t('Delete user') %]</a> |
229 |
</li> |
230 |
</li> |
230 |
[% END %] |
231 |
[% END %] |
231 |
</ul> |
232 |
</ul> |
Lines 238-253
Link Here
|
238 |
</form> |
239 |
</form> |
239 |
</li> |
240 |
</li> |
240 |
<li id="branch"> |
241 |
<li id="branch"> |
241 |
<span class="label">Library:</span> |
242 |
<span class="label">[% t('Library:') %]</span> |
242 |
[% IF basketbranchcode %] |
243 |
[% IF basketbranchcode %] |
243 |
[% Branches.GetName( basketbranchcode ) %] |
244 |
[% Branches.GetName( basketbranchcode ) %] |
244 |
[% ELSE %] |
245 |
[% ELSE %] |
245 |
No library |
246 |
[% t('No library') %] |
246 |
[% END %] |
247 |
[% END %] |
247 |
[% IF branches_loop.size %] |
248 |
[% IF branches_loop.size %] |
248 |
<form action="" method="post"> |
249 |
<form action="" method="post"> |
249 |
<select id="branch" name="branch"> |
250 |
<select id="branch" name="branch"> |
250 |
<option value="">(no library)</option> |
251 |
<option value="">[% t('(no library)') %]</option> |
251 |
[% FOREACH branch IN branches_loop %] |
252 |
[% FOREACH branch IN branches_loop %] |
252 |
[% IF (branch.selected) %] |
253 |
[% IF (branch.selected) %] |
253 |
<option selected="selected" value="[% branch.branchcode %]"> [% branch.branchname %]</option> |
254 |
<option selected="selected" value="[% branch.branchcode %]"> [% branch.branchname %]</option> |
Lines 262-279
Link Here
|
262 |
</form> |
263 |
</form> |
263 |
[% END %] |
264 |
[% END %] |
264 |
</li> |
265 |
</li> |
265 |
[% IF ( creationdate ) %]<li><span class="label">Opened on:</span> [% creationdate | $KohaDates %]</li>[% END %] |
266 |
[% IF ( creationdate ) %]<li><span class="label">[% t('Opened on:') %]</span> [% creationdate | $KohaDates %]</li>[% END %] |
266 |
[% IF ( closedate ) %]<li><span class="label">Closed on:</span> [% closedate | $KohaDates %]</li>[% END %] |
267 |
[% IF ( closedate ) %]<li><span class="label">[% t('Closed on:') %]</span> [% closedate | $KohaDates %]</li>[% END %] |
267 |
[% IF ( estimateddeliverydate ) %]<li><span class="label">Estimated delivery date:</span> [% estimateddeliverydate | $KohaDates %]</li>[% END %] |
268 |
[% IF ( estimateddeliverydate ) %]<li><span class="label">[% t('Estimated delivery date:') %]</span> [% estimateddeliverydate | $KohaDates %]</li>[% END %] |
268 |
<li><span class="label">Orders are standing:</span> [% IF is_standing %]Yes[% ELSE %]No[% END %]</li> |
269 |
<li><span class="label">[% t('Orders are standing:') %]</span> [% IF is_standing %][% t('Yes') %][% ELSE %][% t('No') %][% END %]</li> |
269 |
|
270 |
|
270 |
[% IF basket.create_items %] |
271 |
[% IF basket.create_items %] |
271 |
<li> |
272 |
<li> |
272 |
<span class="label">Create items when:</span> |
273 |
<span class="label">[% t('Create items when:') %]</span> |
273 |
[% SWITCH basket.create_items %] |
274 |
[% SWITCH basket.create_items %] |
274 |
[% CASE 'receiving' %]Receiving items |
275 |
[% CASE 'receiving' %][% t('Receiving items') %] |
275 |
[% CASE 'cataloguing' %]Cataloguing items |
276 |
[% CASE 'cataloguing' %][% t('Cataloguing items') %] |
276 |
[% CASE %]Placing orders |
277 |
[% CASE %][% t('Placing orders') %] |
277 |
[% END %] |
278 |
[% END %] |
278 |
</li> |
279 |
</li> |
279 |
[% END %] |
280 |
[% END %] |
Lines 287-311
Link Here
|
287 |
[% END %] |
288 |
[% END %] |
288 |
<ol> |
289 |
<ol> |
289 |
<li> |
290 |
<li> |
290 |
<span class="label">Basket group:</span> |
291 |
<span class="label">[% t('Basket group:') %]</span> |
291 |
[% IF basketgroup.id and not basketgroup.name %] |
292 |
[% IF basketgroup.id and not basketgroup.name %] |
292 |
[% SET basketgroup.name = "Basket group no. " _ basketgroup.id %] |
293 |
[% SET basketgroup.name = "Basket group no. " _ basketgroup.id %] |
293 |
[% END %] |
294 |
[% END %] |
294 |
[% IF basketgroup.closed %] |
295 |
[% IF basketgroup.closed %] |
295 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
296 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
296 |
<a href="basketgroup.pl?op=add&booksellerid=[% booksellerid %]&basketgroupid=[% basketgroup.id %]" title="basketgroup">[% basketgroup.name %] (closed)</a> |
297 |
<a href="basketgroup.pl?op=add&booksellerid=[% booksellerid %]&basketgroupid=[% basketgroup.id %]" title="[% t('basketgroup') %]">[% basketgroup.name %] [% t('(closed)') %]</a> |
297 |
[% ELSE %] |
298 |
[% ELSE %] |
298 |
[% basketgroup.name %] (closed) |
299 |
[% basketgroup.name %] [% t('(closed)') %] |
299 |
[% END %] |
300 |
[% END %] |
300 |
[% ELSIF ( ! CAN_user_acquisition_group_manage ) %] |
301 |
[% ELSIF ( ! CAN_user_acquisition_group_manage ) %] |
301 |
[%- IF basketgroup.id -%] |
302 |
[%- IF basketgroup.id -%] |
302 |
[% basketgroup.name %] |
303 |
[% basketgroup.name %] |
303 |
[%- ELSE -%] |
304 |
[%- ELSE -%] |
304 |
No group |
305 |
[% t('No group') %] |
305 |
[%- END -%] |
306 |
[%- END -%] |
306 |
[% ELSE %] |
307 |
[% ELSE %] |
307 |
<select id="basketgroupid" name="basketgroupid"> |
308 |
<select id="basketgroupid" name="basketgroupid"> |
308 |
<option value="">No group</option> |
309 |
<option value="">[% t('No group') %]</option> |
309 |
[% FOREACH bg IN basketgroups %] |
310 |
[% FOREACH bg IN basketgroups %] |
310 |
[% IF ( bg.default ) %] |
311 |
[% IF ( bg.default ) %] |
311 |
<option value="[% bg.id %]" selected="selected">[% bg.name %]</option> |
312 |
<option value="[% bg.id %]" selected="selected">[% bg.name %]</option> |
Lines 313-323
Link Here
|
313 |
[% UNLESS bg.closed %] |
314 |
[% UNLESS bg.closed %] |
314 |
<option value="[% bg.id %]">[% bg.name %]</option> |
315 |
<option value="[% bg.id %]">[% bg.name %]</option> |
315 |
[% ELSE %] |
316 |
[% ELSE %] |
316 |
<option value="[% bg.id %]" disabled="disabled">[% bg.name %] (closed)</option> |
317 |
<option value="[% bg.id %]" disabled="disabled">[% bg.name %] [% t('(closed)') %]</option> |
317 |
[% END %] |
318 |
[% END %] |
318 |
[% END %] |
319 |
[% END %] |
319 |
[% END %] |
320 |
[% END %] |
320 |
<option value="new">Add new group</option> |
321 |
<option value="new">[% t('Add new group') %]</option> |
321 |
</select> |
322 |
</select> |
322 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
323 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
323 |
<input type="hidden" value="mod_basket" name="op" /> |
324 |
<input type="hidden" value="mod_basket" name="op" /> |
Lines 325-332
Link Here
|
325 |
<input type="submit" value="Change basket group" /> |
326 |
<input type="submit" value="Change basket group" /> |
326 |
[% END %] |
327 |
[% END %] |
327 |
</li> |
328 |
</li> |
328 |
[% IF basketgroup.deliveryplace %]<li><span class="label">Basket group delivery placename:</span> [% Branches.GetName( basketgroup.deliveryplace ) %]</li>[% END %] |
329 |
[% IF basketgroup.deliveryplace %]<li><span class="label">[% t('Basket group delivery placename:') %]</span> [% Branches.GetName( basketgroup.deliveryplace ) %]</li>[% END %] |
329 |
[% IF basketgroup.billingplace %]<li><span class="label">Basket group billing place:</span> [% Branches.GetName( basketgroup.billingplace ) %]</li>[% END %] |
330 |
[% IF basketgroup.billingplace %]<li><span class="label">[% t('Basket group billing place:') %]</span> [% Branches.GetName( basketgroup.billingplace ) %]</li>[% END %] |
330 |
</ol> |
331 |
</ol> |
331 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
332 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
332 |
</form> |
333 |
</form> |
Lines 337-373
Link Here
|
337 |
</div> |
338 |
</div> |
338 |
[% END %] |
339 |
[% END %] |
339 |
[% IF ( duplinbatch ) %]<div class="dialog alert"> |
340 |
[% IF ( duplinbatch ) %]<div class="dialog alert"> |
340 |
<h4>Duplicate warning</h4> |
341 |
<h4>[% t('Duplicate warning') %]</h4> |
341 |
<p>Some records have not been automatically added because they match an existing record in your catalog:<a href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% duplinbatch %]&basketno=[% basketno %]&booksellerid=[% booksellerid %]" title="Open in new window" target="_blank" class="popup" style="margin-left:10px">Display them</a></p> |
342 |
<p>[% t('Some records have not been automatically added because they match an existing record in your catalog:') %]<a href="/cgi-bin/koha/acqui/addorderiso2709.pl?import_batch_id=[% duplinbatch %]&basketno=[% basketno %]&booksellerid=[% booksellerid %]" title="[% t('Open in new window') %]" target="_blank" class="popup" style="margin-left:10px">[% t('Display them') %]</a></p> |
342 |
</div>[% END %] |
343 |
</div>[% END %] |
343 |
|
344 |
|
344 |
<div id="acqui_basket_content" class="yui-g"> |
345 |
<div id="acqui_basket_content" class="yui-g"> |
345 |
[% IF ( books_loop ) %] |
346 |
[% IF ( books_loop ) %] |
346 |
<h2>Orders</h2> |
347 |
<h2>[% t('Orders') %]</h2> |
347 |
<label for="show_all_details"> |
348 |
<label for="show_all_details"> |
348 |
<input type="checkbox" style="vertical-align: middle;" id="show_all_details" /> |
349 |
<input type="checkbox" style="vertical-align: middle;" id="show_all_details" /> |
349 |
Show all details |
350 |
[% t('Show all details') %] |
350 |
</label> |
351 |
</label> |
351 |
<table id="orders"> |
352 |
<table id="orders"> |
352 |
<thead> |
353 |
<thead> |
353 |
<tr> |
354 |
<tr> |
354 |
<th>No.</th> |
355 |
<th>[% t('No.') %]</th> |
355 |
<th class="anti-the">Order</th> |
356 |
<th class="anti-the">[% t('Order') %]</th> |
356 |
<th class="tax_excluded">RRP tax exc.</th> |
357 |
<th class="tax_excluded">[% t('RRP tax exc.') %]</th> |
357 |
<th class="tax_excluded">ecost tax exc.</th> |
358 |
<th class="tax_excluded">[% t('ecost tax exc.') %]</th> |
358 |
<th class="tax_included">RRP tax inc.</th> |
359 |
<th class="tax_included">[% t('RRP tax inc.') %]</th> |
359 |
<th class="tax_included">ecost tax inc.</th> |
360 |
<th class="tax_included">[% t('ecost tax inc.') %]</th> |
360 |
<th>Qty.</th> |
361 |
<th>[% t('Qty.') %]</th> |
361 |
<th class="tax_excluded">Total tax exc. ([% currency %])</th> |
362 |
<th class="tax_excluded">[% t('Total tax exc. (') %][% currency %])</th> |
362 |
<th class="tax_included">Total tax inc. ([% currency %])</th> |
363 |
<th class="tax_included">[% t('Total tax inc. (') %][% currency %])</th> |
363 |
<th>GST %</th> |
364 |
<th>[% t('GST %') %]</th> |
364 |
<th>GST</th> |
365 |
<th>[% t('GST') %]</th> |
365 |
<th>Fund</th> |
366 |
<th>[% t('Fund') %]</th> |
366 |
<th>Supplier report</th> |
367 |
<th>[% t('Supplier report') %]</th> |
367 |
[% IF ( active ) %] |
368 |
[% IF ( active ) %] |
368 |
[% UNLESS ( closedate ) %] |
369 |
[% UNLESS ( closedate ) %] |
369 |
<th>Modify</th> |
370 |
<th>[% t('Modify') %]</th> |
370 |
<th>Cancel order</th> |
371 |
<th>[% t('Cancel order') %]</th> |
371 |
[% END %] |
372 |
[% END %] |
372 |
[% END %] |
373 |
[% END %] |
373 |
</tr> |
374 |
</tr> |
Lines 376-419
Link Here
|
376 |
[% FOREACH foot_loo IN book_foot_loop %] |
377 |
[% FOREACH foot_loo IN book_foot_loop %] |
377 |
<tr> |
378 |
<tr> |
378 |
<th></th> |
379 |
<th></th> |
379 |
<th>Total (GST [% foot_loo.tax_rate * 100 %])</th> |
380 |
<th>[% t('Total (GST') %] [% foot_loo.tax_rate * 100 %])</th> |
380 |
<th class="tax_excluded"> </th> |
381 |
<th class="tax_excluded"> </th> |
381 |
<th class="tax_excluded"> </th> |
382 |
<th class="tax_excluded"> </th> |
382 |
<th class="tax_included"> </th> |
383 |
<th class="tax_included"> </th> |
383 |
<th class="tax_included"> </th> |
384 |
<th class="tax_included"> </th> |
384 |
<th>[% foot_loo.quantity %]</th> |
385 |
<th>[% foot_loo.quantity %]</th> |
385 |
<th class="tax_excluded">[% foot_loo.total_tax_excluded | $Price%]</th> |
386 |
<th class="tax_excluded">[% foot_loo.total_tax_excluded | $Price%]</th> |
386 |
<th class="tax_included">[% foot_loo.total_tax_included | $Price %]</th> |
387 |
<th class="tax_included">[% foot_loo.total_tax_included | $Price %]</th> |
387 |
<th> </th> |
388 |
<th> </th> |
388 |
<th>[% foot_loo.tax_value | $Price %]</th> |
389 |
<th>[% foot_loo.tax_value | $Price %]</th> |
389 |
<th> </th> |
390 |
<th> </th> |
390 |
<th> </th> |
391 |
<th> </th> |
391 |
[% IF ( active ) %] |
392 |
[% IF ( active ) %] |
392 |
[% UNLESS ( closedate ) %] |
393 |
[% UNLESS ( closedate ) %] |
393 |
<th> </th> |
394 |
<th> </th> |
394 |
<th> </th> |
395 |
<th> </th> |
395 |
[% END %] |
396 |
[% END %] |
396 |
[% END %] |
397 |
[% END %] |
397 |
</tr> |
398 |
</tr> |
398 |
[% END %] |
399 |
[% END %] |
399 |
<tr> |
400 |
<tr> |
400 |
<th></th> |
401 |
<th></th> |
401 |
<th>Total ([% currency %])</th> |
402 |
<th>[% t('Total (') %][% currency %])</th> |
402 |
<th class="tax_excluded"> </th> |
403 |
<th class="tax_excluded"> </th> |
403 |
<th class="tax_excluded"> </th> |
404 |
<th class="tax_excluded"> </th> |
404 |
<th class="tax_included"> </th> |
405 |
<th class="tax_included"> </th> |
405 |
<th class="tax_included"> </th> |
406 |
<th class="tax_included"> </th> |
406 |
<th>[% total_quantity %]</th> |
407 |
<th>[% total_quantity %]</th> |
407 |
<th class="tax_excluded">[% total_tax_excluded | $Price %]</th> |
408 |
<th class="tax_excluded">[% total_tax_excluded | $Price %]</th> |
408 |
<th class="tax_included">[% total_tax_included | $Price %]</th> |
409 |
<th class="tax_included">[% total_tax_included | $Price %]</th> |
409 |
<th> </th> |
410 |
<th> </th> |
410 |
<th>[% total_tax_value | $Price %]</th> |
411 |
<th>[% total_tax_value | $Price %]</th> |
411 |
<th> </th> |
412 |
<th> </th> |
412 |
<th> </th> |
413 |
<th> </th> |
413 |
[% IF ( active ) %] |
414 |
[% IF ( active ) %] |
414 |
[% UNLESS ( closedate ) %] |
415 |
[% UNLESS ( closedate ) %] |
415 |
<th> </th> |
416 |
<th> </th> |
416 |
<th> </th> |
417 |
<th> </th> |
417 |
[% END %] |
418 |
[% END %] |
418 |
[% END %] |
419 |
[% END %] |
419 |
</tr> |
420 |
</tr> |
Lines 430-440
Link Here
|
430 |
</td> |
431 |
</td> |
431 |
<td> |
432 |
<td> |
432 |
<p> |
433 |
<p> |
433 |
[% IF ( books_loo.order_received ) %] (rcvd)[% END %] |
434 |
[% IF ( books_loo.order_received ) %] [% t('(rcvd)') %][% END %] |
434 |
[% IF books_loo.title %] |
435 |
[% IF books_loo.title %] |
435 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a>[% IF books_loo.author %] by [% books_loo.author %][% END %] |
436 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a>[% IF books_loo.author %] [% t('by') %] [% books_loo.author %][% END %] |
436 |
[% ELSE %] |
437 |
[% ELSE %] |
437 |
<em>Deleted bibliographic record, can't find title</em><br /> |
438 |
<em>[% t('Deleted bibliographic record, can\'t find title') %]</em><br /> |
438 |
[% END %] |
439 |
[% END %] |
439 |
<br /> |
440 |
<br /> |
440 |
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] |
441 |
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] |
Lines 444-472
Link Here
|
444 |
[% ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate %][% END %] |
445 |
[% ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate %][% END %] |
445 |
[% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] |
446 |
[% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] |
446 |
[% IF ( books_loo.suggestionid ) %] |
447 |
[% IF ( books_loo.suggestionid ) %] |
447 |
<br/> |
448 |
<br /> |
448 |
Suggested by: [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %] |
449 |
[% t('Suggested by:') %] [% books_loo.surnamesuggestedby %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby %] [% END %] |
449 |
(<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid %]&op=show">suggestion #[% books_loo.suggestionid %]</a>) |
450 |
(<a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% books_loo.suggestionid %]&op=show">[% t('suggestion #') %][% books_loo.suggestionid %]</a>) |
450 |
[% END %] |
451 |
[% END %] |
451 |
</p> |
452 |
</p> |
452 |
[% IF ( books_loo.order_internalnote ) %] |
453 |
[% IF ( books_loo.order_internalnote ) %] |
453 |
<p class="ordernote"><strong>Internal note: </strong>[% books_loo.order_internalnote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Change internal note</a>]</p> |
454 |
<p class="ordernote"><strong>[% t('Internal note:') %] </strong>[% books_loo.order_internalnote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">[% t('Change internal note') %]</a>]</p> |
454 |
[% ELSE %] |
455 |
[% ELSE %] |
455 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">Add internal note</a>] |
456 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=internal">[% t('Add internal note') %]</a>] |
456 |
[% END %] |
457 |
[% END %] |
457 |
[% IF ( books_loo.order_vendornote ) %] |
458 |
[% IF ( books_loo.order_vendornote ) %] |
458 |
<p class="ordernote"><strong>Vendor note: </strong>[% books_loo.order_vendornote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Change vendor note</a>]</p> |
459 |
<p class="ordernote"><strong>[% t('Vendor note:') %] </strong>[% books_loo.order_vendornote|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">[% t('Change vendor note') %]</a>]</p> |
459 |
[% ELSE %] |
460 |
[% ELSE %] |
460 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">Add vendor note</a>] |
461 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber %]&type=vendor">[% t('Add vendor note') %]</a>] |
461 |
[% END %] |
462 |
[% END %] |
462 |
[% IF (books_loo.transferred_from) %] |
463 |
[% IF (books_loo.transferred_from) %] |
463 |
[% basket = books_loo.transferred_from.basket %] |
464 |
[% basket = books_loo.transferred_from.basket %] |
464 |
[% bookseller = books_loo.transferred_from.bookseller %] |
465 |
[% bookseller = books_loo.transferred_from.bookseller %] |
465 |
[% timestamp = books_loo.transferred_from.timestamp %] |
466 |
[% timestamp = books_loo.transferred_from.timestamp %] |
466 |
<p>Transferred from basket: |
467 |
<p>[% t('Transferred from basket:') %] |
467 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]"> [% basket.basketname %]</a> |
468 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]"> [% basket.basketname %]</a> |
468 |
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>) |
469 |
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>) |
469 |
on <span title="[% timestamp | $KohaDates with_hours = 1 %]"> |
470 |
[% t('on') %] <span title="[% timestamp | $KohaDates with_hours = 1 %]"> |
470 |
[% timestamp | $KohaDates %] |
471 |
[% timestamp | $KohaDates %] |
471 |
</span> |
472 |
</span> |
472 |
</p> |
473 |
</p> |
Lines 488-521
Link Here
|
488 |
[% IF ( active ) %] |
489 |
[% IF ( active ) %] |
489 |
[% UNLESS ( closedate ) %] |
490 |
[% UNLESS ( closedate ) %] |
490 |
<td> |
491 |
<td> |
491 |
<a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% basketno %]">Modify</a> |
492 |
<a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber %]&booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('Modify') %]</a> |
492 |
[% UNLESS (books_loo.order_received) %] |
493 |
[% UNLESS (books_loo.order_received) %] |
493 |
<br /> |
494 |
<br /> |
494 |
<a href="#" class="transfer_order" data-ordernumber="[% books_loo.ordernumber %]">Transfer</a> |
495 |
<a href="#" class="transfer_order" data-ordernumber="[% books_loo.ordernumber %]">[% t('Transfer') %]</a> |
495 |
[% END %] |
496 |
[% END %] |
496 |
</td> |
497 |
</td> |
497 |
<td> |
498 |
<td> |
498 |
[% IF ( books_loo.left_holds_on_order ) %] |
499 |
[% IF ( books_loo.left_holds_on_order ) %] |
499 |
<span class="button" title="Can't cancel order, ([% books_loo.holds_on_order %]) holds are linked with this order cancel holds first">Can't cancel order</span><br> |
500 |
<span class="button" title="[% t('Can\'t cancel order, (') %][% books_loo.holds_on_order %][% t(') holds are linked with this order cancel holds first') %]">[% t('Can\'t cancel order') %]</span><br> |
500 |
[% ELSE %] |
501 |
[% ELSE %] |
501 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&basketno=[% basketno %]&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Cancel order</a><br> |
502 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&basketno=[% basketno %]&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">[% t('Cancel order') %]</a><br> |
502 |
[% END %] |
503 |
[% END %] |
503 |
[% IF ( books_loo.can_del_bib ) %] |
504 |
[% IF ( books_loo.can_del_bib ) %] |
504 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&basketno=[% basketno %]&del_biblio=1&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Cancel order and delete catalog record</a><br> |
505 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&basketno=[% basketno %]&del_biblio=1&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">[% t('Cancel order and delete catalog record') %]</a><br> |
505 |
[% ELSE %] |
506 |
[% ELSE %] |
506 |
<span class="button" title="Can't delete catalog record, see constraints below">Can't cancel order and delete catalog record</span><br> |
507 |
<span class="button" title="[% t('Can\'t delete catalog record, see constraints below') %]">[% t('Can\'t cancel order and delete catalog record') %]</span><br> |
507 |
[% END %] |
508 |
[% END %] |
508 |
[% IF ( books_loo.left_item ) %] |
509 |
[% IF ( books_loo.left_item ) %] |
509 |
<b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br> |
510 |
<b title="[% t('Can\'t delete catalog record, because of') %] [% books_loo.items %] [% t('existing hold(s)') %]">[% books_loo.items %] [% t('item(s) left') %]</b><br> |
510 |
[% END %] |
511 |
[% END %] |
511 |
[% IF ( books_loo.left_biblio ) %] |
512 |
[% IF ( books_loo.left_biblio ) %] |
512 |
<b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br> |
513 |
<b title="[% t('Can\'t delete catalog record, delete other orders linked to it first') %]">[% books_loo.biblios %] [% t('order(s) left') %]</b><br> |
513 |
[% END %] |
514 |
[% END %] |
514 |
[% IF ( books_loo.left_subscription ) %] |
515 |
[% IF ( books_loo.left_subscription ) %] |
515 |
<b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br> |
516 |
<b title="[% t('Can\'t delete catalog record, delete subscriptions first') %]">[% books_loo.subscriptions %] [% t('subscription(s) left') %]</b><br> |
516 |
[% END %] |
517 |
[% END %] |
517 |
[% IF ( books_loo.left_holds ) %] |
518 |
[% IF ( books_loo.left_holds ) %] |
518 |
<b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b> |
519 |
<b title="[% t('Can\'t delete catalog record or order, cancel holds first') %]">[% books_loo.holds %] [% t('hold(s) left') %]</b> |
519 |
[% END %] |
520 |
[% END %] |
520 |
</td> |
521 |
</td> |
521 |
[% END %] |
522 |
[% END %] |
Lines 525-551
Link Here
|
525 |
</tbody> |
526 |
</tbody> |
526 |
</table> |
527 |
</table> |
527 |
[% END %] |
528 |
[% END %] |
528 |
[% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small> |
529 |
[% IF ( listincgst ) %]<small class="highlight">[% t('** Vendor\'s listings already include tax.') %]</small> |
529 |
[% END %] |
530 |
[% END %] |
530 |
</div> |
531 |
</div> |
531 |
[% IF (cancelledorders_loop) %] |
532 |
[% IF (cancelledorders_loop) %] |
532 |
<div id="cancelledorders"> |
533 |
<div id="cancelledorders"> |
533 |
<h2>Cancelled orders</h2> |
534 |
<h2>[% t('Cancelled orders') %]</h2> |
534 |
<table id="cancelledorderst"> |
535 |
<table id="cancelledorderst"> |
535 |
<thead> |
536 |
<thead> |
536 |
<tr> |
537 |
<tr> |
537 |
<th>No.</th> |
538 |
<th>[% t('No.') %]</th> |
538 |
<th>Order</th> |
539 |
<th>[% t('Order') %]</th> |
539 |
<th class="tax_excluded">RRP tax exc.</th> |
540 |
<th class="tax_excluded">[% t('RRP tax exc.') %]</th> |
540 |
<th class="tax_excluded">ecost tax exc.</th> |
541 |
<th class="tax_excluded">[% t('ecost tax exc.') %]</th> |
541 |
<th class="tax_included">RRP tax inc.</th> |
542 |
<th class="tax_included">[% t('RRP tax inc.') %]</th> |
542 |
<th class="tax_included">ecost tax inc.</th> |
543 |
<th class="tax_included">[% t('ecost tax inc.') %]</th> |
543 |
<th>Qty.</th> |
544 |
<th>[% t('Qty.') %]</th> |
544 |
<th class="tax_excluded">Total tax exc. ([% currency %])</th> |
545 |
<th class="tax_excluded">[% t('Total tax exc. (') %][% currency %])</th> |
545 |
<th class="tax_included">Total tax inc. ([% currency %])</th> |
546 |
<th class="tax_included">[% t('Total tax inc. (') %][% currency %])</th> |
546 |
<th>GST %</th> |
547 |
<th>[% t('GST %') %]</th> |
547 |
<th>GST</th> |
548 |
<th>[% t('GST') %]</th> |
548 |
<th>Fund</th> |
549 |
<th>[% t('Fund') %]</th> |
549 |
</tr> |
550 |
</tr> |
550 |
</thead> |
551 |
</thead> |
551 |
<tbody> |
552 |
<tbody> |
Lines 556-566
Link Here
|
556 |
</td> |
557 |
</td> |
557 |
<td> |
558 |
<td> |
558 |
<p> |
559 |
<p> |
559 |
[% IF ( order.order_received ) %] (rcvd)[% END %] |
560 |
[% IF ( order.order_received ) %] [% t('(rcvd)') %][% END %] |
560 |
[% IF (order.title) %] |
561 |
[% IF (order.title) %] |
561 |
[% order.title |html %][% IF order.author %] by [% order.author %][% END %] |
562 |
[% order.title |html %][% IF order.author %] [% t('by') %] [% order.author %][% END %] |
562 |
[% ELSE %] |
563 |
[% ELSE %] |
563 |
<em>Deleted bibliographic record, can't find title</em> |
564 |
<em>[% t('Deleted bibliographic record, can\'t find title') %]</em> |
564 |
[% END %] |
565 |
[% END %] |
565 |
<br /> |
566 |
<br /> |
566 |
[% IF ( order.order_internalnote ) %] [% order.order_internalnote %][% END %] |
567 |
[% IF ( order.order_internalnote ) %] [% order.order_internalnote %][% END %] |
Lines 572-588
Link Here
|
572 |
[% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] |
573 |
[% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %] |
573 |
[% IF ( order.cancellationreason ) %] |
574 |
[% IF ( order.cancellationreason ) %] |
574 |
<br /> |
575 |
<br /> |
575 |
Cancellation reason: [% AuthorisedValues.GetByCode( 'ORDER_CANCELLATION_REASON', order.cancellationreason ) %] |
576 |
[% t('Cancellation reason:') %] [% AuthorisedValues.GetByCode( 'ORDER_CANCELLATION_REASON', order.cancellationreason ) %] |
576 |
[% END %] |
577 |
[% END %] |
577 |
</p> |
578 |
</p> |
578 |
[% IF order.transferred_to %] |
579 |
[% IF order.transferred_to %] |
579 |
[% basket = order.transferred_to.basket %] |
580 |
[% basket = order.transferred_to.basket %] |
580 |
[% bookseller = order.transferred_to.bookseller %] |
581 |
[% bookseller = order.transferred_to.bookseller %] |
581 |
[% timestamp = order.transferred_to.timestamp %] |
582 |
[% timestamp = order.transferred_to.timestamp %] |
582 |
<p>Transferred to basket: |
583 |
<p>[% t('Transferred to basket:') %] |
583 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]"> [% basket.basketname %]</a> |
584 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]"> [% basket.basketname %]</a> |
584 |
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>) |
585 |
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id %]">[% bookseller.name %]</a>) |
585 |
on <span title="[% timestamp | $KohaDates with_hours = 1%]"> |
586 |
[% t('on') %] <span title="[% timestamp | $KohaDates with_hours = 1%]"> |
586 |
[% timestamp | $KohaDates %] |
587 |
[% timestamp | $KohaDates %] |
587 |
</span> |
588 |
</span> |
588 |
</p> |
589 |
</p> |
Lines 617-623
Link Here
|
617 |
[% END %] |
618 |
[% END %] |
618 |
</div> |
619 |
</div> |
619 |
<div class="modal-footer"> |
620 |
<div class="modal-footer"> |
620 |
<a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a> |
621 |
<a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</a> |
621 |
</div> |
622 |
</div> |
622 |
</div> |
623 |
</div> |
623 |
</div> |
624 |
</div> |
Lines 632-642
Link Here
|
632 |
<div id="closebasket_needsconfirmation" class="dialog alert"> |
633 |
<div id="closebasket_needsconfirmation" class="dialog alert"> |
633 |
|
634 |
|
634 |
<form action="/cgi-bin/koha/acqui/basket.pl"> |
635 |
<form action="/cgi-bin/koha/acqui/basket.pl"> |
635 |
<h1>Are you sure you want to close basket [% basketname|html %]?</h1> |
636 |
<h1>[% t('Are you sure you want to close basket') %] [% basketname|html %]?</h1> |
636 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
637 |
[% IF ( CAN_user_acquisition_group_manage ) %] |
637 |
<p> |
638 |
<p> |
638 |
<label for="createbasketgroup">Attach this basket to a new basket group with the same name</label> |
639 |
<label for="createbasketgroup">[% t('Attach this basket to a new basket group with the same name') %]</label> |
639 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
640 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup" /> |
640 |
</p> |
641 |
</p> |
641 |
[% END %] |
642 |
[% END %] |
642 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
643 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
Lines 644-654
Link Here
|
644 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
645 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
645 |
<input type="hidden" name="confirm" value="1" /> |
646 |
<input type="hidden" name="confirm" value="1" /> |
646 |
<input type="hidden" name="basketgroupname" value="[% basketgroupname %]" /> |
647 |
<input type="hidden" name="basketgroupname" value="[% basketgroupname %]" /> |
647 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, close (Y)</button> |
648 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> [% t('Yes, close (Y)') %]</button> |
648 |
</form> |
649 |
</form> |
649 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
650 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
650 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
651 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
651 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button> |
652 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> [% t('No, don\'t close (N)') %]</button> |
652 |
</form> |
653 |
</form> |
653 |
</div> |
654 |
</div> |
654 |
[% END %] |
655 |
[% END %] |
Lines 656-666
Link Here
|
656 |
<div id="closebasket_needsconfirmation" class="dialog alert"> |
657 |
<div id="closebasket_needsconfirmation" class="dialog alert"> |
657 |
|
658 |
|
658 |
<form action="/cgi-bin/koha/acqui/basket.pl"> |
659 |
<form action="/cgi-bin/koha/acqui/basket.pl"> |
659 |
<h1>Are you sure you want to generate an EDIFACT order and close basket [% basketname|html %]?</h1> |
660 |
<h1>[% t('Are you sure you want to generate an EDIFACT order and close basket') %] [% basketname|html %]?</h1> |
660 |
[% IF CAN_user_acquisition_group_manage %] |
661 |
[% IF CAN_user_acquisition_group_manage %] |
661 |
<p> |
662 |
<p> |
662 |
<label for="createbasketgroup">Attach this basket to a new basket group with the same name</label> |
663 |
<label for="createbasketgroup">[% t('Attach this basket to a new basket group with the same name') %]</label> |
663 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup"/> |
664 |
<input type="checkbox" id="createbasketgroup" name="createbasketgroup" /> |
664 |
</p> |
665 |
</p> |
665 |
[% END %] |
666 |
[% END %] |
666 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
667 |
<input type="hidden" id="basketno" value="[% basketno %]" name="basketno" /> |
Lines 669-679
Link Here
|
669 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
670 |
<input type="hidden" name="booksellerid" value="[% booksellerid %]" /> |
670 |
<input type="hidden" name="confirm" value="1" /> |
671 |
<input type="hidden" name="confirm" value="1" /> |
671 |
<input type="hidden" name="basketgroupname" value="[% basketgroupname %]" /> |
672 |
<input type="hidden" name="basketgroupname" value="[% basketgroupname %]" /> |
672 |
<button type="submit" class="approve" accesskey="Y"><i class="fa fa-fw fa-check"></i> Yes, close (Y)</button> |
673 |
<button type="submit" class="approve" accesskey="Y"><i class="fa fa-fw fa-check"></i> [% t('Yes, close (Y)') %]</button> |
673 |
</form> |
674 |
</form> |
674 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
675 |
<form action="/cgi-bin/koha/acqui/basket.pl" method="get"> |
675 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
676 |
<input type="hidden" name="basketno" value="[% basketno %]" /> |
676 |
<button type="submit" class="deny" accesskey="N"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button> |
677 |
<button type="submit" class="deny" accesskey="N"><i class="fa fa-fw fa-remove"></i> [% t('No, don\'t close (N)') %]</button> |
677 |
</form> |
678 |
</form> |
678 |
</div> |
679 |
</div> |
679 |
[% END %] |
680 |
[% END %] |