Lines 9-15
Link Here
|
9 |
<script type="text/javascript"> |
9 |
<script type="text/javascript"> |
10 |
//<![CDATA[ |
10 |
//<![CDATA[ |
11 |
$(document).ready(function() { |
11 |
$(document).ready(function() { |
12 |
[% UNLESS ( preview ) %] |
|
|
13 |
var sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
var sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
14 |
"sDom": 't', |
13 |
"sDom": 't', |
15 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
Lines 19-25
Link Here
|
19 |
], |
18 |
], |
20 |
"bPaginate": false |
19 |
"bPaginate": false |
21 |
})); |
20 |
})); |
22 |
[% END %] |
|
|
23 |
$('#supplierid').change(function() { |
21 |
$('#supplierid').change(function() { |
24 |
$('#claims').submit(); |
22 |
$('#claims').submit(); |
25 |
}); |
23 |
}); |
Lines 148-170
Link Here
|
148 |
$("table#claimst tbody tr").show(); |
146 |
$("table#claimst tbody tr").show(); |
149 |
} |
147 |
} |
150 |
|
148 |
|
151 |
function popup(supplierid,serialid){ |
|
|
152 |
window.open('claims.pl?supplierid='+ supplierid +'&serialid='+ serialid +'&op=preview' ,'popup', 'width=600,height=400,toolbar=no,scrollbars=yes'); |
153 |
} |
154 |
|
155 |
//]]> |
149 |
//]]> |
156 |
</script> |
150 |
</script> |
157 |
</head> |
151 |
</head> |
158 |
<body id="ser_claims" class="ser"> |
152 |
<body id="ser_claims" class="ser"> |
159 |
[% INCLUDE 'header.inc' %] |
153 |
[% INCLUDE 'header.inc' %] |
160 |
[% UNLESS ( preview ) %] |
|
|
161 |
[% INCLUDE 'serials-search.inc' %] |
154 |
[% INCLUDE 'serials-search.inc' %] |
162 |
[% END %] |
|
|
163 |
|
155 |
|
164 |
<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 |
<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> |
165 |
|
157 |
|
166 |
[% UNLESS ( preview ) %] |
|
|
167 |
|
168 |
<div id="doc3" class="yui-t2"> |
158 |
<div id="doc3" class="yui-t2"> |
169 |
|
159 |
|
170 |
<div id="bd"> |
160 |
<div id="bd"> |
Lines 354-430
Link Here
|
354 |
</fieldset> |
344 |
</fieldset> |
355 |
[% END %] |
345 |
[% END %] |
356 |
|
346 |
|
357 |
[% ELSE %] |
|
|
358 |
|
359 |
<div id="doc" class="yui-t7"> |
360 |
<div id="bd"> |
361 |
|
362 |
[% IF ( supplierloop ) %] |
363 |
[% FOREACH supplierloo IN supplierloop %] |
364 |
[% IF ( supplierloo.name ) %] |
365 |
<p><b>[% supplierloo.name %]</b><br /> |
366 |
[% END %] |
367 |
[% IF ( supplierloo.postal ) %] |
368 |
[% supplierloo.postal %]<br /> |
369 |
[% END %] |
370 |
[% IF ( supplierloo.contphone ) %] |
371 |
Ph: [% supplierloo.contphone %]<br /> |
372 |
[% END %] |
373 |
[% IF ( supplierloo.contfax ) %] |
374 |
Fax: [% supplierloo.contfax %]<br /> |
375 |
[% END %] |
376 |
[% IF ( supplierloo.contemail ) %] |
377 |
Email: [% supplierloo.contemail %]<br /> |
378 |
[% END %] |
379 |
[% IF ( supplierloo.accountnumber ) %] |
380 |
A/C: [% supplierloo.accountnumber %]</p> |
381 |
[% END %] |
382 |
[% IF ( supplierloo.contact ) %] |
383 |
<p>Dear [% supplierloo.contact %]</p> |
384 |
[% ELSE %] |
385 |
<p>To whom it may concern</p> |
386 |
[% END %] |
387 |
<p>The following items have not been received from you and are now considered missing:</p> |
388 |
[% END %] |
389 |
[% END %] |
390 |
[% IF ( missingissues ) %] |
391 |
<h3>Missing issues</h3> |
392 |
<table> |
393 |
<tr> |
394 |
<td><b>Vendor<b></td> |
395 |
<td><b>Title</b></td> |
396 |
<td><b>Issue number</b></td> |
397 |
<td><b>Missing since</b></td> |
398 |
</tr> |
399 |
[% FOREACH missingissue IN missingissues %] |
400 |
<tr> |
401 |
<td> |
402 |
[% missingissue.name %] |
403 |
</td> |
404 |
<td> |
405 |
[% missingissue.Title |html %] |
406 |
</td> |
407 |
<td> |
408 |
[% missingissue.serialseq %] |
409 |
</td> |
410 |
<td> |
411 |
[% missingissue.planneddate %] |
412 |
</td> |
413 |
</tr> |
414 |
[% END %] |
415 |
</table> |
416 |
[% END %] |
417 |
|
418 |
<p class="noprint"><a href="#" onclick="window.print(); return false;">Print</a> <a href="#" class="close">Close</a></p> |
419 |
[% END %] |
420 |
|
421 |
</div> |
347 |
</div> |
422 |
</div> |
348 |
</div> |
423 |
|
349 |
|
424 |
[% UNLESS ( preview ) %] |
|
|
425 |
<div class="yui-b"> |
350 |
<div class="yui-b"> |
426 |
[% INCLUDE 'serials-menu.inc' %] |
351 |
[% INCLUDE 'serials-menu.inc' %] |
427 |
</div> |
352 |
</div> |
428 |
[% END %] |
|
|
429 |
</div> |
353 |
</div> |
430 |
[% INCLUDE 'intranet-bottom.inc' %] |
354 |
[% INCLUDE 'intranet-bottom.inc' %] |