added events to manipulate report data
This commit is contained in:
@@ -72,17 +72,6 @@ class ProfitLoss extends Report
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
// TODO: move to views
|
||||
foreach ($this->footer_totals as $table => $dates) {
|
||||
foreach ($dates as $date => $total) {
|
||||
if (!isset($this->net_profit[$date])) {
|
||||
$this->net_profit[$date] = 0;
|
||||
}
|
||||
|
||||
$this->net_profit[$date] += $total;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function getFields()
|
||||
|
||||
Reference in New Issue
Block a user