mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 02:04:33 -04:00
minor cleanup
This commit is contained in:
parent
9f79b4b519
commit
e02dace9cc
@ -69,7 +69,7 @@ class SubscriptionCalculator
|
|||||||
if($refund_invoice)
|
if($refund_invoice)
|
||||||
{
|
{
|
||||||
$subscription = Subscription::find($this->invoice->subscription_id);
|
$subscription = Subscription::find($this->invoice->subscription_id);
|
||||||
$pro_rata = new ProRata();
|
$pro_rata = new ProRata;
|
||||||
|
|
||||||
$to_date = $subscription->service()->getNextDateForFrequency(Carbon::parse($refund_invoice->date), $subscription->frequency_id);
|
$to_date = $subscription->service()->getNextDateForFrequency(Carbon::parse($refund_invoice->date), $subscription->frequency_id);
|
||||||
|
|
||||||
|
@ -25,17 +25,13 @@ use Illuminate\Support\Facades\Queue;
|
|||||||
class SystemHealth
|
class SystemHealth
|
||||||
{
|
{
|
||||||
private static $extensions = [
|
private static $extensions = [
|
||||||
// 'mysqli',
|
|
||||||
'gd',
|
'gd',
|
||||||
'curl',
|
'curl',
|
||||||
'zip',
|
'zip',
|
||||||
// 'gmp',
|
|
||||||
'openssl',
|
'openssl',
|
||||||
'mbstring',
|
'mbstring',
|
||||||
'xml',
|
'xml',
|
||||||
'bcmath',
|
'bcmath',
|
||||||
// 'mysqlnd',
|
|
||||||
//'intl', //todo double check whether we need this for email dns validation
|
|
||||||
];
|
];
|
||||||
|
|
||||||
private static $php_version = 7.4;
|
private static $php_version = 7.4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user