feat: add ordersCount to product model and display in SelectProductElement
This commit is contained in:
		@@ -24,7 +24,9 @@ const SelectProductElement: FC<Props> = React.memo(({product, onPress}) => {
 | 
			
		||||
                    <View style={styles.descriptionContent}>
 | 
			
		||||
 | 
			
		||||
                        <DText>{product.productName}</DText>
 | 
			
		||||
                        <DText style={{textAlign: "justify"}}>{}</DText>
 | 
			
		||||
                        <DText>Заказов: {product.ordersCount}</DText>
 | 
			
		||||
                        <DText style={{textAlign: "justify"}}>""</DText>
 | 
			
		||||
 | 
			
		||||
                        <DText>Артикул DENCO: {product.dencoArticle}</DText>
 | 
			
		||||
                    </View>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -3,4 +3,5 @@ export type Product = {
 | 
			
		||||
    dencoArticle: number;
 | 
			
		||||
    productName: string;
 | 
			
		||||
    thumbUrl: string;
 | 
			
		||||
    ordersCount?:number
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user