mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 08:02:40 +01:00
Merge branch 'v5-develop' into v5-stable
This commit is contained in:
commit
5fe2f2d24b
@ -1 +1 @@
|
||||
5.2.2
|
||||
5.2.3
|
@ -56,7 +56,7 @@ class ImportCustomers
|
||||
}
|
||||
|
||||
/* Now call the update payment methods handler*/
|
||||
$this->stripe->updateAllPaymentMethods();
|
||||
// $this->stripe->updateAllPaymentMethods();
|
||||
|
||||
}
|
||||
|
||||
|
@ -508,10 +508,10 @@ class StripePaymentDriver extends BaseDriver
|
||||
* the respective tokens in the system.
|
||||
*
|
||||
*/
|
||||
// public function updateAllPaymentMethods()
|
||||
// {
|
||||
// return (new UpdatePaymentMethods($this))->run();
|
||||
// }
|
||||
public function updateAllPaymentMethods()
|
||||
{
|
||||
return (new UpdatePaymentMethods($this))->run();
|
||||
}
|
||||
|
||||
/**
|
||||
* Imports stripe customers and their payment methods
|
||||
|
@ -126,7 +126,7 @@ class UpdateReminder extends AbstractService
|
||||
$date_collection->push($reminder_date);
|
||||
}
|
||||
|
||||
if($date_collection->count() >=1)
|
||||
if($date_collection->count() >=1 && $date_collection->sort()->first()->gte(now()))
|
||||
$this->invoice->next_send_date = $date_collection->sort()->first();
|
||||
else
|
||||
$this->invoice->next_send_date = null;
|
||||
|
@ -14,8 +14,8 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => '5.2.2',
|
||||
'app_tag' => '5.2.2-release',
|
||||
'app_version' => '5.2.3',
|
||||
'app_tag' => '5.2.3-release',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
Loading…
Reference in New Issue
Block a user