X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;ds=sidebyside;f=serials%2Fclaims.pl;h=c826804add1f73b94bcf19698b359fda9d2a4026;hb=42eb8b2286e8af9894ec41d3f193416ffe81815b;hp=735d945bf603cccb5f507e056d35240d930f5c6b;hpb=1349b46320a7a3a1367238061919bf43af19c03f;p=koha_fer diff --git a/serials/claims.pl b/serials/claims.pl index 735d945bf6..c826804add 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -24,10 +24,11 @@ use C4::Auth; use C4::Serials; use C4::Acquisition; use C4::Output; -use C4::Bookseller; +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;