Lines 15-22
Link Here
|
15 |
<script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script> |
15 |
<script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script> |
16 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
16 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
17 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script> |
17 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script> |
|
|
18 |
<script type="text/javascript" src="[% themelang %]/js/checkouts.js"></script> |
18 |
<script type="text/JavaScript"> |
19 |
<script type="text/JavaScript"> |
19 |
//<![CDATA[ |
20 |
//<![CDATA[ |
|
|
21 |
/* Set some variable needed in circulation.js */ |
22 |
var interface = "[% interface %]"; |
23 |
var theme = "[% theme %]"; |
24 |
var borrowernumber = "[% borrowernumber %]"; |
25 |
var branchcode = "[% branch %]"; |
26 |
var exports_enabled = "[% exports_enabled %]"; |
27 |
var AllowRenewalLimitOverride = [% CAN_user_circulate_override_renewals && AllowRenewalLimitOverride %]; |
28 |
var relatives_borrowernumbers = new Array(); |
29 |
[% FOREACH b IN relatives_borrowernumbers %] |
30 |
relatives_borrowernumbers.push("[% b %]"); |
31 |
[% END %] |
32 |
|
20 |
$(document).ready(function() { |
33 |
$(document).ready(function() { |
21 |
$('#finesholdsissues').tabs({ |
34 |
$('#finesholdsissues').tabs({ |
22 |
// Correct table sizing for tables hidden in tabs |
35 |
// Correct table sizing for tables hidden in tabs |
Lines 28-50
$(document).ready(function() {
Link Here
|
28 |
} |
41 |
} |
29 |
} |
42 |
} |
30 |
} ); |
43 |
} ); |
31 |
$("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
|
|
32 |
"sDom": 't', |
33 |
"aoColumnDefs": [ |
34 |
{ "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false } |
35 |
], |
36 |
"aoColumns": [ |
37 |
{ "sType": "title-string" },null,null,{ "sType": "title-string" },null,null,null,null,null,null |
38 |
], |
39 |
"bPaginate": false |
40 |
})); |
41 |
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
42 |
"sDom": 't', |
43 |
"aoColumns": [ |
44 |
{ "sType": "title-string" },null,null,{ "sType": "title-string" },null,null,null,null,null |
45 |
], |
46 |
"bPaginate": false |
47 |
})); |
48 |
$("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, { |
44 |
$("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, { |
49 |
"sDom": 't', |
45 |
"sDom": 't', |
50 |
"aoColumnDefs": [ |
46 |
"aoColumnDefs": [ |
Lines 67-108
$(document).ready(function() {
Link Here
|
67 |
} |
63 |
} |
68 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
64 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
69 |
});[% END %] |
65 |
});[% END %] |
70 |
$("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); }); |
66 |
|
71 |
$("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
|
|
72 |
$("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
73 |
$("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
74 |
$("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
75 |
|
76 |
$("#relrenew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); }); |
77 |
$("#relCheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
78 |
$("#relCheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
79 |
$("#relCheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
80 |
$("#relCheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
81 |
|
82 |
|
83 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
84 |
[% IF ( AllowRenewalLimitOverride ) %] |
85 |
$( '#override_limit' ).click( function () { |
86 |
if ( this.checked ) { |
87 |
$( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide(); |
88 |
} else { |
89 |
$( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show(); |
90 |
} |
91 |
} ).attr( 'checked', false ); |
92 |
[% END %] |
93 |
[% END %] |
94 |
$("td").click(function(e){ |
95 |
if(e.target.tagName.toLowerCase() == 'td'){ |
96 |
$(this).find("input:checkbox").each( function() { |
97 |
$(this).attr('checked', !$(this).attr('checked')); |
98 |
if($(this).attr('checked')){ |
99 |
$(this).parent().siblings().find("input:checkbox").each(function(){ |
100 |
if($(this).attr('checked')){ $(this).removeAttr('checked'); } |
101 |
}); |
102 |
} |
103 |
}); |
104 |
} |
105 |
}); |
106 |
$("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today |
67 |
$("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today |
107 |
$("#newduedate").datetimepicker({ |
68 |
$("#newduedate").datetimepicker({ |
108 |
minDate: 1, // require that renewal date is after today |
69 |
minDate: 1, // require that renewal date is after today |
Lines 427-614
function validate1(date) {
Link Here
|
427 |
|
388 |
|
428 |
<div id="finesholdsissues" class="toptabs"> |
389 |
<div id="finesholdsissues" class="toptabs"> |
429 |
<ul> |
390 |
<ul> |
430 |
<li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li> |
391 |
<li><a href="#checkouts">[% issueloop.size %] Checkout(s)</a></li> |
431 |
[% IF relissueloop.size %] |
392 |
[% IF relatives_issues_count %] |
432 |
<li><a href="#relissues">Relatives' Checkouts</a></li> |
393 |
<li><a href="#relatives-issues" id="relatives-issues-tab">Relatives' checkouts</a></li> |
433 |
[% END %] |
394 |
[% END %] |
434 |
<li><a href="#finesandcharges">Fines & Charges</a></li> |
395 |
<li><a href="#finesandcharges">Fines & Charges</a></li> |
435 |
<li>[% IF ( countreserv ) %] |
396 |
<li> |
436 |
<a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %] |
397 |
[% IF ( countreserv ) %] |
437 |
<a href="#onhold">0 Holds</a> |
398 |
<a href="#onhold">[% countreserv %] Hold(s)</a> |
438 |
[% END %]</li> |
399 |
[% ELSE %] |
|
|
400 |
<a href="#onhold">0 Holds</a> |
401 |
[% END %] |
402 |
</li> |
439 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li> |
403 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li> |
440 |
</ul> |
404 |
</ul> |
441 |
|
405 |
|
442 |
<form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed"> |
406 |
<div id="checkouts"> |
443 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
407 |
[% IF ( issuecount ) %] |
444 |
<input type="hidden" name="branch" value="[% branch %]" /> |
408 |
<form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed"> |
445 |
<div id="checkedout"> |
409 |
<table id="issues-table" style="width: 100% !Important;"> |
446 |
[% IF ( issueloop ) %] |
410 |
<thead> |
447 |
<table id="issuest"> |
411 |
<tr> |
448 |
<thead> |
412 |
<th scope="col">Due date</th> |
449 |
<tr> |
413 |
<th scope="col">Title</th> |
450 |
<th scope="col">Due date</th> |
414 |
<th scope="col">Item type</th> |
451 |
<th scope="col">Title</th> |
415 |
<th scope="col">Checked out on</th> |
452 |
<th scope="col">Item type</th> |
416 |
<th scope="col">Checked out from</th> |
453 |
<th scope="col">Checked out on</th> |
417 |
<th scope="col">Call no</th> |
454 |
<th scope="col">Checked out from</th> |
418 |
<th scope="col">Charge</th> |
455 |
<th scope="col">Call no.</th> |
419 |
<th scope="col">Price</th> |
456 |
<th scope="col">Charge</th> |
420 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th> |
457 |
<th scope="col">Price</th> |
421 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th> |
458 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th> |
422 |
<th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th> |
459 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th> |
423 |
</tr> |
460 |
</tr></thead> |
424 |
</thead> |
461 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
425 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
462 |
<tbody> |
426 |
</table> |
463 |
[% FOREACH issueloo IN issueloop %] |
427 |
|
464 |
|
428 |
[% IF ( issuecount ) %] |
465 |
[% IF ( issueloo.overdue ) %] |
429 |
<fieldset class="action"> |
466 |
<tr class="problem"> |
430 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
467 |
[% ELSE %] |
431 |
[% IF ( AllowRenewalLimitOverride ) %] |
468 |
<tr> |
432 |
<label for="override_limit">Override renewal limit:</label> |
469 |
[% END %] |
433 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
470 |
[% IF ( issueloo.red ) %] |
434 |
[% END %] |
471 |
<td class="od"> |
435 |
[% END %] |
472 |
[% ELSE %] |
436 |
<button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button> |
473 |
<td> |
437 |
<button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button> |
474 |
[% END %] |
438 |
</fieldset> |
475 |
<span title="[% issueloo.date_due %]">[% issueloo.date_due | $KohaDates %]</span> |
439 |
|
476 |
[% IF ( issueloo.itemlost ) %] |
440 |
[% IF ( exports_enabled ) %] |
477 |
<span class="lost">[% issueloo.itemlost %]</span> |
441 |
<fieldset> |
|
|
442 |
<label for="export_formats"><b>Export checkouts using format:</b></label> |
443 |
<select name="export_formats" id="export_formats"> |
444 |
<option value="iso2709_995">ISO2709 with items</option> |
445 |
<option value="iso2709">ISO2709 without items</option> |
446 |
[% IF ( export_with_csv_profile ) %] |
447 |
<option value="csv">CSV</option> |
448 |
[% END %] |
449 |
</select> |
450 |
|
451 |
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" /> |
452 |
<input type="hidden" name="op" value="export" /> |
453 |
<input type="hidden" id="export_format" name="format" value="iso2709" /> |
454 |
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> |
455 |
<input type="hidden" id="record_type" name="record_type" value="bibs" /> |
456 |
<button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button> |
457 |
</fieldset> |
478 |
[% END %] |
458 |
[% END %] |
479 |
[% IF ( issueloo.damaged ) %] |
|
|
480 |
<span class="dmg">[% issueloo.itemdamaged %]</span> |
481 |
[% END %] |
459 |
[% END %] |
482 |
</td> |
460 |
</form> |
483 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issueloo.biblionumber %]"><strong>[% issueloo.title |html %][% FOREACH subtitl IN issueloo.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF ( issueloo.author ) %], by [% issueloo.author %][% END %] [% IF ( issueloo.publishercode ) %]; [% issueloo.publishercode %] [% END %] [% IF ( issueloo.publicationyear ) %], [% issueloo.publicationyear %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issueloo.biblionumber %]&itemnumber=[% issueloo.itemnumber %]#item[% issueloo.itemnumber %]">[% issueloo.barcode %]</a></td> |
|
|
484 |
<td>[% UNLESS ( noItemTypeImages ) %] [% IF ( issueloo.itemtype_image ) %]<img src="[% issueloo.itemtype_image %]" alt="" />[% END %][% END %][% issueloo.itemtype_description %]</td> |
485 |
<td><span title="[% issueloo.issuedate %]">[% issueloo.issuedate | $KohaDates%]</span></td> |
486 |
<td>[% issueloo.issuingbranchname %]</td> |
487 |
<td>[% issueloo.itemcallnumber %]</td> |
488 |
<td>[% issueloo.charge %]</td> |
489 |
<td>[% issueloo.replacementprice %]</td> |
490 |
[% IF ( issueloo.renew_failed ) %] |
491 |
<td class="problem">Renewal Failed</td> |
492 |
[% ELSE %] |
493 |
<td><span style="padding: 0 1em;">[% IF ( issueloo.renewals ) %][% issueloo.renewals %][% ELSE %]0[% END %]</span> |
494 |
[% IF ( issueloo.norenew ) %] |
495 |
[% IF ( issueloo.can_confirm ) %]<span class="renewals-allowed" style="display: none"> |
496 |
<input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" /> |
497 |
[% IF ( issueloo.od ) %] |
498 |
<input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" /> |
499 |
[% ELSE %] |
500 |
<input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" /> |
501 |
[% END %] |
502 |
</span> |
503 |
[% IF issueloo.renewsallowed && issueloo.renewsleft %] |
504 |
<span class="renewals">([% issueloo.renewsleft %] of [% issueloo.renewsallowed %] renewals remaining)</span> |
505 |
[% END %] |
506 |
<span class="renewals-disabled"> |
507 |
[% END %] |
508 |
[% IF ( issueloo.norenew_reason_on_reserve ) %] |
509 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On Hold</a> |
510 |
[% END %] |
511 |
[% IF ( issueloo.norenew_reason_too_many ) %] |
512 |
Not renewable |
513 |
[% END %] |
514 |
[% IF ( issueloo.can_confirm ) %] |
515 |
</span> |
516 |
[% END %] |
517 |
[% ELSE %] |
518 |
<input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" /> |
519 |
[% IF ( issueloo.red ) %] |
520 |
<input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" onclick="uncheck_sibling(this);" /> |
521 |
[% ELSE %] |
522 |
<input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" onclick="uncheck_sibling(this);" /> |
523 |
[% END %] |
524 |
[% IF issueloo.renewsallowed && issueloo.renewsleft %] |
525 |
<span class="renewals">([% issueloo.renewsleft %] of [% issueloo.renewsallowed %] renewals remaining)</span> |
526 |
[% END %] |
527 |
[% END %] |
528 |
</td> |
529 |
[% END %] |
530 |
[% IF ( issueloo.return_failed ) %] |
531 |
<td class="problem">Check-in failed</td> |
532 |
[% ELSE %] |
533 |
[% IF ( issueloo.norenew_reason_on_reserve ) %] |
534 |
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On hold</a></td> |
535 |
[% ELSE %] |
461 |
[% ELSE %] |
536 |
<td><input type="checkbox" name="barcodes[]" value="[% issueloo.barcode %]" onclick="uncheck_sibling(this);" /> |
462 |
<p>Patron has nothing checked out.</p> |
537 |
<input type="checkbox" name="all_barcodes[]" value="[% issueloo.barcode %]" checked="checked" style="display: none;" /> |
|
|
538 |
</td> |
539 |
[% END %] |
540 |
[% END %] |
541 |
</tr> |
542 |
[% END %] |
543 |
</tbody> |
544 |
</table> |
545 |
<fieldset class="action"> |
546 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
547 |
[% IF ( AllowRenewalLimitOverride ) %] |
548 |
<label for="override_limit">Override renewal limit:</label> |
549 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
550 |
[% END %] |
551 |
[% END %] |
463 |
[% END %] |
552 |
<input type="submit" name="renew_checked" value="Renew or return checked items" /> |
464 |
</div> |
553 |
<input type="submit" id="renew_all" name="renew_all" value="Renew all" /> |
|
|
554 |
</fieldset> |
555 |
[% ELSE %]<p>Patron has nothing checked out.</p> |
556 |
[% END %] |
557 |
</div> |
558 |
|
559 |
|
465 |
|
560 |
[% IF relissueloop %] |
466 |
[% IF ( relatives_issues_count ) %] |
561 |
<div id="relissues"> |
467 |
<div id="relatives-issues"> |
562 |
<table id="relissuest"> |
468 |
<table id="relatives-issues-table" style="width: 100% !Important;"> |
563 |
<thead> |
469 |
<thead> |
564 |
<tr> |
470 |
<tr> |
565 |
<th scope="col">Due date</th> |
471 |
<th scope="col">Due date</th> |
566 |
<th scope="col">Title</th> |
472 |
<th scope="col">Title</th> |
567 |
<th scope="col">Item type</th> |
473 |
<th scope="col">Item type</th> |
568 |
<th scope="col">Checked out on</th> |
474 |
<th scope="col">Checked out on</th> |
569 |
<th scope="col">Checked out from</th> |
475 |
<th scope="col">Checked out from</th> |
570 |
<th scope="col">Call no.</th> |
476 |
<th scope="col">Call no</th> |
571 |
<th scope="col">Charge</th> |
477 |
<th scope="col">Charge</th> |
572 |
<th scope="col">Price</th> |
478 |
<th scope="col">Price</th> |
573 |
<th scope="col">Patron</th> |
479 |
<th scope="col">Patron</th> |
574 |
</tr> |
480 |
</tr> |
575 |
</thead> |
481 |
</thead> |
576 |
<tbody> |
482 |
</table> |
577 |
[% FOREACH relissueloo IN relissueloop %] |
|
|
578 |
|
579 |
[% IF ( relissueloo.overdue ) %] |
580 |
<tr class="problem"> |
581 |
[% ELSE %] |
582 |
<tr> |
583 |
[% END %] |
584 |
[% IF ( relissueloo.red ) %] |
585 |
<td class="od"> |
586 |
[% ELSE %] |
587 |
<td> |
588 |
[% END %] |
589 |
<span title="[% relissueloo.date_due %]">[% relissueloo.date_due | $KohaDates %]</span> |
590 |
[% IF ( relissueloo.itemlost ) %] |
591 |
<span class="lost">[% relissueloo.itemlost %]</span> |
592 |
[% END %] |
593 |
[% IF ( relissueloo.damaged ) %] |
594 |
<span class="dmg">[% relissueloo.itemdamaged %]</span> |
595 |
[% END %] |
596 |
</td> |
597 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% relissueloo.biblionumber %]"><strong>[% relissueloo.title |html %][% FOREACH subtitl IN relissueloo.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF relissueloo.author %], by [% relissueloo.author %][% END %] [% IF relissueloo.publishercode %]; [% relissueloo.publishercode %] [% END %] [% IF relissueloo.publicationyear %], [% relissueloo.publicationyear %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% relissueloo.biblionumber %]&itemnumber=[% relissueloo.itemnumber %]#item[% relissueloo.itemnumber %]">[% relissueloo.barcode %]</a></td> |
598 |
<td>[% UNLESS ( noItemTypeImages ) %] [% IF ( relissueloo.itemtype_image ) %]<img src="[% relissueloo.itemtype_image %]" alt="" />[% END %][% END %][% relissueloo.itemtype_description %]</td> |
599 |
<td><span title="[% relissueloo.issuedate %]">[% relissueloo.issuedate | $KohaDates %]</span></td> |
600 |
<td>[% relissueloo.issuingbranchname %]</td> |
601 |
<td>[% relissueloo.itemcallnumber %]</td> |
602 |
<td>[% relissueloo.charge %]</td> |
603 |
<td>[% relissueloo.replacementprice %]</td> |
604 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td> |
605 |
</tr> |
606 |
[% END %] |
607 |
</tbody> |
608 |
</table> |
609 |
</div> |
483 |
</div> |
610 |
[% END %] |
484 |
[% END %] |
611 |
</form> |
|
|
612 |
|
485 |
|
613 |
<div id="finesandcharges"> |
486 |
<div id="finesandcharges"> |
614 |
[% IF ( totaldue_raw ) %] |
487 |
[% IF ( totaldue_raw ) %] |