- change status to product history status

This commit is contained in:
Fadli 2022-08-30 00:39:29 +07:00
parent 0db3bd8c32
commit 7cdd33cd5a

View File

@ -366,7 +366,7 @@ export class ProductService {
'product.currentStatus',
'product.statusHistory',
'history_status',
'history_status.deleted_at is NULL and history_status.partner_id = :id_partner and history_status.status = ACTIVE',
'history_status.deleted_at is NULL and history_status.partner_id = :id_partner and history_status.status = `ACTIVE`',
{
id_partner: user.partner.id,
},