Sortering factuuroverzicht rapportages

This commit is contained in:
2020-09-07 14:06:44 +02:00
parent 04b109850c
commit c6140e04a6
8 changed files with 38 additions and 8 deletions
@@ -108,7 +108,7 @@ class Invoices {
private function setInvoiced()
{
$this->invoiced = Invoice::getInvoiced( $this->year );
$this->invoiced = Invoice::getInvoiced( $this->year, $this->orderType, $this->orderDirection );
}
private function setInvoicedYears()
@@ -79,6 +79,7 @@ class MonthForecast {
private function setProjectDetails()
{
$this->projectDetails = [
'projectnumber' => $this->project->projectnumber,
'projectname' => $this->projectname,
'customer' => $this->customer,
'needInvoice' => number_format( $this->invoiceForecast->getNeedInvoice(), 0, ',', '.' ),
@@ -88,4 +89,4 @@ class MonthForecast {
];
}
}
}
@@ -118,6 +118,7 @@ class MonthPayments {
private function setProjectDetails()
{
$this->projectDetails[] = [
'projectnumber' => $this->project->projectnumber,
'projectname' => $this->projectname,
'customer' => $this->customer,
'monthPayments' => $this->monthPayments,