Fix invoice generation and other minor cosmetic items
This commit is contained in:
@@ -618,7 +618,7 @@ class Service extends Model implements IDs
|
||||
|
||||
// Two Yearly
|
||||
case 5:
|
||||
if (!$this->product->price_recur_strict)
|
||||
if (! $this->product->price_recur_strict)
|
||||
$date = $this->getInvoiceNextAttribute()->addYear(2)->subDay();
|
||||
else {
|
||||
$date = $this->getInvoiceNextAttribute()->addYear(2)->subDay()->endOfYear();
|
||||
|
Reference in New Issue
Block a user