diff --git a/api/__pycache__/settings.cpython-313.pyc b/api/__pycache__/settings.cpython-313.pyc index 96e8ce74..bc34bb7a 100644 Binary files a/api/__pycache__/settings.cpython-313.pyc and b/api/__pycache__/settings.cpython-313.pyc differ diff --git a/app/__pycache__/models.cpython-313.pyc b/app/__pycache__/models.cpython-313.pyc index f52d7a2d..53c2b673 100644 Binary files a/app/__pycache__/models.cpython-313.pyc and b/app/__pycache__/models.cpython-313.pyc differ diff --git a/app/__pycache__/workflow_utils.cpython-313.pyc b/app/__pycache__/workflow_utils.cpython-313.pyc index c87b238e..80e8719d 100644 Binary files a/app/__pycache__/workflow_utils.cpython-313.pyc and b/app/__pycache__/workflow_utils.cpython-313.pyc differ diff --git a/app/migrations/0352_transaction_early_discount_amount.py b/app/migrations/0352_transaction_early_discount_amount.py new file mode 100644 index 00000000..558f7480 --- /dev/null +++ b/app/migrations/0352_transaction_early_discount_amount.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.7 on 2026-01-09 04:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('app', '0351_remove_transaction_detail_amount_recived'), + ] + + operations = [ + migrations.AddField( + model_name='transaction', + name='early_discount_amount', + field=models.DecimalField(decimal_places=2, max_digits=15, null=True), + ), + ] diff --git a/app/models.py b/app/models.py index 7eebb309..4945cabe 100644 --- a/app/models.py +++ b/app/models.py @@ -1367,6 +1367,7 @@ class Transaction(AutoCodeModel): amount_remain = models.DecimalField(max_digits=15, decimal_places=2, null=True) ovd_days = models.IntegerField(null=True) penalty_amount = models.DecimalField(null=True, max_digits=15, decimal_places=2) + early_discount_amount = models.DecimalField(max_digits=15, decimal_places=2, null=True) payment_plan = models.JSONField(null=True) create_time = models.DateTimeField(null=True, auto_now_add=True) update_time = models.DateTimeField(null=True, auto_now=True)