add created_at field to offer serializer

This commit is contained in:
behruz-dev
2025-08-21 12:53:17 +05:00
parent 158a30b24b
commit 9e391f1c45

View File

@@ -95,7 +95,7 @@ class OffersSerializer(serializers.ModelSerializer):
class Meta:
model = Offer
fields = [
'id', 'number', 'price', 'price_type', 'phone', 'comment', 'qqs', 'counterparty'
'id', 'number', 'price', 'price_type', 'phone', 'comment', 'qqs', 'counterparty', 'created_at'
]
def get_counterparty(self, obj):