fix, add: fix income expence contract list error, add party statistics api

This commit is contained in:
behruz-dev
2025-09-15 16:31:11 +05:00
parent b264bf632b
commit 8af117db99
4 changed files with 37 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class ExpenceContractSerializer(serializers.ModelSerializer):
return {
'id': obj.user.id,
'full_name': obj.user.full_name
}
} if obj.user else None
def get_counterparty(self, obj):
return {