From 94ba018c9e427cec7c723d49e37d79e24c2ff013 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 27 Dec 2023 16:50:52 +0800 Subject: [PATCH] Add remarks to transaction serializer --- equipment_tracker/transactions/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equipment_tracker/transactions/serializers.py b/equipment_tracker/transactions/serializers.py index 0416051..21c4448 100644 --- a/equipment_tracker/transactions/serializers.py +++ b/equipment_tracker/transactions/serializers.py @@ -39,7 +39,7 @@ class TransactionSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Transaction fields = ['id', 'borrower', 'teacher', - 'equipments', 'transaction_status', 'timestamp'] + 'equipments', 'remarks', 'transaction_status', 'timestamp'] read_only_fields = ['id', 'timestamp'] def to_representation(self, instance):