Log 2295
10/12/2023 2023-12-10 13:22if ($paymentCondition == $immediate) return $documentDate;
elseif ($paymentCondition == $monthly) return date(‘d/m/Y’, strtotime($documentDate . ‘ +1 month’));
elseif ($paymentCondition == $monthlyPlus) {
$nextMonth = date(‘d/m/Y’, strtotime($documentDate . ‘ +1 month’));
return date(‘d/m/Y’, strtotime($nextMonth . ‘ +’ . $daysAfterFlush .’ days’));
}
else return ”;