Bugzilla – Attachment 37011 Details for
Bug 11371
Add a new report : Orders by budget
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
QA fix
QA-fix.patch (text/plain), 2.16 KB, created by
Nicole C. Engard
on 2015-03-19 14:10:13 UTC
(
hide
)
Description:
QA fix
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2015-03-19 14:10:13 UTC
Size:
2.16 KB
patch
obsolete
>From 96b46a22b3dce944d5dc003b01dea833d354927a Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Fri, 6 Mar 2015 08:59:13 -0500 >Subject: [PATCH] QA fix > >http://bugs.koha-community.org/show_bug.cgi?id=11371 > >Signed-off-by: Nicole Engard <nengard@bywatersolutions.com> >--- > C4/Budgets.pm | 8 +++++--- > reports/orders_by_budget.pl | 1 + > 2 files changed, 6 insertions(+), 3 deletions(-) > >diff --git a/C4/Budgets.pm b/C4/Budgets.pm >index 2362706..25ad805 100644 >--- a/C4/Budgets.pm >+++ b/C4/Budgets.pm >@@ -82,7 +82,6 @@ BEGIN { > > # ----------------------------BUDGETS.PM-----------------------------"; > >- > =head1 FUNCTIONS ABOUT BUDGETS > > =cut >@@ -463,6 +462,7 @@ sub GetBudgetPeriod { > } > > # ------------------------------------------------------------------- >+ > =head2 GetBudgetPeriodDescription > > $description = GetBudgetPeriodDescription($budget_id); >@@ -474,6 +474,7 @@ sub GetBudgetPeriod { > Description is fetched from aqbudgetperiods, id is compared aqbudgets. (INNER JOIN on budget_period_id) > > =cut >+ > sub GetBudgetPeriodDescription { > my ($budget_id) = @_; > my $dbh = C4::Context->dbh; >@@ -638,6 +639,7 @@ sub DelBudget { > > > # ------------------------------------------------------------------- >+ > =head2 GetBudget > > &GetBudget($budget_id); >@@ -750,6 +752,7 @@ sub GetBudgetsByActivity { > return @results; > } > # -------------------------------------------------------------------- >+ > =head2 GetBudgetsReport > > &GetBudgetsReport( [$activity] ); >@@ -1151,7 +1154,6 @@ sub ConvertCurrency { > return ( $price / $cur ); > } > >- > =head2 CloneBudgetPeriod > > my $new_budget_period_id = CloneBudgetPeriod({ >@@ -1383,4 +1385,4 @@ __END__ > > Koha Development Team <http://koha-community.org/> > >-=cut >+=cut >\ No newline at end of file >diff --git a/reports/orders_by_budget.pl b/reports/orders_by_budget.pl >index e31bb2d..48a7021 100755 >--- a/reports/orders_by_budget.pl >+++ b/reports/orders_by_budget.pl >@@ -196,6 +196,7 @@ if ( $get_orders ) { > else { > # Set file export choices > my @outputFormats = ('CSV'); >+ no warnings qw(); > my @CSVdelimiters = qw(; tabulation , \\ / #); > > # getting all budgets >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11371
:
23381
|
25397
|
25913
|
25915
|
30545
|
30546
|
35385
|
36620
|
36707
|
37010
|
37011
|
41463
|
41464
|
45243
|
45244
|
45245
|
45288
|
45338
|
45887
|
45890
|
45981
|
45982
|
50230
|
50231
|
50233
|
50466
|
50468
|
50769