minor features

This commit is contained in:
2023-11-23 04:58:25 +03:00
parent e5ea497851
commit aed1425f84
6 changed files with 12 additions and 38 deletions

View File

@@ -42,10 +42,11 @@ const OrderCard: FC<Props> = ({onPress, onSelect, order}) => {
<DText>Товаров в заказе: {order.products.length}</DText>
<DText>Создан: {order.createdOn}</DText>
<DText>Отгрузка: {order.shipmentDate}</DText>
<DText>Склад отгрузки: {order.shippingWarehouse}</DText>
</View>
<View style={styles.descriptionStatus}>
<DText>
<DText style={order.status >= OrderStatus.CANCELLED && {color: "red"}}>
{OrderStatusDictionary[order.status as OrderStatus]}
</DText>
</View>