Bug 11759: (QA followup) Fix koha-qa errors
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Apr 2015 13:42:18 +0000 (09:42 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 20 Oct 2015 13:01:02 +0000 (10:01 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt

index e896454..ed470ec 100755 (executable)
@@ -404,7 +404,7 @@ if (@$barcodes) {
                 $template_params->{getTitleMessageIteminfo} = $iteminfo->{'title'};
                 $template_params->{getBarcodeMessageIteminfo} = $iteminfo->{'barcode'};
                 $template_params->{NEEDSCONFIRMATION} = 1;
-                $template_params->{onsite_checkout} => $onsite_checkout,
+                $template_params->{onsite_checkout} = $onsite_checkout;
                 $confirm_required = 1;
             }
         }
@@ -416,6 +416,7 @@ if (@$barcodes) {
         }
     }
 
+    # FIXME If the issue is confirmed, we launch another time GetMemberIssuesAndFines, now display the issue count after issue
     my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber);
 
     if ($question->{RESERVE_WAITING} or $question->{RESERVED}){
index 7d16375..6b691b7 100644 (file)
 </title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% INCLUDE 'calendar.inc' %]
-[% IF ( UseTablesortForCirc ) %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
+[% INCLUDE 'datatables.inc' %]
 [% INCLUDE 'datatables-strings.inc' %]
-<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>[% END %]
 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script>
 <script type="text/javascript">
@@ -48,8 +47,8 @@ $(document).ready(function() {
 <div id="doc3" class="yui-t2">
 
    <div id="bd">
-    <div id="yui-main">
-    <div class="yui-b">
+<div id="yui-main">
+<div class="yui-b">
 
 <div class="yui-g">