summaryrefslogtreecommitdiff
path: root/archaeological_files/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r--archaeological_files/models.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index fb0665a28..8546b8933 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -1170,7 +1170,17 @@ class File(
max_day_worked = max(max_day_worked, job.days_worked or 0)
if name not in jobs:
has_parents = job.job.has_parents
- jobs[name] = {"has_parents": has_parents}
+ jobs[name] = {
+ "has_parents": has_parents,
+ "ground_man_by_day_planned": "",
+ "ground_days_planned": "",
+ "ground_cost_planned": "",
+ "ground_cost_total_planned": "",
+ "ground_man_by_day_worked": "",
+ "ground_days_worked": "",
+ "ground_cost_worked": "",
+ "ground_cost_total_worked": "",
+ }
cost_total_planned = (
(job.man_by_day_planned or 0) * (job.days_planned or 0) *
(job.cost_planned or 0)