diff --git a/src/components/manifest/OrderDocumentsTiles.jsx b/src/components/manifest/OrderDocumentsTiles.jsx
index 3e4c7c9..b83ea97 100644
--- a/src/components/manifest/OrderDocumentsTiles.jsx
+++ b/src/components/manifest/OrderDocumentsTiles.jsx
@@ -13,6 +13,7 @@ import CheckCircleOutlineOutlinedIcon from '@mui/icons-material/CheckCircleOutli
import { PanelTile } from 'dashgui/panels';
import { formatDate } from './manifestConfig';
import { formatPrice } from '../../utils/price';
+import { typeLabel, typeIcon } from './OrderPaymentList';
import {
GREEN_PANEL,
YELLOW_PANEL,
@@ -220,29 +221,55 @@ export class OrderDocumentsTiles extends PureComponent {
{payments.length > 0 ? (
- {payments.map((pay) => (
-
-
-
-
- #{pay.id}
-
-
-
- +{formatPrice(pay.amount)}
-
-
- ))}
+ {payments.map((pay) => {
+ const pType = pay.type || pay.paymentType || pay.payment_type;
+ return (
+
+
+
+
+
+ #{pay.id}
+
+
+
+ +{formatPrice(pay.amount)}
+
+
+
+
+
+ {typeIcon(pType, { fontSize: 15, color: 'text.secondary' })}
+
+ {typeLabel(pType)}
+
+
+ {pay.date ? (
+
+ {formatDate(pay.date)}
+
+ ) : null}
+
+
+ );
+ })}
) : (
t.value === val);
return match?.label || val || 'Zahlung';
}
-function typeIcon(val) {
+export function typeIcon(val, sx = { fontSize: 18 }) {
const match = PAYMENT_TYPES.find((t) => t.value === val);
const IconComp = match?.icon || PaymentsIcon;
- return ;
+ return ;
}
const rowSx = {