Added Fibu payment due and skonto to Billing

This commit is contained in:
Frank Schubert
2025-08-05 19:32:50 +02:00
parent 8f2b627706
commit b4cdbd0b6b
4 changed files with 101 additions and 3 deletions

View File

@@ -483,9 +483,9 @@ class InvoiceController extends mfBaseController {
$invoice_data["billingaddress_id"] = $billingaddress_id;
$invoice_data["customer_number"] = $bill->customer_number;
$invoice_data["fibu_account_number"] = $bill->fibu_account_number;
$invoice_data["fibu_payment_due"] = $bill->fibu_payment_due;
$invoice_data["fibu_payment_skonto"] = $bill->fibu_payment_skonto;
$invoice_data["fibu_payment_skonto_rate"] = $bill->fibu_payment_skonto_rate;
$invoice_data["fibu_payment_due"] = $bill->fibu_payment_due ?: 14;
$invoice_data["fibu_payment_skonto"] = $bill->fibu_payment_skonto ?: 0;
$invoice_data["fibu_payment_skonto_rate"] = $bill->fibu_payment_skonto_rate ?: 0;
$invoice_data["sepa_date"] = $bill->sepa_date;