Add human readable reference to bills

This commit is contained in:
fnux 2020-03-06 09:39:41 +01:00
commit 658262c599
2 changed files with 7 additions and 1 deletions

View file

@ -83,5 +83,5 @@ class BillSerializer(serializers.ModelSerializer):
records = BillRecordSerializer(many=True, read_only=True)
class Meta:
model = Bill
fields = ['owner', 'total', 'due_date', 'creation_date',
fields = ['reference', 'owner', 'total', 'due_date', 'creation_date',
'starting_date', 'ending_date', 'records', 'final']