-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PayUplift model and multiply pay periods by pay uplift (#569)
- Loading branch information
1 parent
c264ec1
commit 0fe4dea
Showing
4 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Generated by Django 5.1.3 on 2024-12-06 15:33 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0013_alter_historicalgroup_options_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="PayUplift", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("apr", models.FloatField(default=1.0)), | ||
("may", models.FloatField(default=1.0)), | ||
("jun", models.FloatField(default=1.0)), | ||
("jul", models.FloatField(default=1.0)), | ||
("aug", models.FloatField(default=1.0)), | ||
("sep", models.FloatField(default=1.0)), | ||
("oct", models.FloatField(default=1.0)), | ||
("nov", models.FloatField(default=1.0)), | ||
("dec", models.FloatField(default=1.0)), | ||
("jan", models.FloatField(default=1.0)), | ||
("feb", models.FloatField(default=1.0)), | ||
("mar", models.FloatField(default=1.0)), | ||
( | ||
"financial_year", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.PROTECT, | ||
to="core.financialyear", | ||
), | ||
), | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters