mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes
This commit is contained in:
parent
e2bd99bf9f
commit
6e564a20db
@ -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…
Reference in New Issue
Block a user