u
This commit is contained in:
@@ -156,31 +156,7 @@ export class OrderDocumentsTiles extends PureComponent {
|
||||
);
|
||||
})}
|
||||
</Stack>
|
||||
) : (
|
||||
<Box
|
||||
sx={{
|
||||
p: 1.5,
|
||||
textAlign: 'center',
|
||||
bgcolor: 'rgba(255,255,255,0.6)',
|
||||
borderRadius: 1,
|
||||
border: '1px dashed',
|
||||
borderColor: 'divider',
|
||||
}}
|
||||
>
|
||||
<Typography variant="caption" color="text.secondary" sx={{ display: 'block', mb: 1 }}>
|
||||
Noch keine Lieferscheine erstellt.
|
||||
</Typography>
|
||||
<Button
|
||||
size="small"
|
||||
variant="contained"
|
||||
startIcon={<LocalShippingOutlinedIcon />}
|
||||
onClick={this.props.onOpenCreateShipment || (() => navigate?.('/auftrag/ausliefern'))}
|
||||
sx={{ textTransform: 'none', fontWeight: 600, fontSize: '0.75rem' }}
|
||||
>
|
||||
Lieferschein anlegen
|
||||
</Button>
|
||||
</Box>
|
||||
)}
|
||||
) : null}
|
||||
</PanelTile>
|
||||
);
|
||||
}
|
||||
@@ -298,22 +274,7 @@ export class OrderDocumentsTiles extends PureComponent {
|
||||
);
|
||||
})}
|
||||
</Stack>
|
||||
) : (
|
||||
<Box
|
||||
sx={{
|
||||
p: 1.5,
|
||||
textAlign: 'center',
|
||||
bgcolor: 'rgba(255,255,255,0.6)',
|
||||
borderRadius: 1,
|
||||
border: '1px dashed',
|
||||
borderColor: 'divider',
|
||||
}}
|
||||
>
|
||||
<Typography variant="caption" color="text.secondary">
|
||||
Noch keine Zahlungen erfasst.
|
||||
</Typography>
|
||||
</Box>
|
||||
)}
|
||||
) : null}
|
||||
</PanelTile>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user