View | Details | Raw Unified | Return to bug 11644
Collapse All | Expand All

(-)a/admin/check_parent_total.pl (-1 / +4 lines)
Lines 89-94 else { Link Here
89
    $budget_period_unalloc = $period->{'budget_period_total'} - $period_sum->{'sum'} if $period->{'budget_period_total'};
89
    $budget_period_unalloc = $period->{'budget_period_total'} - $period_sum->{'sum'} if $period->{'budget_period_total'};
90
}
90
}
91
91
92
$total                 = sprintf( "%.2f", $total );
93
$sub_unalloc           = sprintf( "%.2f", $sub_unalloc );
94
$budget_period_unalloc = sprintf( "%.2f", $budget_period_unalloc );
95
92
if ( $parent_id) {
96
if ( $parent_id) {
93
    if ( ($total > $sub_unalloc ) && $sub_unalloc )  {
97
    if ( ($total > $sub_unalloc ) && $sub_unalloc )  {
94
        $returncode = 1;
98
        $returncode = 1;
95
- 

Return to bug 11644