diff --git a/app/Services/Invoice/InvoiceService.php b/app/Services/Invoice/InvoiceService.php index 89a1ab51ddf1..9106a1943c04 100644 --- a/app/Services/Invoice/InvoiceService.php +++ b/app/Services/Invoice/InvoiceService.php @@ -625,7 +625,7 @@ class InvoiceService $sub_id = $this->decodePrimaryKey($subscription_id); - if(Subscription::withTrashed()->where('id', $sub_id)->company()->exists()) { + if(Subscription::withTrashed()->where('id', $sub_id)->where('company_id', $this->invoice->company_id)->exists()) { $this->invoice->subscription_id = $sub_id; } diff --git a/lang/fr_CA/texts.php b/lang/fr_CA/texts.php index 109cf7ee08c3..1453cadfc42d 100644 --- a/lang/fr_CA/texts.php +++ b/lang/fr_CA/texts.php @@ -5240,6 +5240,13 @@ Lorsque les montant apparaîtront sur votre relevé, veuillez revenir sur cette 'nordigen_handler_error_contents_requisition_no_accounts' => 'Le service n\'a retourné aucun compte valide. Veuillez redémarrer le processus.', 'nordigen_handler_restart' => 'Redémarrer le processus', 'nordigen_handler_return' => 'Retour à l\'application', + 'lang_Lao' => 'Lao', + 'currency_lao_kip' => 'Kip laotien', + 'yodlee_regions' => 'Régions: USA, Royaume-Uni, Australie et Inde', + 'nordigen_regions' => 'Régions: Europe et Royaume-Uni', + 'select_provider' => 'Sélectionner le fournisseur', + 'nordigen_requisition_subject' => 'La réquisition a expiré, veuillez vous réauthentifier.', + 'nordigen_requisition_body' => 'L\'accès aux flux de compte bancaire a expiré tel que défini dans l\'accord de l\'utilisateur final.

Veuillez vous connecter à Invoice Ninja et réauthentifier auprès de vos banques pour continuer à recevoir les transactions.', ); return $lang; diff --git a/lang/lo_LA/texts.php b/lang/lo_LA/texts.php index d6c40812931f..6991503a0e94 100644 --- a/lang/lo_LA/texts.php +++ b/lang/lo_LA/texts.php @@ -5248,6 +5248,13 @@ $lang = array( 'nordigen_handler_error_contents_requisition_no_accounts' => 'ການບໍລິການບໍ່ໄດ້ສົ່ງຄືນບັນຊີທີ່ຖືກຕ້ອງໃດໆ. ພິຈາລະນາເລີ່ມການໄຫຼເຂົ້າໃໝ່.', 'nordigen_handler_restart' => 'ເລີ່ມການໄຫຼເຂົ້າໃໝ່.', 'nordigen_handler_return' => 'ກັບຄືນໄປຫາແອັບພລິເຄຊັນ.', + 'lang_Lao' => 'ລາວ', + 'currency_lao_kip' => 'ລາວກີບ', + 'yodlee_regions' => 'Regions: USA, UK, Australia & India', + 'nordigen_regions' => 'Regions: Europe & UK', + 'select_provider' => 'ເລືອກຜູ້ໃຫ້ບໍລິການ', + 'nordigen_requisition_subject' => 'Requisition expired, please reauthenticate.', + 'nordigen_requisition_body' => 'Access to bank account feeds has expired as set in End User Agreement.

Please log into Invoice Ninja and re-authenticate with your banks to continue receiving transactions.', ); return $lang;