TT#147151 fix dashboard peering contractbalance sum

Change-Id: Id65db9d185ef5a3bf8bba4211e3154a53f7220b4
mr10.2
Rene Krenn 4 years ago
parent a47d0092c7
commit 27d86e75b0

@ -49,7 +49,7 @@ sub _prepare_peering_sum {
peering_sum => $c->model('DB')->resultset('contract_balances')->search_rs({
'start' => { '>=' => $stime },
'end' => { '<' => $etime},
'product_id' => { -in => [ @product_ids ] },
'contract.product_id' => { -in => [ @product_ids ] },
},{
join => 'contract',
})->get_column('cash_balance_interval'),

Loading…
Cancel
Save