Lines 1-7
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
3 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
4 |
[% IF ( export_remove_fields OR export_with_csv_profile ) %] |
4 |
[% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %] |
5 |
[% SET exports_enabled = 1 %] |
5 |
[% SET exports_enabled = 1 %] |
6 |
[% END %] |
6 |
[% END %] |
7 |
[% USE AuthorisedValues %] |
7 |
[% USE AuthorisedValues %] |
Lines 45-61
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
Link Here
|
45 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
45 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
46 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
46 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( selectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
47 |
|
47 |
|
48 |
$(document).ready(function() { |
|
|
49 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
50 |
// listen submit to trigger qslip on empty checkout |
51 |
$('#mainform').bind('submit',function() { |
52 |
if ($('#barcode').val() == '') { |
53 |
return printx_window( '[% CircAutoPrintQuickSlip %]' ); |
54 |
} |
55 |
}); |
56 |
[% END %] |
57 |
}); |
58 |
|
59 |
// On-site checkout |
48 |
// On-site checkout |
60 |
function toggle_onsite_checkout(){ |
49 |
function toggle_onsite_checkout(){ |
61 |
if ( $("#onsite_checkout").attr('checked') ) { |
50 |
if ( $("#onsite_checkout").attr('checked') ) { |
Lines 70-75
function toggle_onsite_checkout(){
Link Here
|
70 |
} |
59 |
} |
71 |
} |
60 |
} |
72 |
|
61 |
|
|
|
62 |
$(document).ready(function() { |
63 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
64 |
// listen submit to trigger qslip on empty checkout |
65 |
$('#mainform').bind('submit',function() { |
66 |
if ($('#barcode').val() == '') { |
67 |
return printx_window( '[% CircAutoPrintQuickSlip %]' ); |
68 |
} |
69 |
}); |
70 |
[% END %] |
71 |
toggle_onsite_checkout(); |
72 |
$("#onsite_checkout").click(function(){ |
73 |
toggle_onsite_checkout(); |
74 |
}); |
75 |
}); |
76 |
|
73 |
//]]> |
77 |
//]]> |
74 |
</script> |
78 |
</script> |
75 |
</head> |
79 |
</head> |
Lines 770-810
No patron matched <span class="ex">[% message %]</span>
Link Here
|
770 |
</p> |
774 |
</p> |
771 |
</div> |
775 |
</div> |
772 |
|
776 |
|
773 |
<table id="issues-table"> |
777 |
<form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed"> |
774 |
<thead> |
778 |
<table id="issues-table"> |
775 |
<tr> |
779 |
<thead> |
776 |
<th scope="col"> </th> |
780 |
<tr> |
777 |
<th scope="col"> </th> |
781 |
<th scope="col"> </th> |
778 |
<th scope="col">Due date</th> |
782 |
<th scope="col"> </th> |
779 |
<th scope="col">Due date</th> |
783 |
<th scope="col">Due date</th> |
780 |
<th scope="col">Title</th> |
784 |
<th scope="col">Due date</th> |
781 |
<th scope="col">Item type</th> |
785 |
<th scope="col">Title</th> |
782 |
<th scope="col">Checked out on</th> |
786 |
<th scope="col">Item type</th> |
783 |
<th scope="col">Checked out from</th> |
787 |
<th scope="col">Checked out on</th> |
784 |
<th scope="col">Call no</th> |
788 |
<th scope="col">Checked out from</th> |
785 |
<th scope="col">Charge</th> |
789 |
<th scope="col">Call no</th> |
786 |
<th scope="col">Price</th> |
790 |
<th scope="col">Charge</th> |
787 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th> |
791 |
<th scope="col">Price</th> |
788 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th> |
792 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th> |
789 |
<th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th> |
793 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th> |
790 |
</tr> |
794 |
<th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th> |
791 |
</thead> |
795 |
</tr> |
792 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
796 |
</thead> |
793 |
</table> |
797 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
794 |
|
798 |
</table> |
795 |
<label for="issues-table-load-immediately">Always show checkouts immediately</label> |
799 |
|
796 |
<input id="issues-table-load-immediately" type="checkbox" /> |
800 |
<label for="issues-table-load-immediately">Always show checkouts immediately</label> |
797 |
|
801 |
<input id="issues-table-load-immediately" type="checkbox" /> |
798 |
<fieldset id="issues-table-actions" class="action"> |
802 |
|
799 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
803 |
<fieldset id="issues-table-actions" class="action"> |
800 |
[% IF ( AllowRenewalLimitOverride ) %] |
804 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
801 |
<label for="override_limit">Override renewal limit:</label> |
805 |
[% IF ( AllowRenewalLimitOverride ) %] |
802 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
806 |
<label for="override_limit">Override renewal limit:</label> |
|
|
807 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
808 |
[% END %] |
809 |
[% END %] |
810 |
<button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button> |
811 |
<button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button> |
812 |
</fieldset> |
813 |
|
814 |
[% IF issuecount %] |
815 |
[% IF ( exports_enabled ) %] |
816 |
<fieldset> |
817 |
<label for="export_formats"><b>Export checkouts using format:</b></label> |
818 |
<select name="export_formats" id="export_formats"> |
819 |
<option value="iso2709_995">ISO2709 with items</option> |
820 |
<option value="iso2709">ISO2709 without items</option> |
821 |
[% IF ( export_with_csv_profile ) %] |
822 |
<option value="csv">CSV</option> |
823 |
[% END %] |
824 |
</select> |
825 |
|
826 |
<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" /> |
827 |
<input type="hidden" name="op" value="export" /> |
828 |
<input type="hidden" id="export_format" name="format" value="iso2709" /> |
829 |
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> |
830 |
<input type="hidden" id="record_type" name="record_type" value="bibs" /> |
831 |
<button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button> |
832 |
</fieldset> |
803 |
[% END %] |
833 |
[% END %] |
804 |
[% END %] |
834 |
[% END %] |
805 |
<button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button> |
835 |
</form> |
806 |
<button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button> |
836 |
|
807 |
</fieldset> |
|
|
808 |
[% ELSE %] |
837 |
[% ELSE %] |
809 |
<p>Patron has nothing checked out.</p> |
838 |
<p>Patron has nothing checked out.</p> |
810 |
[% END %] |
839 |
[% END %] |