Fix a few errors on preview billing rework

Another WIP commit to sync with laptop, do not forget to rebase!
This commit is contained in:
fnux 2020-03-01 12:23:04 +01:00
commit be2b0a8855
4 changed files with 25 additions and 8 deletions

View file

@ -10,7 +10,7 @@ from uncloud_vm.models import VMProduct
class BillSerializer(serializers.ModelSerializer):
class Meta:
model = Bill
fields = ['owner', 'amount', 'due_date', 'creation_date',
fields = ['owner', 'total', 'due_date', 'creation_date',
'starting_date', 'ending_date']
class PaymentSerializer(serializers.ModelSerializer):