Skip to content

Commit

Permalink
[MDS-4259] ESUP permit Amendment without issuing new permit (#2716)
Browse files Browse the repository at this point in the history
remove update on issue date.
  • Loading branch information
henryoforeh-dev authored Oct 12, 2023
1 parent 2377e8e commit 478a544
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def update(self,
mine_manager_mine_party_appt_id,
permittee_mine_party_appt_id,
application_status,
issue_date,
expiry_date,
decision_reason,
is_closed,
Expand All @@ -208,7 +207,6 @@ def update(self,
self.permittee_mine_party_appt_id = permittee_mine_party_appt_id
self.application_date = application_date
self.description = description
self.issue_date = issue_date
self.expiry_date = expiry_date
self.latitude = latitude
self.longitude = longitude
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ class ExplosivesPermitAmendmentResource(Resource, UserMixin):
store_missing=False,
required=False,
)
parser.add_argument(
'issue_date',
type=lambda x: inputs.datetime_from_iso8601(x) if x else None,
store_missing=False,
required=False,
)
parser.add_argument(
'expiry_date',
type=lambda x: inputs.datetime_from_iso8601(x) if x else None,
Expand Down Expand Up @@ -190,7 +184,7 @@ def put(self,mine_guid, explosives_permit_amendment_guid):
data.get('permit_guid'), data.get('now_application_guid'),
data.get('issuing_inspector_party_guid'), data.get('mine_manager_mine_party_appt_id'),
data.get('permittee_mine_party_appt_id'), data.get('application_status'),
data.get('issue_date'), data.get('expiry_date'), data.get('decision_reason'),
data.get('expiry_date'), data.get('decision_reason'),
data.get('is_closed'), data.get('closed_reason'), data.get('closed_timestamp'),
data.get('latitude'), data.get('longitude'), data.get('application_date'),
data.get('description'),data.get('letter_date'),
Expand Down

0 comments on commit 478a544

Please sign in to comment.