fixed crud list

fixed payments
upload -a
This commit is contained in:
2025-07-23 11:08:25 +03:00
parent a4a91e0053
commit 4603953458
53 changed files with 1512 additions and 1078 deletions
+8
View File
@@ -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',