diff --git a/VERSION.txt b/VERSION.txt index 93a75a086973..bb5c61465643 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.3.42 \ No newline at end of file +5.3.43 \ No newline at end of file diff --git a/app/Http/Controllers/PostMarkController.php b/app/Http/Controllers/PostMarkController.php index 5401808119a0..6646f1724327 100644 --- a/app/Http/Controllers/PostMarkController.php +++ b/app/Http/Controllers/PostMarkController.php @@ -231,13 +231,13 @@ class PostMarkController extends BaseController { $invitation = false; - if($invitation = InvoiceInvitation::whereRaw('BINARY `message_id`= ?', [$message_id])->first()) + if($invitation = InvoiceInvitation::where('message_id', $message_id)->first()) return $invitation; - elseif($invitation = QuoteInvitation::whereRaw('BINARY `message_id`= ?', [$message_id])->first()) + elseif($invitation = QuoteInvitation::where('message_id', $message_id)->first()) return $invitation; - elseif($invitation = RecurringInvoiceInvitation::whereRaw('BINARY `message_id`= ?', [$message_id])->first()) + elseif($invitation = RecurringInvoiceInvitation::where('message_id', $message_id)->first()) return $invitation; - elseif($invitation = CreditInvitation::whereRaw('BINARY `message_id`= ?', [$message_id])->first()) + elseif($invitation = CreditInvitation::where('message_id', $message_id)->first()) return $invitation; else return $invitation; diff --git a/app/Jobs/Util/ReminderJob.php b/app/Jobs/Util/ReminderJob.php index 947d12cccf4c..93c61e7482cd 100644 --- a/app/Jobs/Util/ReminderJob.php +++ b/app/Jobs/Util/ReminderJob.php @@ -81,7 +81,7 @@ class ReminderJob implements ShouldQueue $invoice = $this->calcLateFee($invoice, $reminder_template); //check if this reminder needs to be emailed - if(in_array($reminder_template, ['reminder1','reminder2','reminder3']) && $invoice->client->getSetting("enable_".$reminder_template)) + if(in_array($reminder_template, ['reminder1','reminder2','reminder3','reminder_endless']) && $invoice->client->getSetting("enable_".$reminder_template)) { $invoice->invitations->each(function ($invitation) use ($invoice, $reminder_template) { EmailEntity::dispatch($invitation, $invitation->company, $reminder_template); diff --git a/config/ninja.php b/config/ninja.php index c3656dce7023..01e71b7bf538 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -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.3.42', - 'app_tag' => '5.3.42', + 'app_version' => '5.3.43', + 'app_tag' => '5.3.43', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),