mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for refresh route - firstload/mini_loader
This commit is contained in:
parent
f7a4588371
commit
69b496f8b4
@ -238,6 +238,8 @@ class SubscriptionService
|
||||
*/
|
||||
private function calculateProRataRefund($invoice) :float
|
||||
{
|
||||
if(!$this->invoice->date)
|
||||
return 0;
|
||||
|
||||
$start_date = Carbon::parse($invoice->date);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user