From 5ce5e8f04223b0526dbe984d2fd7321c03c16e4e Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Wed, 5 Apr 2023 15:43:02 +0200 Subject: [PATCH] Added accurate payment instructions --- app/Jobs/Invoice/CreateXInvoice.php | 2 +- lang/en/texts.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Jobs/Invoice/CreateXInvoice.php b/app/Jobs/Invoice/CreateXInvoice.php index 49a47688148d..1e2ee2c4d07c 100644 --- a/app/Jobs/Invoice/CreateXInvoice.php +++ b/app/Jobs/Invoice/CreateXInvoice.php @@ -90,7 +90,7 @@ class CreateXInvoice implements ShouldQueue if (empty($client->leitweg_id)){ $xrechnung->setDocumentBuyerReference(ctrans("texts.xinvoice_no_buyers_reference")); } - $xrechnung->addDocumentPaymentMean(10, ""); + $xrechnung->addDocumentPaymentMean(68, ctrans("texts.xinvoice_online_payment")); if (str_contains($company->getSetting('vat_number'), "/")) { $xrechnung->addDocumentSellerTaxRegistration("FC", $company->getSetting('vat_number')); diff --git a/lang/en/texts.php b/lang/en/texts.php index dc2aef973ffb..971aa8386cb8 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -5022,6 +5022,7 @@ $LANG = array( 'payment_type_Interac E Transfer' => 'Interac E Transfer', 'xinvoice_payable' => 'Payable within :payeddue days net until :paydate', 'xinvoice_no_buyers_reference' => "No buyer's reference given", + 'xinvoice_online_payment' => 'The invoice needs to be payed online via the provided link', );