Fix for missing addHalf()

This commit is contained in:
Deon George 2020-07-06 16:13:53 +10:00
parent b0f9d07af9
commit dc6ae06f9f
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -562,7 +562,7 @@ class Service extends Model
// Half Yearly
case 3:
$d = $this->invoice_next->addHalf()->startOfHalf()->diff($this->invoice_next_end->startOfHalf())->days;
$d = $this->invoice_next->addQuarter(2)->startOfHalf()->diff($this->invoice_next_end->startOfHalf())->days;
break;
// Yearly