minor features
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user