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

Merge pull request #6025 from turbo124/v5-develop

v5.2.3
This commit is contained in:
David Bomba 2021-06-15 11:09:51 +10:00 committed by GitHub
commit 5fa5fda7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View File

@ -1 +1 @@
5.2.2 5.2.3

View File

@ -56,7 +56,7 @@ class ImportCustomers
} }
/* Now call the update payment methods handler*/ /* Now call the update payment methods handler*/
$this->stripe->updateAllPaymentMethods(); // $this->stripe->updateAllPaymentMethods();
} }

View File

@ -508,10 +508,10 @@ class StripePaymentDriver extends BaseDriver
* the respective tokens in the system. * the respective tokens in the system.
* *
*/ */
// public function updateAllPaymentMethods() public function updateAllPaymentMethods()
// { {
// return (new UpdatePaymentMethods($this))->run(); return (new UpdatePaymentMethods($this))->run();
// } }
/** /**
* Imports stripe customers and their payment methods * Imports stripe customers and their payment methods

View File

@ -126,7 +126,7 @@ class UpdateReminder extends AbstractService
$date_collection->push($reminder_date); $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(); $this->invoice->next_send_date = $date_collection->sort()->first();
else else
$this->invoice->next_send_date = null; $this->invoice->next_send_date = null;

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true), 'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.2.2', 'app_version' => '5.2.3',
'app_tag' => '5.2.2-release', 'app_tag' => '5.2.3-release',
'minimum_client_version' => '5.0.16', 'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1', 'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''), 'api_secret' => env('API_SECRET', ''),