Bugzilla – Attachment 59222 Details for
Bug 17784
Ability to see funds with an amount of 0.00 when doing a new order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17784 Ability to see funds with an amount of 0.00 when doing a new
Bug-17784-Ability-to-see-funds-with-an-amount-of-0.patch (text/plain), 1.28 KB, created by
Kyle M Hall (khall)
on 2017-01-19 11:41:44 UTC
(
hide
)
Description:
Bug 17784 Ability to see funds with an amount of 0.00 when doing a new
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-01-19 11:41:44 UTC
Size:
1.28 KB
patch
obsolete
>From e077b978e770b51de7f0b38003ec93b690f61b1d Mon Sep 17 00:00:00 2001 >From: Zoe Schoeler <crazy.mental.onion@gmail.com> >Date: Tue, 17 Jan 2017 23:22:17 +0000 >Subject: [PATCH] Bug 17784 Ability to see funds with an amount of 0.00 when > doing a new > >order > >TEST PLAN > >1. Go to the acquisition module and create budget with fund of 0.00 and >another fund of 1.00. >2. On acquisitions use a vendor to create a new basket and add an order >to that basket. >3.Find a record and order it. >4. Under accounting details the fund with 0 in it won't be visable. >5. Apply patch and refresh, then it should be. > >Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > acqui/neworderempty.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index b76b4f4..2599f8f 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -219,7 +219,7 @@ my $budget_loop = []; > my $budgets = GetBudgetHierarchy; > foreach my $r (@{$budgets}) { > next unless (CanUserUseBudget($borrower, $r, $userflags)); >- if (!defined $r->{budget_amount} || $r->{budget_amount} == 0) { >+ if (!defined $r->{budget_amount} || $r->{budget_amount} <0) { > next; > } > push @{$budget_loop}, { >-- >2.1.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 17784
:
59124
|
59145
| 59222