Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDS-6005] Notify MMO on report submission for 10.4.4(g) #3131

Merged
merged 2 commits into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
INSERT INTO mine_report_notification
(compliance_article_id, contact_guid, is_major_mine, is_regional_mine)
VALUES
(
(SELECT compliance_article_id FROM compliance_article WHERE section = '10' AND sub_section = '4' AND paragraph = '4' AND sub_paragraph = '(g)'),
(SELECT contact_guid FROM emli_contact WHERE emli_contact_type_code = 'MMO'),
true,
false
);

UPDATE mine_report_definition
SET is_prr_only = FALSE
WHERE report_name = 'Annual Summary of Work and Reclamation Report';
Loading