fixed crud list
fixed payments upload -a
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
from django.db import models
|
||||
from common.models import LinesModel, ContainerTypeModel
|
||||
# from payments.models import ContainerTariffPeriod, AdditionalFees
|
||||
|
||||
# Create your models here.
|
||||
class Container(models.Model):
|
||||
@@ -42,6 +44,11 @@ class Container(models.Model):
|
||||
blank=True,
|
||||
null=True
|
||||
)
|
||||
preinfo = models.ForeignKey(
|
||||
'preinfo.Preinfo',
|
||||
on_delete=models.CASCADE,
|
||||
related_name='container_preinfo',
|
||||
)
|
||||
booking = models.ForeignKey(
|
||||
'booking.Booking',
|
||||
on_delete=models.CASCADE,
|
||||
@@ -61,6 +68,7 @@ class Container(models.Model):
|
||||
expedition_vehicle = models.CharField(max_length=100, blank=True, null=True)
|
||||
|
||||
|
||||
|
||||
class ContainerHistory(Container):
|
||||
operation = models.ForeignKey(
|
||||
'common.OperationModel',
|
||||
|
||||
Reference in New Issue
Block a user