fix: gett history transaction
This commit is contained in:
@@ -773,7 +773,7 @@ export class TransactionService {
|
|||||||
})
|
})
|
||||||
.leftJoin('transaction.product_price', 'product_price')
|
.leftJoin('transaction.product_price', 'product_price')
|
||||||
.leftJoin('product_price.product', 'product')
|
.leftJoin('product_price.product', 'product')
|
||||||
.addSelect('product_price.mark_up_price', 'mark_up_price')
|
.addSelect('transaction.amount', 'mark_up_price')
|
||||||
.addSelect('product.name', 'name')
|
.addSelect('product.name', 'name')
|
||||||
.addSelect('product.id', 'product_id');
|
.addSelect('product.id', 'product_id');
|
||||||
|
|
||||||
@@ -1124,4 +1124,3 @@ export class TransactionService {
|
|||||||
return transaction;
|
return transaction;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user