skip transfers in reports
This commit is contained in:
parent
b034f17f75
commit
eeb715f169
@ -87,7 +87,7 @@ class ExpenseSummary extends Controller
|
|||||||
|
|
||||||
// Payments
|
// Payments
|
||||||
if ($status != 'upcoming') {
|
if ($status != 'upcoming') {
|
||||||
$payments = Payment::monthsOfYear('paid_at')->get();
|
$payments = Payment::monthsOfYear('paid_at')->isNotTransfer()->get();
|
||||||
$this->setAmount($expenses_graph, $totals, $expenses, $payments, 'payment', 'paid_at');
|
$this->setAmount($expenses_graph, $totals, $expenses, $payments, 'payment', 'paid_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ class IncomeExpenseSummary extends Controller
|
|||||||
|
|
||||||
// Revenues
|
// Revenues
|
||||||
if ($status != 'upcoming') {
|
if ($status != 'upcoming') {
|
||||||
$revenues = Revenue::monthsOfYear('paid_at')->get();
|
$revenues = Revenue::monthsOfYear('paid_at')->isNotTransfer()->get();
|
||||||
$this->setAmount($profit_graph, $totals, $compares, $revenues, 'revenue', 'paid_at');
|
$this->setAmount($profit_graph, $totals, $compares, $revenues, 'revenue', 'paid_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ class IncomeExpenseSummary extends Controller
|
|||||||
|
|
||||||
// Payments
|
// Payments
|
||||||
if ($status != 'upcoming') {
|
if ($status != 'upcoming') {
|
||||||
$payments = Payment::monthsOfYear('paid_at')->get();
|
$payments = Payment::monthsOfYear('paid_at')->isNotTransfer()->get();
|
||||||
$this->setAmount($profit_graph, $totals, $compares, $payments, 'payment', 'paid_at');
|
$this->setAmount($profit_graph, $totals, $compares, $payments, 'payment', 'paid_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ class IncomeSummary extends Controller
|
|||||||
|
|
||||||
// Revenues
|
// Revenues
|
||||||
if ($status != 'upcoming') {
|
if ($status != 'upcoming') {
|
||||||
$revenues = Revenue::monthsOfYear('paid_at')->get();
|
$revenues = Revenue::monthsOfYear('paid_at')->isNotTransfer()->get();
|
||||||
$this->setAmount($incomes_graph, $totals, $incomes, $revenues, 'revenue', 'paid_at');
|
$this->setAmount($incomes_graph, $totals, $incomes, $revenues, 'revenue', 'paid_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user