Debug 6 /reservation
This commit is contained in:
@@ -85,7 +85,10 @@ class MonthPayments {
|
||||
|
||||
private function setTotalProjectPayments()
|
||||
{
|
||||
$this->totalProjectPayments += $this->payment->paymentamount;
|
||||
$paymentYear = date( 'Y', strtotime( $this->payment->paymentdate ) );
|
||||
|
||||
if ( $paymentYear == $this->year )
|
||||
$this->totalProjectPayments += $this->payment->paymentamount;
|
||||
}
|
||||
|
||||
private function setProjectDetails()
|
||||
|
||||
Reference in New Issue
Block a user