Feat: add column partner_fee

This commit is contained in:
mfadiln2018 2022-05-23 21:20:33 +07:00
parent 044a5082e1
commit 0934147c51

View File

@ -186,9 +186,9 @@ export class ProductService {
'supplier.name',
'category.name',
'product.status',
'current_price.admin_price as admin_price',
])
.addSelect('current_price.price')
.addSelect('current_price.price', 'price')
.addSelect('current_price.partner_fee', 'partner_fee')
.addSelect(
'(current_price.price + current_price.mark_up_price) as mark_up_price',
)