u
This commit is contained in:
@@ -9,7 +9,6 @@ import Chip from '@mui/material/Chip';
|
||||
import UploadFileIcon from '@mui/icons-material/UploadFile';
|
||||
import PictureAsPdfIcon from '@mui/icons-material/PictureAsPdf';
|
||||
import ShoppingCartIcon from '@mui/icons-material/ShoppingCart';
|
||||
import LocalShippingOutlinedIcon from '@mui/icons-material/LocalShippingOutlined';
|
||||
import Inventory2OutlinedIcon from '@mui/icons-material/Inventory2Outlined';
|
||||
import CheckCircleOutlineOutlinedIcon from '@mui/icons-material/CheckCircleOutlineOutlined';
|
||||
import SingleLineTextEdit from 'dashgui/SingleLineTextEdit';
|
||||
@@ -251,8 +250,6 @@ class ManifestHeader extends PureComponent {
|
||||
onRestore,
|
||||
orderCreating,
|
||||
onCreateOrder,
|
||||
onOpenCreateShipment,
|
||||
deliverDisabled,
|
||||
actionsColor,
|
||||
partyError,
|
||||
docId,
|
||||
@@ -570,28 +567,6 @@ class ManifestHeader extends PureComponent {
|
||||
{orderCreating ? 'Wird erstellt…' : 'Bestellung erstellen'}
|
||||
</Button>
|
||||
)}
|
||||
{kind === 'order' && docId != null && onOpenCreateShipment && (
|
||||
<Button
|
||||
type="button"
|
||||
variant="outlined"
|
||||
color="primary"
|
||||
startIcon={<LocalShippingOutlinedIcon />}
|
||||
disabled={saving || pdfCreating || orderCreating || deliverDisabled}
|
||||
onClick={onOpenCreateShipment}
|
||||
title={deliverDisabled ? 'Alle Positionen bereits ausgeliefert' : 'Lieferschein erstellen'}
|
||||
sx={{
|
||||
whiteSpace: 'nowrap',
|
||||
height: 40,
|
||||
width: '100%',
|
||||
px: 1.5,
|
||||
boxSizing: 'border-box',
|
||||
fontWeight: 600,
|
||||
fontSize: '0.875rem',
|
||||
}}
|
||||
>
|
||||
Liefern
|
||||
</Button>
|
||||
)}
|
||||
{(kind === 'quote' || kind === 'order') && onPdfCreate && docId != null && Boolean(number) && (
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user