-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #394 from codescalers/development_1.1_request_with…
…_time Update: Enhanced the vacation request, Changed the start, end dates to be datetime fields.
- Loading branch information
Showing
8 changed files
with
118 additions
and
73 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
server/cshr/migrations/0006_alter_vacation_end_date_alter_vacation_from_date.py
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,23 @@ | ||
# Generated by Django 4.2.9 on 2024-04-01 21:40 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("cshr", "0005_alter_user_social_insurance_number"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="vacation", | ||
name="end_date", | ||
field=models.DateTimeField(auto_now=True), | ||
), | ||
migrations.AlterField( | ||
model_name="vacation", | ||
name="from_date", | ||
field=models.DateTimeField(auto_now=True), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
server/cshr/migrations/0007_alter_vacation_end_date_alter_vacation_from_date.py
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,23 @@ | ||
# Generated by Django 4.2.9 on 2024-04-01 22:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("cshr", "0006_alter_vacation_end_date_alter_vacation_from_date"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="vacation", | ||
name="end_date", | ||
field=models.DateTimeField(), | ||
), | ||
migrations.AlterField( | ||
model_name="vacation", | ||
name="from_date", | ||
field=models.DateTimeField(), | ||
), | ||
] |
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,18 @@ | ||
# Generated by Django 4.2.9 on 2024-04-01 22:52 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("cshr", "0007_alter_vacation_end_date_alter_vacation_from_date"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="vacation", | ||
name="actual_days", | ||
field=models.FloatField(default=0), | ||
), | ||
] |
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
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
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