Added accurate payment instructions

This commit is contained in:
Lars Kusch 2023-04-05 15:43:02 +02:00
parent 6756de3c2b
commit 5ce5e8f042
2 changed files with 2 additions and 1 deletions

View File

@ -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'));

View File

@ -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',
);