Adding startdate and enddate parameters to GetBookfundBreakdown call.
This commit is contained in:
parent
b81db9061d
commit
a7301fdfc6
|
|
@ -78,7 +78,7 @@ my $totavail = 0;
|
|||
my @loop_budget = ();
|
||||
|
||||
for (my $i=0; $i<$count; $i++){
|
||||
my ($spent,$comtd)=GetBookFundBreakdown($results[$i]->{'bookfundid'});
|
||||
my ($spent,$comtd)=GetBookFundBreakdown($results[$i]->{'bookfundid'},$results[$i]->{'startdate'},$results[$i]->{'enddate'});
|
||||
my $avail=$results[$i]->{'budgetamount'}-($spent+$comtd);
|
||||
my %line;
|
||||
$line{bookfundname} = $results[$i]->{'bookfundname'};
|
||||
|
|
|
|||
Loading…
Reference in New Issue