1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes

This commit is contained in:
David Bomba 2021-06-02 20:14:00 +10:00
parent e2bd99bf9f
commit 6e564a20db

View File

@ -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);