Add admin bill generation endpoint

This commit is contained in:
fnux 2020-05-08 10:42:04 +02:00
commit cbba1f4169
2 changed files with 17 additions and 0 deletions

View file

@ -72,6 +72,7 @@ class OrderSerializer(serializers.ModelSerializer):
model = Order
fields = ['uuid', 'owner', 'description', 'creation_date', 'starting_date', 'ending_date',
'bill', 'recurring_period', 'recurring_price', 'one_time_price', 'replaced_by']
read_only_fields = ['replaced_by']
###