Lines 14-19
Link Here
|
14 |
dt_overwrite_html_sorting_localeCompare(); |
14 |
dt_overwrite_html_sorting_localeCompare(); |
15 |
|
15 |
|
16 |
$(document).ready(function(){ |
16 |
$(document).ready(function(){ |
|
|
17 |
if ( $("#pendingt").length ) { |
17 |
var pendingt = $("#pendingt").dataTable($.extend(true, {}, dataTablesDefaults, { |
18 |
var pendingt = $("#pendingt").dataTable($.extend(true, {}, dataTablesDefaults, { |
18 |
"bStateSave": true, |
19 |
"bStateSave": true, |
19 |
"iCookieDuration": 60*60*24*1000, // 1000 days |
20 |
"iCookieDuration": 60*60*24*1000, // 1000 days |
Lines 35-40
Link Here
|
35 |
], |
36 |
], |
36 |
"sPaginationType": "four_button" |
37 |
"sPaginationType": "four_button" |
37 |
} ) ); |
38 |
} ) ); |
|
|
39 |
} |
40 |
if ( $("#receivedt").length ) { |
38 |
var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, { |
41 |
var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, { |
39 |
"bStateSave": true, |
42 |
"bStateSave": true, |
40 |
"iCookieDuration": 60*60*24*1000, // 1000 days |
43 |
"iCookieDuration": 60*60*24*1000, // 1000 days |
Lines 55-65
Link Here
|
55 |
], |
58 |
], |
56 |
"sPaginationType": "four_button" |
59 |
"sPaginationType": "four_button" |
57 |
} ) ); |
60 |
} ) ); |
58 |
/* |
61 |
} |
59 |
$("#pendingt").tablesorter({ |
|
|
60 |
headers: { 2: { sorter: 'articles' },3: { sorter: false },8:{sorter:false}} |
61 |
}); |
62 |
*/ |
63 |
|
62 |
|
64 |
}); |
63 |
}); |
65 |
|
64 |
|
Lines 144-150
Link Here
|
144 |
[% END %] |
143 |
[% END %] |
145 |
|
144 |
|
146 |
[% IF (error_cancelling_receipt) %] |
145 |
[% IF (error_cancelling_receipt) %] |
147 |
<div class="error"> |
146 |
<div class="dialog error"> |
148 |
Cannot cancel receipt. Possible reasons : |
147 |
Cannot cancel receipt. Possible reasons : |
149 |
<ul> |
148 |
<ul> |
150 |
<li> |
149 |
<li> |
Lines 161-166
Link Here
|
161 |
</div> |
160 |
</div> |
162 |
[% END %] |
161 |
[% END %] |
163 |
|
162 |
|
|
|
163 |
[% IF error_invoice_not_known %] |
164 |
<div class="dialog error"> |
165 |
The invoice referenced by this invoiceid does not exist. |
166 |
</div> |
167 |
[% END %] |
168 |
|
169 |
[% UNLESS no_orders_to_display %] |
164 |
<div id="acqui_receive_summary"> |
170 |
<div id="acqui_receive_summary"> |
165 |
<p><strong>Invoice number:</strong> [% invoice %] <strong>Received by:</strong> [% loggedinusername %] <strong>On:</strong> [% formatteddatereceived %]</p> |
171 |
<p><strong>Invoice number:</strong> [% invoice %] <strong>Received by:</strong> [% loggedinusername %] <strong>On:</strong> [% formatteddatereceived %]</p> |
166 |
</div> |
172 |
</div> |
Lines 200-208
Link Here
|
200 |
[% END %] |
206 |
[% END %] |
201 |
<br /> |
207 |
<br /> |
202 |
[% IF ( loop_order.notes ) %] |
208 |
[% IF ( loop_order.notes ) %] |
203 |
<p class="ordernote"><strong>Note: </strong>[% loop_order.notes|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&referrer=/cgi-bin/koha/acqui/parcel.pl%3Fbooksellerid=[% loop_order.booksellerid %]&datereceived=[% loop_order.invoicedatereceived %]&invoice=[% loop_order.invoice %]">Change note</a>]</p> |
209 |
<p class="ordernote"><strong>Note: </strong>[% loop_order.notes|html %] [<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]">Change note</a>]</p> |
204 |
[% ELSE %] |
210 |
[% ELSE %] |
205 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&referrer=/cgi-bin/koha/acqui/parcel.pl%3Fbooksellerid=[% loop_order.booksellerid %]&datereceived=[% loop_order.invoicedatereceived %]&invoice=[% loop_order.invoice %]">Add note</a>] |
211 |
[<a href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% loop_order.ordernumber %]&referrer=/cgi-bin/koha/acqui/parcel.pl%3Finvoiceid=[% invoiceid %]">Add note</a>] |
206 |
[% END %] |
212 |
[% END %] |
207 |
</td> |
213 |
</td> |
208 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% loop_order.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% loop_order.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a></td> |
214 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% loop_order.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% loop_order.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a></td> |
Lines 333-339
Link Here
|
333 |
[% ELSE %]There are no received orders.[% END %] |
339 |
[% ELSE %]There are no received orders.[% END %] |
334 |
</div> |
340 |
</div> |
335 |
|
341 |
|
336 |
<!--<form action="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid %]" method="post">--> |
|
|
337 |
[% IF (invoiceclosedate) %] |
342 |
[% IF (invoiceclosedate) %] |
338 |
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">View invoice</a> |
343 |
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">View invoice</a> |
339 |
[% ELSE %] |
344 |
[% ELSE %] |
Lines 345-352
Link Here
|
345 |
</form> |
350 |
</form> |
346 |
[% END %] |
351 |
[% END %] |
347 |
|
352 |
|
|
|
353 |
[% END %] |
354 |
|
348 |
</div> |
355 |
</div> |
349 |
</div> |
356 |
</div> |
|
|
357 |
|
358 |
|
350 |
<div class="yui-b"> |
359 |
<div class="yui-b"> |
351 |
<form action="/cgi-bin/koha/acqui/parcel.pl" id="filterform" method="post"> |
360 |
<form action="/cgi-bin/koha/acqui/parcel.pl" id="filterform" method="post"> |
352 |
<fieldset class="brief"> |
361 |
<fieldset class="brief"> |
353 |
- |
|
|