X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=serials%2Fclaims.pl;h=c826804add1f73b94bcf19698b359fda9d2a4026;hb=2407fcb28a07842746fc989237a09332a928c962;hp=e51148c7440a5cc8b914259e10e02550e2d1dfd5;hpb=c0234dd9b9649063acf2617fecf5c6efda38a532;p=koha.git diff --git a/serials/claims.pl b/serials/claims.pl index e51148c744..c826804add 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -28,6 +28,7 @@ use C4::Bookseller qw( GetBookSeller ); use C4::Context; use C4::Letters; use C4::Branch; # GetBranches GetBranchesLoop +use C4::Csv qw( GetCsvProfiles ); my $input = CGI->new; @@ -72,7 +73,6 @@ if ($supplierid) { } my $branchloop = GetBranchesLoop(); -unshift @$branchloop, {value=> 'all',name=>''}; my $preview=0; if($op && $op eq 'preview'){ @@ -98,7 +98,7 @@ $template->param( claimletter => $claimletter, supplierloop => \@supplierinfo, branchloop => $branchloop, - dateformat => C4::Context->preference("dateformat"), - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), + csv_profiles => C4::Csv::GetCsvProfiles( "sql" ), + (uc(C4::Context->preference("marcflavour"))) => 1 ); output_html_with_http_headers $input, $cookie, $template->output;