Skip to content
Snippets Groups Projects
Commit a972ffe0 authored by Ruben Estrada's avatar Ruben Estrada
Browse files

Adds "every 4 months" frequency to RecurringInvoice.service to be able to...

Adds "every 4 months" frequency to RecurringInvoice.service to be able to generate invoices every 4 months in SalesOrder module
parent 006fc121
No related branches found
No related tags found
3 merge requests!802Field Mapping ID fix,!793#1533 issue on date formate,!759Adds "every 4 months" frequency to RecurringInvoice.service to be able to genera…
......@@ -159,6 +159,7 @@ function getRecurringDate($recurringDate, $recurringFrequency) {
case 'monthly' : $m = $m + 1; break;
case 'quarterly' : $m = $m + 3; break;
case 'every 4 months': $m = $m + 4; break;
case 'half-yearly' : $m = $m + 6; break;
case 'yearly' : $y = $y + 1; break;
......@@ -185,4 +186,3 @@ function getRecurringDate($recurringDate, $recurringFrequency) {
return array('validDate' => $validNextRecurringDate, 'nextRecurringDate' => $nextRecurringDate);
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment