Skip to content
Code-Schnipsel Gruppen Projekte
Commit f82ea6eb erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

refactor: invoice#66

Übergeordneter 6a68db8d
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -50,7 +50,7 @@ function ($productId, $attributes, $user) {
try {
$Description = $Product->getField(Fields::FIELD_SHORT_DESC);
$InvoiceText = $Product->getField(
QUI\ERP\Accounting\Invoice\Handler::INVOICE_PRODUCT_TEXT_ID
QUI\ERP\Constants::INVOICE_PRODUCT_TEXT_ID
);
if (!$InvoiceText->isEmpty()) {
......
......@@ -53,4 +53,9 @@ class Constants
* @var int
*/
const TYPE_INVOICE_CANCEL = 5;
/**
* ID of the invoice product text field
*/
const INVOICE_PRODUCT_TEXT_ID = 102;
}
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren