Skip to content
Code-Schnipsel Gruppen Projekte
Commit 35218717 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

Merge branch 'dev' of dev.quiqqer.com:quiqqer/invoice into dev

Übergeordnete 04812fe1 159be557
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -703,7 +703,7 @@ public function update($PermissionUser = null)
$projectName = $this->getAttribute('project_name');
}
if ($this->getAttribute('time_for_payment')) {
if ($this->getAttribute('time_for_payment') || $this->getAttribute('time_for_payment') === 0) {
$timeForPayment = (int)$this->getAttribute('time_for_payment');
} else {
$timeForPayment = Settings::getInstance()->get('invoice', 'time_for_payment');
......
......@@ -252,6 +252,11 @@ public function getTransactionText(): string
return $this->Invoice->getAttribute('transaction_invoice_text') ?: '';
}
if (class_exists('QUI\ERP\Accounting\Payments\Methods\AdvancePayment\Payment')
&& $this->Invoice->getPayment()->getPaymentType() === QUI\ERP\Accounting\Payments\Methods\AdvancePayment\Payment::class) {
return '';
}
try {
$Locale = QUI::getLocale();
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren