Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production
This commit is contained in:
commit
c255c120d1
|
@ -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