diff --git a/mhr_api/report-templates/registrationCoverV2.html b/mhr_api/report-templates/registrationCoverV2.html index d76c99b23..17ae5050e 100644 --- a/mhr_api/report-templates/registrationCoverV2.html +++ b/mhr_api/report-templates/registrationCoverV2.html @@ -97,16 +97,19 @@ {{ documentDescription }} {% endif %} -
Document Registration Number: +
+ {% if registrationType is defined and registrationType == 'PERMIT' %}Transport Permit Number:{% else %}Document Registration Number:{% endif %} + {% if documentRegistrationNumber is defined and documentRegistrationNumber != '' %} {{ documentRegistrationNumber }} - {% elif note is defined and note.documentRegistrationNumber is defined and note.documentRegistrationNumber != '' %} - {{ note.documentRegistrationNumber }} {% else %} N/A {% endif %}
-
Document Registration Date and Time: {{ createDateTime }}
+
+ {% if registrationType is defined and registrationType == 'PERMIT' %}Date of Issue:{% else %}Document Registration Date and Time:{% endif %} + {{ createDateTime }} +
Toll-Free Phone: 1-877-526-1526
diff --git a/mhr_api/report-templates/template-parts/registration/location.html b/mhr_api/report-templates/template-parts/registration/location.html index 07aeef855..858ad6e00 100644 --- a/mhr_api/report-templates/template-parts/registration/location.html +++ b/mhr_api/report-templates/template-parts/registration/location.html @@ -1,6 +1,8 @@ {% if location is defined %}
- {% if registrationType not in ('EXEMPTION_RES', 'EXEMPTION_NON_RES') %} + {% if registrationType == 'PERMIT' %} +
New Registered Location
+ {% elif registrationType not in ('EXEMPTION_RES', 'EXEMPTION_NON_RES') %}
Registered Location
{% endif %} diff --git a/mhr_api/report-templates/template-parts/registration/submittingParty.html b/mhr_api/report-templates/template-parts/registration/submittingParty.html index 7425174cd..a38cfcdfb 100644 --- a/mhr_api/report-templates/template-parts/registration/submittingParty.html +++ b/mhr_api/report-templates/template-parts/registration/submittingParty.html @@ -1,7 +1,9 @@ {% if submittingParty is defined %}
{% if not (registrationType == 'EXEMPTION_RES' and usergroup is defined and usergroup != 'ppr_staff') %} -
+ {% if registrationType != 'PERMIT' %} +
+ {% endif %} {% endif %}
Submitting Party Information
diff --git a/mhr_api/report-templates/template-parts/v2/style.html b/mhr_api/report-templates/template-parts/v2/style.html index 1cb5ba28a..9cdd4a190 100755 --- a/mhr_api/report-templates/template-parts/v2/style.html +++ b/mhr_api/report-templates/template-parts/v2/style.html @@ -673,6 +673,21 @@ padding-right: 25px; } + .section-data-table-base { + width: 100%; + border-collapse: collapse; + } + + .section-data-table-base td { + vertical-align: top; + overflow-wrap: break-word; + word-wrap: break-word; + } + + .section-data-table-base td:nth-child(1) { + padding-left: 8px; + } + .cover-data-table { width: 100%; margin: 0px; diff --git a/mhr_api/report-templates/transportPermitV2.html b/mhr_api/report-templates/transportPermitV2.html index 1bc3c8de0..2f4dd761e 100644 --- a/mhr_api/report-templates/transportPermitV2.html +++ b/mhr_api/report-templates/transportPermitV2.html @@ -21,13 +21,17 @@ - + - + + + + +