Merge pull request #5896 from turbo124/v5-develop

Minor fixes
This commit is contained in:
David Bomba 2021-06-02 20:14:29 +10:00 committed by GitHub
commit 4e7f299086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ class SubscriptionService
*/ */
private function calculateProRataRefund($invoice) :float private function calculateProRataRefund($invoice) :float
{ {
if(!$this->invoice->date) if(!$invoice->date)
return 0; return 0;
$start_date = Carbon::parse($invoice->date); $start_date = Carbon::parse($invoice->date);