This commit is contained in:
seb
2026-10-17 04:11:42 +02:00
parent 6df833b362
commit bd16df64a1
3 changed files with 44 additions and 90 deletions

View File

@@ -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>
);
}