u
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user