Merge branch 'development' into 'devops-staging'

Feat: add column partner_fee

See merge request empatnusabangsa/ppob/ppob-backend!169
This commit is contained in:
muhammad fadil 2022-05-23 14:22:23 +00:00
commit d68b2bd2ae

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',
)