Skip to content
Snippets Groups Projects
Commit 10802c6f authored by Uma's avatar Uma
Browse files

Merge branch 'add_every4months_frequency_in_recurring_invoicing' into '7.4.0'

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

…te invoices every 4 months in SalesOrder module

See merge request !759
parents 21d2e06f a972ffe0
No related branches found
No related tags found
No related merge requests found
......@@ -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