Merged PR 1221: #3095 Remission Disable Remit Button if Quantity < 1

#3095 Remission Disable Remit Button if Quantity < 1
This commit is contained in:
Nino Righi
2022-05-09 09:23:14 +00:00
committed by Andreas Schickinger
parent d46643cf8c
commit 0ca8a1fabf

View File

@@ -14,7 +14,7 @@ export class AddProductToShippingDocumentModalComponent implements OnInit {
if (!c.value) {
return { invalid: 'Menge wird benötigt' };
}
return c.value < 0 || c.value > 1000 ? { invalid: 'Menge ist ungültig' } : null;
return c.value < 1 || c.value > 1000 ? { invalid: 'Menge ist ungültig' } : null;
}
remissionPlacementTypes: RemissionPlacementType[] = ['Stapel', 'Leistung'];