- change status to product history status and only 1 value get from table product history status if value is same
This commit is contained in:
		| @@ -387,6 +387,7 @@ export class ProductService { | |||||||
|         'current_price.price as price', |         'current_price.price as price', | ||||||
|       ]) |       ]) | ||||||
|         .addSelect('history_status.status', 'status') |         .addSelect('history_status.status', 'status') | ||||||
|  |         .distinct() | ||||||
|       // .addSelect( |       // .addSelect( | ||||||
|       //   '(current_price.price + current_price.mark_up_price) as price', |       //   '(current_price.price + current_price.mark_up_price) as price', | ||||||
|       // ); |       // ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user