relatedHTML += `
-
+
${cityssm.escapeHTML(contract.funeralHomeName)}
`
diff --git a/public/stylesheets/sunrise.css b/public/stylesheets/sunrise.css
index 2d2ada91..fbc10695 100644
--- a/public/stylesheets/sunrise.css
+++ b/public/stylesheets/sunrise.css
@@ -30,7 +30,7 @@
#is-login-page {
overflow: auto;
- background-position: top center;
+ background-position: bottom center;
background-size: cover;
}
diff --git a/views/cemetery-edit.ejs b/views/cemetery-edit.ejs
index 18ceea16..10802c50 100644
--- a/views/cemetery-edit.ejs
+++ b/views/cemetery-edit.ejs
@@ -252,7 +252,7 @@
-
+
Export All
diff --git a/views/cemetery-view.ejs b/views/cemetery-view.ejs
index e688f5bc..4fb18104 100644
--- a/views/cemetery-view.ejs
+++ b/views/cemetery-view.ejs
@@ -73,156 +73,158 @@
<% } %>
- Address
- <% if (cemetery.cemeteryAddress1 !== "") { %>
- <%= cemetery.cemeteryAddress1 %>
- <% } %>
- <% if (cemetery.cemeteryAddress2 !== "") { %>
- <%= cemetery.cemeteryAddress2 %>
- <% } %>
- <%= cemetery.cemeteryCity %>, <%= cemetery.cemeteryProvince %>
- <%= cemetery.cemeteryPostalCode %>
+ Address
+ <% if (cemetery.cemeteryAddress1 !== "") { %>
+ <%= cemetery.cemeteryAddress1 %>
+ <% } %>
+ <% if (cemetery.cemeteryAddress2 !== "") { %>
+ <%= cemetery.cemeteryAddress2 %>
+ <% } %>
+ <%= cemetery.cemeteryCity %>, <%= cemetery.cemeteryProvince %>
+ <%= cemetery.cemeteryPostalCode %>
<% if (cemetery.cemeteryPhoneNumber !== "") { %>
-
- Phone Number
- <%= cemetery.cemeteryPhoneNumber %>
-
+
+ Phone Number
+ <%= cemetery.cemeteryPhoneNumber %>
+
<% } %>
-
-
-
Geographic Location
-
- <% if (cemetery.cemeteryLatitude && cemetery.cemeteryLongitude) { %>
-
- <% } else { %>
-
-
There are no geographic coordinates associated with this cemetery.
-
- <% } %>
-
+
+
+
Geographic Location
+
+ <% if (cemetery.cemeteryLatitude && cemetery.cemeteryLongitude) { %>
+
+ <% } else { %>
+
+
+ There are no geographic coordinates associated with this cemetery.
+
+
+ <% } %>
-
<% const burialSiteSearchUrl = urlPrefix + "/burialSites?cemeteryId=" + cemetery.cemeteryId; %>
-
-
-
-
+
+
-
- <% if (cemetery.burialSiteCount === 0) { %>
-
-
- There are no burial sites associated with this cemetery.
-
-
- <% } else { %>
-
-
-
-
-
- | Type |
-
- Burial Site Count
- |
- Percentage |
-
-
-
- <% for (const burialSiteType of burialSiteTypeSummary) { %>
-
- |
-
- <%= burialSiteType.burialSiteType %>
-
- |
-
- <%= burialSiteType.burialSiteCount %>
- |
-
- <%= ((burialSiteType.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
- |
-
- <% } %>
-
-
-
-
-
-
-
- | Status |
-
- Burial Site Count
- |
- Percentage |
-
-
-
- <% for (const burialSiteStatus of burialSiteStatusSummary) { %>
-
- |
-
- <%= burialSiteStatus.burialSiteStatus %>
-
- |
-
- <%= burialSiteStatus.burialSiteCount %>
- |
-
- <%= ((burialSiteStatus.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
- |
-
- <% } %>
-
-
-
-
- <% } %>
-
+
+
+ <% if (cemetery.burialSiteCount === 0) { %>
+
+
+ There are no burial sites associated with this cemetery.
+
+
+ <% } else { %>
+
+
+
+
+
+ | Type |
+
+ Burial Site Count
+ |
+ Percentage |
+
+
+
+ <% for (const burialSiteType of burialSiteTypeSummary) { %>
+
+ |
+
+ <%= burialSiteType.burialSiteType %>
+
+ |
+
+ <%= burialSiteType.burialSiteCount %>
+ |
+
+ <%= ((burialSiteType.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
+ |
+
+ <% } %>
+
+
+
+
+
+
+
+ | Status |
+
+ Burial Site Count
+ |
+ Percentage |
+
+
+
+ <% for (const burialSiteStatus of burialSiteStatusSummary) { %>
+
+ |
+
+ <%= burialSiteStatus.burialSiteStatus %>
+
+ |
+
+ <%= burialSiteStatus.burialSiteCount %>
+ |
+
+ <%= ((burialSiteStatus.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
+ |
+
+ <% } %>
+
+
+
+
+ <% } %>
+
<%- include('_footerA'); -%>
diff --git a/views/contract-edit.ejs b/views/contract-edit.ejs
index 880bca4c..767c9b36 100644
--- a/views/contract-edit.ejs
+++ b/views/contract-edit.ejs
@@ -322,7 +322,20 @@
-
Funeral
+
@@ -425,7 +438,20 @@
-
Purchaser
+
-
Funeral
+
@@ -201,7 +214,11 @@
Committal Type
- <%= contract.committalType %>
+ <% if (contract.committalType === null) { %>
+ (No Committal Type)
+ <% } else { %>
+ <%= contract.committalType %>
+ <% } %>
@@ -211,7 +228,20 @@