u
This commit is contained in:
@@ -31,6 +31,7 @@ import { notifyError } from '../../utils/notify';
|
||||
import { getMaxDocumentNumber } from '../../utils/documentNumber';
|
||||
import withNavigate from '../withNavigate';
|
||||
import ShipmentDetailDialog from './ShipmentDetailDialog';
|
||||
import { getNextShipmentNumber } from './OrderShipmentDialog';
|
||||
import {
|
||||
formatDate,
|
||||
loadParties,
|
||||
@@ -206,8 +207,18 @@ class NewShipmentModal extends PureComponent {
|
||||
value={date}
|
||||
onChange={(e) => this.setState({ date: e.target.value })}
|
||||
InputLabelProps={{ shrink: true }}
|
||||
sx={{ width: 180 }}
|
||||
sx={{ width: 170 }}
|
||||
/>
|
||||
{currentOrder ? (
|
||||
<TextField
|
||||
label="Lieferschein-Nr."
|
||||
size="small"
|
||||
value={getNextShipmentNumber(currentOrder.number, currentOrder.shipments)}
|
||||
disabled
|
||||
slotProps={{ input: { readOnly: true } }}
|
||||
sx={{ width: 190 }}
|
||||
/>
|
||||
) : null}
|
||||
<TextField
|
||||
label="Referenz"
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user