changes
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17
app/migrations/0348_remove_payment_schedule_entry.py
Normal file
17
app/migrations/0348_remove_payment_schedule_entry.py
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 5.1.7 on 2026-01-06 02:47
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('app', '0347_merge_20260105_1342'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='payment_schedule',
|
||||||
|
name='entry',
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# Generated by Django 5.1.7 on 2026-01-06 02:56
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('app', '0348_remove_payment_schedule_entry'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='internal_entry',
|
||||||
|
name='allocation_amount',
|
||||||
|
field=models.DecimalField(decimal_places=2, max_digits=15, null=True),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='internal_entry',
|
||||||
|
name='allocation_detail',
|
||||||
|
field=models.JSONField(null=True),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='payment_schedule',
|
||||||
|
name='entry',
|
||||||
|
field=models.JSONField(null=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -1615,6 +1615,8 @@ class Internal_Entry(AutoCodeModel):
|
|||||||
ref = models.CharField(max_length=30, null=True)
|
ref = models.CharField(max_length=30, null=True)
|
||||||
customer = models.ForeignKey(Customer, null=True, related_name='+', on_delete=models.PROTECT)
|
customer = models.ForeignKey(Customer, null=True, related_name='+', on_delete=models.PROTECT)
|
||||||
product = models.ForeignKey(Product, null=True, related_name='+', on_delete=models.PROTECT)
|
product = models.ForeignKey(Product, null=True, related_name='+', on_delete=models.PROTECT)
|
||||||
|
allocation_amount = models.DecimalField(null=True, max_digits=15, decimal_places=2)
|
||||||
|
allocation_detail = models.JSONField(null=True)
|
||||||
create_time = models.DateTimeField(null=True, auto_now_add=True)
|
create_time = models.DateTimeField(null=True, auto_now_add=True)
|
||||||
update_time = models.DateTimeField(null=True, auto_now=True)
|
update_time = models.DateTimeField(null=True, auto_now=True)
|
||||||
|
|
||||||
@@ -1647,7 +1649,7 @@ class Payment_Schedule(AutoCodeModel):
|
|||||||
type = models.ForeignKey(Payment_Type, null=False, related_name='+', on_delete=models.PROTECT)
|
type = models.ForeignKey(Payment_Type, null=False, related_name='+', on_delete=models.PROTECT)
|
||||||
status = models.ForeignKey(Payment_Status, null=False, related_name='+', on_delete=models.PROTECT)
|
status = models.ForeignKey(Payment_Status, null=False, related_name='+', on_delete=models.PROTECT)
|
||||||
updater = models.ForeignKey(User, null=False, related_name='+', on_delete=models.PROTECT)
|
updater = models.ForeignKey(User, null=False, related_name='+', on_delete=models.PROTECT)
|
||||||
entry = models.ForeignKey(Internal_Entry, null=True, related_name='+', on_delete=models.PROTECT)
|
entry = models.JSONField(null=True)
|
||||||
detail = models.JSONField(null=True)
|
detail = models.JSONField(null=True)
|
||||||
ovd_days = models.IntegerField(null=True)
|
ovd_days = models.IntegerField(null=True)
|
||||||
penalty_amount = models.DecimalField(null=True, max_digits=15, decimal_places=2)
|
penalty_amount = models.DecimalField(null=True, max_digits=15, decimal_places=2)
|
||||||
|
|||||||
Reference in New Issue
Block a user