HOTFIX
* corrects behaviour of lanis link generation for EIV and KOM
This commit is contained in:
parent
23c7a80bd7
commit
17de730c53
@ -493,7 +493,7 @@ class Compensation(AbstractCompensation, CEFMixin, CoherenceMixin, PikMixin):
|
|||||||
try:
|
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:
|
except TypeError:
|
||||||
is_old_entry = True
|
is_old_entry = False
|
||||||
|
|
||||||
if is_old_entry:
|
if is_old_entry:
|
||||||
retval = COMPENSATION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
retval = COMPENSATION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
||||||
|
@ -398,7 +398,8 @@ class Intervention(BaseObject,
|
|||||||
try:
|
try:
|
||||||
is_old_entry = self.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
|
is_old_entry = self.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
|
||||||
except TypeError:
|
except TypeError:
|
||||||
is_old_entry = True
|
is_old_entry = False
|
||||||
|
|
||||||
if is_old_entry:
|
if is_old_entry:
|
||||||
retval = INTERVENTION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
retval = INTERVENTION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user