mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
commit
8ecd73a985
@ -1 +1 @@
|
||||
5.3.42
|
||||
5.3.43
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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', ''),
|
||||
|
Loading…
Reference in New Issue
Block a user