debug pirce field
This commit is contained in:
@@ -73,7 +73,7 @@ class ProductVariantSerialzier(serializers.ModelSerializer):
|
|||||||
return item['quantity']
|
return item['quantity']
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def get_pirce(self, obj):
|
def get_price(self, obj):
|
||||||
return f'{obj.price:,.0f} تومان'
|
return f'{obj.price:,.0f} تومان'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user