getitemtypes renamed to GetItemTypes
[koha_fer] / members / moremember.pl
index cd9e759..ab9b544 100755 (executable)
@@ -114,7 +114,6 @@ if ($category_type ne 'C'){
                push (@guaranteedata, {borrowernumber => $guarantees->[$i]->{'borrowernumber'},
                                        cardnumber => $guarantees->[$i]->{'cardnumber'},
                                        name => $guarantees->[$i]->{'firstname'} . " " . $guarantees->[$i]->{'surname'}});
-       warn"le type de categorie ".$category_type."voila ";
        }
        $template->param(guaranteeloop => \@guaranteedata);
        ($template->param(adultborrower=>1)) if ($category_type eq 'A');
@@ -230,10 +229,15 @@ if (-e $htdocs."$picture")
 $template->param($data);
 $template->param(
                 bornum          => $bornum,
-                totalprice =>$totalprice,
-                totaldue =>$total,
+                totalprice =>sprintf("%.2f",$totalprice),
+                totaldue => sprintf("%.2f",$total),
                 issueloop       => \@issuedata,
                 unvalidlibrarian => $unvalidlibrarian,
-                reserveloop     => \@reservedata);
+                reserveloop     => \@reservedata,
+                intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+               intranetstylesheet => C4::Context->preference("intranetstylesheet"),
+               IntranetNav => C4::Context->preference("IntranetNav"),
+               patronimages => C4::Context->preference("patronimages"),
+                );
 
 output_html_with_http_headers $input, $cookie, $template->output;