Merge branch 'devops-staging' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend
This commit is contained in:
commit
0c4d4d108d
|
@ -503,6 +503,10 @@ export class ProductService {
|
||||||
|
|
||||||
dataa.price = actualPrice;
|
dataa.price = actualPrice;
|
||||||
|
|
||||||
|
if (user.username != 'admin') {
|
||||||
|
delete dataa.markup_price;
|
||||||
|
}
|
||||||
|
|
||||||
newData.push({
|
newData.push({
|
||||||
...dataa,
|
...dataa,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user