Lines 9-15
Link Here
|
9 |
<script type="text/javascript"> |
9 |
<script type="text/javascript"> |
10 |
//<![CDATA[ |
10 |
//<![CDATA[ |
11 |
[% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] |
11 |
[% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] |
12 |
$(document).ready(function() { |
12 |
$(document).ready(function() { |
13 |
[% UNLESS ( preview ) %] |
13 |
[% UNLESS ( preview ) %] |
14 |
var sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
14 |
var sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
15 |
"sDom": 't', |
15 |
"sDom": 't', |
Lines 19-27
Link Here
|
19 |
"bPaginate": false |
19 |
"bPaginate": false |
20 |
})); |
20 |
})); |
21 |
[% END %] |
21 |
[% END %] |
22 |
$('#supplierid').change(function() { |
22 |
$('#supplierid').change(function() { |
23 |
$('#claims').submit(); |
23 |
$('#claims').submit(); |
24 |
}); |
24 |
}); |
25 |
|
25 |
|
26 |
// Checkboxes : Select All / None |
26 |
// Checkboxes : Select All / None |
27 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check All")+"</input>"); |
27 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check All")+"</input>"); |
Lines 139-161
Link Here
|
139 |
$("table#claimst tbody tr").show(); |
139 |
$("table#claimst tbody tr").show(); |
140 |
} |
140 |
} |
141 |
|
141 |
|
142 |
function popup(supplierid,serialid){ |
|
|
143 |
window.open('claims.pl?supplierid='+ supplierid +'&serialid='+ serialid +'&op=preview' ,'popup', 'width=600,height=400,toolbar=no,scrollbars=yes'); |
144 |
} |
145 |
|
146 |
//]]> |
142 |
//]]> |
147 |
</script> |
143 |
</script> |
148 |
</head> |
144 |
</head> |
149 |
<body id="ser_claims" class="ser"> |
145 |
<body id="ser_claims" class="ser"> |
150 |
[% INCLUDE 'header.inc' %] |
146 |
[% INCLUDE 'header.inc' %] |
151 |
[% UNLESS ( preview ) %] |
|
|
152 |
[% INCLUDE 'serials-search.inc' %] |
147 |
[% INCLUDE 'serials-search.inc' %] |
153 |
[% END %] |
|
|
154 |
|
148 |
|
155 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Claims</div> |
149 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Claims</div> |
156 |
|
150 |
|
157 |
[% UNLESS ( preview ) %] |
|
|
158 |
|
159 |
<div id="doc3" class="yui-t2"> |
151 |
<div id="doc3" class="yui-t2"> |
160 |
|
152 |
|
161 |
<div id="bd"> |
153 |
<div id="bd"> |
Lines 320-396
Link Here
|
320 |
</fieldset> |
312 |
</fieldset> |
321 |
[% END %] |
313 |
[% END %] |
322 |
|
314 |
|
323 |
[% ELSE %] |
|
|
324 |
|
325 |
<div id="doc" class="yui-t7"> |
326 |
<div id="bd"> |
327 |
|
328 |
[% IF ( supplierloop ) %] |
329 |
[% FOREACH supplierloo IN supplierloop %] |
330 |
[% IF ( supplierloo.name ) %] |
331 |
<p><b>[% supplierloo.name %]</b><br /> |
332 |
[% END %] |
333 |
[% IF ( supplierloo.postal ) %] |
334 |
[% supplierloo.postal %]<br /> |
335 |
[% END %] |
336 |
[% IF ( supplierloo.contphone ) %] |
337 |
Ph: [% supplierloo.contphone %]<br /> |
338 |
[% END %] |
339 |
[% IF ( supplierloo.contfax ) %] |
340 |
Fax: [% supplierloo.contfax %]<br /> |
341 |
[% END %] |
342 |
[% IF ( supplierloo.contemail ) %] |
343 |
Email: [% supplierloo.contemail %]<br /> |
344 |
[% END %] |
345 |
[% IF ( supplierloo.accountnumber ) %] |
346 |
A/C: [% supplierloo.accountnumber %]</p> |
347 |
[% END %] |
348 |
[% IF ( supplierloo.contact ) %] |
349 |
<p>Dear [% supplierloo.contact %]</p> |
350 |
[% ELSE %] |
351 |
<p>To whom it may concern</p> |
352 |
[% END %] |
353 |
<p>The following items have not been received from you and are now considered missing:</p> |
354 |
[% END %] |
355 |
[% END %] |
356 |
[% IF ( missingissues ) %] |
357 |
<h3>Missing issues</h3> |
358 |
<table> |
359 |
<tr> |
360 |
<td><b>Vendor<b></td> |
361 |
<td><b>Title</b></td> |
362 |
<td><b>Issue number</b></td> |
363 |
<td><b>Missing since</b></td> |
364 |
</tr> |
365 |
[% FOREACH missingissue IN missingissues %] |
366 |
<tr> |
367 |
<td> |
368 |
[% missingissue.name %] |
369 |
</td> |
370 |
<td> |
371 |
[% missingissue.Title |html %] |
372 |
</td> |
373 |
<td> |
374 |
[% missingissue.serialseq %] |
375 |
</td> |
376 |
<td> |
377 |
[% missingissue.planneddate %] |
378 |
</td> |
379 |
</tr> |
380 |
[% END %] |
381 |
</table> |
382 |
[% END %] |
383 |
|
384 |
<p class="noprint"><a href="#" onclick="window.print(); return false;">Print</a> <a href="#" class="close">Close</a></p> |
385 |
[% END %] |
386 |
|
387 |
</div> |
315 |
</div> |
388 |
</div> |
316 |
</div> |
389 |
|
317 |
|
390 |
[% UNLESS ( preview ) %] |
|
|
391 |
<div class="yui-b"> |
318 |
<div class="yui-b"> |
392 |
[% INCLUDE 'serials-menu.inc' %] |
319 |
[% INCLUDE 'serials-menu.inc' %] |
393 |
</div> |
320 |
</div> |
394 |
[% END %] |
|
|
395 |
</div> |
321 |
</div> |
396 |
[% INCLUDE 'intranet-bottom.inc' %] |
322 |
[% INCLUDE 'intranet-bottom.inc' %] |