X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=serials%2Fclaims.pl;h=c826804add1f73b94bcf19698b359fda9d2a4026;hb=2407fcb28a07842746fc989237a09332a928c962;hp=1b97a1b23275a7af843ce9a906198f78d65a7561;hpb=0d4acbba5c5db238eb42ed37dc9ba3dc2f36974b;p=koha.git diff --git a/serials/claims.pl b/serials/claims.pl index 1b97a1b232..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,8 +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;