Add status field in equipments for transaction serializer

This commit is contained in:
Keannu Bernasol 2024-01-03 17:31:08 +08:00
parent d9d94c03ef
commit 1757538db1

View file

@ -21,7 +21,7 @@ class EquipmentInstanceSerializer(serializers.ModelSerializer):
class Meta:
model = EquipmentInstance
fields = ['id', 'name']
fields = ['id', 'name', 'status']
class TransactionSerializer(serializers.HyperlinkedModelSerializer):