Minor fixes
This commit is contained in:
parent
e2bd99bf9f
commit
6e564a20db
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ class SubscriptionService
|
|||
*/
|
||||
private function calculateProRataRefund($invoice) :float
|
||||
{
|
||||
if(!$this->invoice->date)
|
||||
if(!$invoice->date)
|
||||
return 0;
|
||||
|
||||
$start_date = Carbon::parse($invoice->date);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue