Compare commits
No commits in common. "accccb93c2940d95ad41a188808717efbc76653c" and "4c08756eef992d86ddfcb26773108b430d8404f9" have entirely different histories.
accccb93c2
...
4c08756eef
@ -490,11 +490,7 @@ class Compensation(AbstractCompensation, CEFMixin, CoherenceMixin, PikMixin):
|
|||||||
if self.is_recorded:
|
if self.is_recorded:
|
||||||
retval = COMPENSATION_LANIS_LAYER_NAME_RECORDED
|
retval = COMPENSATION_LANIS_LAYER_NAME_RECORDED
|
||||||
else:
|
else:
|
||||||
try:
|
is_old_entry = self.intervention.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
|
||||||
is_old_entry = self.intervention.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
|
|
||||||
except TypeError:
|
|
||||||
is_old_entry = True
|
|
||||||
|
|
||||||
if is_old_entry:
|
if is_old_entry:
|
||||||
retval = COMPENSATION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
retval = COMPENSATION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user