- 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:
Fadli 2022-08-30 14:28:27 +07:00
parent ce99cf5327
commit 52d712fd05

View File

@ -387,6 +387,7 @@ export class ProductService {
'current_price.price as price',
])
.addSelect('history_status.status', 'status')
.distinct()
// .addSelect(
// '(current_price.price + current_price.mark_up_price) as price',
// );