From 373a1133deac17db73ff73808f0ae0fdf8cf53a9 Mon Sep 17 00:00:00 2001 From: docteur_mucus Date: Mon, 27 May 2019 22:30:55 +0200 Subject: [PATCH] in Payment value is amount, in Bill_line amount is quantity --- port/models.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/port/models.py b/port/models.py index 2b3f50b..d03e41b 100644 --- a/port/models.py +++ b/port/models.py @@ -58,17 +58,17 @@ class Stay(models.Model): going_to = class Payment(models.Model): - num = - date = models.DateTimeField('date published') - pay_type = - value = + num = + date = models.DateTimeField('date published') + pay_type = + amount = class Bill_line(models.Model): - service = - amount = + service = + quantity = class Service(models.Model): - service_type = + service_type = # Create your models here.