-
Notifications
You must be signed in to change notification settings - Fork 77
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 #3933 from GeotrekCE/feat_add_workforce_to_interve…
…ntion_issue_3824 💫 [FEAT] add workforce cost into intervention model (#3824)
- Loading branch information
Showing
18 changed files
with
106 additions
and
33 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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -158,7 +158,10 @@ msgstr "" | |
msgid "Heliport cost" | ||
msgstr "" | ||
|
||
msgid "Subcontract cost" | ||
msgid "Contractor cost" | ||
msgstr "" | ||
|
||
msgid "Workforce cost" | ||
msgstr "" | ||
|
||
msgid "3D Length" | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -158,7 +158,10 @@ msgstr "" | |
msgid "Heliport cost" | ||
msgstr "" | ||
|
||
msgid "Subcontract cost" | ||
msgid "Contractor cost" | ||
msgstr "" | ||
|
||
msgid "Workforce cost" | ||
msgstr "" | ||
|
||
msgid "3D Length" | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -158,7 +158,10 @@ msgstr "" | |
msgid "Heliport cost" | ||
msgstr "" | ||
|
||
msgid "Subcontract cost" | ||
msgid "Contractor cost" | ||
msgstr "" | ||
|
||
msgid "Workforce cost" | ||
msgstr "" | ||
|
||
msgid "3D Length" | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -160,8 +160,11 @@ msgstr "Coût matériel" | |
msgid "Heliport cost" | ||
msgstr "Coût héliportage" | ||
|
||
msgid "Subcontract cost" | ||
msgstr "Coût sous-traitance" | ||
msgid "Contractor cost" | ||
msgstr "Coût prestataire" | ||
|
||
msgid "Workforce cost" | ||
msgstr "Coût main d'oeuvre" | ||
|
||
msgid "3D Length" | ||
msgstr "Longueur 3D" | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -158,7 +158,10 @@ msgstr "" | |
msgid "Heliport cost" | ||
msgstr "" | ||
|
||
msgid "Subcontract cost" | ||
msgid "Contractor cost" | ||
msgstr "" | ||
|
||
msgid "Workforce cost" | ||
msgstr "" | ||
|
||
msgid "3D Length" | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-11 15:38+0000\n" | ||
"POT-Creation-Date: 2024-02-13 10:26+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -158,7 +158,10 @@ msgstr "" | |
msgid "Heliport cost" | ||
msgstr "" | ||
|
||
msgid "Subcontract cost" | ||
msgid "Contractor cost" | ||
msgstr "" | ||
|
||
msgid "Workforce cost" | ||
msgstr "" | ||
|
||
msgid "3D Length" | ||
|
23 changes: 23 additions & 0 deletions
23
geotrek/maintenance/migrations/0026_rename_subcontract_cost_intervention_contractor_cost.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 3.2.23 on 2024-02-12 16:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('maintenance', '0025_remove_intervention_date'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='intervention', | ||
old_name='subcontract_cost', | ||
new_name='contractor_cost', | ||
), | ||
migrations.AlterField( | ||
model_name='intervention', | ||
name='contractor_cost', | ||
field=models.FloatField(blank=True, default=0.0, null=True, verbose_name='Contractor cost'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
geotrek/maintenance/migrations/0027_intervention_workforce_cost.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,18 @@ | ||
# Generated by Django 3.2.23 on 2024-02-12 16:28 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('maintenance', '0026_rename_subcontract_cost_intervention_contractor_cost'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='intervention', | ||
name='workforce_cost', | ||
field=models.FloatField(blank=True, default=0.0, null=True, verbose_name='Workforce cost'), | ||
), | ||
] |
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
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