Bug 9530: Making changes to C4::Letters
[srvgit] / offline_circ / list.pl
index de129ff..73a2f78 100755 (executable)
@@ -34,7 +34,7 @@ use C4::Biblio;
 my $query = CGI->new;
 
 my ($template, $loggedinuser, $cookie) = get_template_and_user({
-    template_name => "offline_circ/list.tmpl",
+    template_name => "offline_circ/list.tt",
     query => $query,
     type => "intranet",
     authnotrequired => 0,
@@ -54,6 +54,7 @@ for (@$operations) {
     }
     $_->{'actionissue'}    = $_->{'action'} eq 'issue';
     $_->{'actionreturn'}   = $_->{'action'} eq 'return';
+    $_->{'actionpayment'}  = $_->{'action'} eq 'payment';
 }
 $template->param(pending_operations => $operations);