add currency field to party list serializer

This commit is contained in:
behruz-dev
2025-08-23 12:30:19 +05:00
parent ba9fb13d65
commit e62357d132

View File

@@ -97,7 +97,7 @@ class PartyDetailSerializer(serializers.ModelSerializer):
fields = [
'id', 'number', 'delivery_date', 'closed_date', 'order_date', 'payment_date', 'status',
'payment_status', 'process', 'confirmation', 'comment', 'audit', 'audit_comment',
'orders', 'party_amount', 'mediator',
'orders', 'party_amount', 'mediator', 'currency'
]
def get_mediator(self, obj):
@@ -117,7 +117,7 @@ class PartyListSerializer(serializers.ModelSerializer):
fields = [
'id','number', 'delivery_date', 'closed_date', 'order_date', 'payment_date', 'status',
'payment_status', 'process', 'confirmation', 'comment', 'audit', 'audit_comment',
'party_amount', 'mediator', 'counterparty'
'party_amount', 'mediator', 'counterparty', 'currency'
]
def get_mediator(self, obj):