Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
53df1d9802
|
@ -368,7 +368,11 @@ export class ProductService {
|
|||
'history_status',
|
||||
'history_status.deleted_at is NULL'
|
||||
)
|
||||
.where(`history_status.status = 'ACTIVE'`)
|
||||
.where(`history_status.partner_id = :id_partner and history_status.status = 'ACTIVE'`,
|
||||
{
|
||||
id_partner: user.partner.id,
|
||||
},
|
||||
)
|
||||
.select(['product.id'])
|
||||
.addSelect([
|
||||
'product.name',
|
||||
|
|
Loading…
Reference in New Issue
Block a user