in Payment value is amount, in Bill_line amount is quantity
This commit is contained in:
parent
10cdd51e44
commit
373a1133de
|
@ -58,17 +58,17 @@ class Stay(models.Model):
|
||||||
going_to =
|
going_to =
|
||||||
|
|
||||||
class Payment(models.Model):
|
class Payment(models.Model):
|
||||||
num =
|
num =
|
||||||
date = models.DateTimeField('date published')
|
date = models.DateTimeField('date published')
|
||||||
pay_type =
|
pay_type =
|
||||||
value =
|
amount =
|
||||||
|
|
||||||
class Bill_line(models.Model):
|
class Bill_line(models.Model):
|
||||||
service =
|
service =
|
||||||
amount =
|
quantity =
|
||||||
|
|
||||||
class Service(models.Model):
|
class Service(models.Model):
|
||||||
service_type =
|
service_type =
|
||||||
|
|
||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
|
|
Loading…
Reference in New Issue