This commit is contained in:
seb
2026-10-18 19:36:56 +02:00
parent 587170ce9b
commit 94f385e753
3 changed files with 15 additions and 4 deletions

View File

@@ -1148,6 +1148,13 @@ class ManifestForm extends PureComponent {
if (this.state.saving) return false;
if (mode === 'edit' && docId == null) return false;
if (cfg.kind === 'order' && (this.state.partyId == null || this.state.partyId === '')) {
this.setState({ partyError: true });
notifyErrorMessage('Für eine Bestellung ist ein Kunde erforderlich.');
this.headerRef.current?.focusPartyInput?.();
return false;
}
const isEdit = mode === 'edit';
let body;
try {