From fc234b9dd6b5960b554c507cf459b03b420ce74e Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Thu, 2 Feb 2023 08:47:23 -0500 Subject: [PATCH] include purchaser's relationship to recipient --- views/print/pdf/ssm.cemetery.contract.ejs | 913 +++++++++++----------- 1 file changed, 458 insertions(+), 455 deletions(-) diff --git a/views/print/pdf/ssm.cemetery.contract.ejs b/views/print/pdf/ssm.cemetery.contract.ejs index e5c5e5a5..cafd266e 100644 --- a/views/print/pdf/ssm.cemetery.contract.ejs +++ b/views/print/pdf/ssm.cemetery.contract.ejs @@ -1,486 +1,489 @@ <% - const purchaserLotOccupantTypes = ["Purchaser", "Preneed Owner"]; + const purchaserLotOccupantTypes = ["Purchaser", "Preneed Owner"]; - let purchaserOccupants = []; - for (const purchaserLotOccupantType of purchaserLotOccupantTypes) { - purchaserOccupants = lotOccupancyFunctions.filterOccupantsByLotOccupantType(lotOccupancy, purchaserLotOccupantType); - if (purchaserOccupants.length > 0) { - break; - } - } + let purchaserOccupants = []; + for (const purchaserLotOccupantType of purchaserLotOccupantTypes) { + purchaserOccupants = lotOccupancyFunctions.filterOccupantsByLotOccupantType(lotOccupancy, purchaserLotOccupantType); + if (purchaserOccupants.length > 0) { + break; + } + } - const purchaser = purchaserOccupants.length > 0 ? purchaserOccupants[0] : undefined; + const purchaser = purchaserOccupants.length > 0 ? purchaserOccupants[0] : undefined; - const recipientLotOccupantTypes = ["Deceased", "Preneed Owner", "Purchaser"]; + const recipientLotOccupantTypes = ["Deceased", "Preneed Owner", "Purchaser"]; - let recipientOccupants = []; - for (const recipientLotOccupantType of recipientLotOccupantTypes) { - recipientOccupants = lotOccupancyFunctions.filterOccupantsByLotOccupantType(lotOccupancy, recipientLotOccupantType); - if (recipientOccupants.length > 0) { - break; - } - } - - const recipient = recipientOccupants.length > 0 ? recipientOccupants[0] : undefined; + let recipientOccupants = []; + for (const recipientLotOccupantType of recipientLotOccupantTypes) { + recipientOccupants = lotOccupancyFunctions.filterOccupantsByLotOccupantType(lotOccupancy, recipientLotOccupantType); + if (recipientOccupants.length > 0) { + break; + } + } - const deathDateOccupantTypeField = "Death Date"; - const deathPlaceOccupantTypeField = "Death Place"; + const recipient = recipientOccupants.length > 0 ? recipientOccupants[0] : undefined; + + const deathDateOccupantTypeField = "Death Date"; + const deathPlaceOccupantTypeField = "Death Place"; %> - - - - -

- Contract for the Purchase of Interment Rights or
- Cemetery Services -

-

- in - - <%= lotOccupancy.mapName %> - - cemetery
- operated by
- The Corporation of the City of Sault Ste. Marie, 99 Foster Drive
- Sault Ste. Marie Ontario   P6A 5X6 -

-

- Contract No. - - <%= lotOccupancy.lotOccupancyId %> - -

-

- Date of Purchase - -   - <% if (lotOccupancy.lotOccupancyTransactions.length > 0) { %> - <%= lotOccupancy.lotOccupancyTransactions[0].transactionDateString %> - <% } %> - -

- - - - - - - -
-

Purchaser

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name:<%= purchaser ? purchaser.occupantName : "" %>
Address:<%= purchaser ? purchaser.occupantAddress1 : "" %> 
<%= purchaser ? purchaser.occupantAddress2 : "" %> 
City:<%= purchaser ? purchaser.occupantCity : "" %> 
Province:<%= purchaser ? purchaser.occupantProvince : "" %> 
Postal Code:<%= purchaser ? purchaser.occupantPostalCode : "" %> 
Telephone:<%= purchaser ? purchaser.occupantPhoneNumber : "" %> 
E-mail:<%= purchaser ? purchaser.occupantEmailAddress : "" %> 
-
-

Recipient

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name:<%= recipient ? recipient.occupantName : "" %>
Address:<%= recipient ? recipient.occupantAddress1 : "" %> 
<%= recipient ? recipient.occupantAddress2 : "" %> 
City:<%= recipient ? recipient.occupantCity : "" %> 
Province:<%= recipient ? recipient.occupantProvince : "" %> 
Postal Code:<%= recipient ? recipient.occupantPostalCode : "" %> 
Telephone:<%= recipient ? recipient.occupantPhoneNumber : "" %> 
E-mail:<%= recipient ? recipient.occupantEmailAddress : "" %> 
Date of birth: 
Place of birth: 
-
-

- Purchaser's relationship to Recipient: -   -

-

- This Contract for Purchase of Interment Rights or Cemetery Services - is between the Purchaser and The Corporation of the City of Sault Ste. Marie (Corporation) - concerning interment rights or cemetery services for the Recipient(s) - as identified in this Contract. -

-

- The Purchaser (if different than the Recipient) - represents being legally authorized or charged with the responsibility for - the Recipient's interment rights and prepaid cemetery services - specified in this Contract. This Contract will be enforceable to - the benefit of and be binding upon the parties hereto - and their respective heirs, executors, administrators, successors, and assigns. -

- - - - - -
-

Details

- - - - - - - - - - <% - for (const field of lotOccupancy.lotOccupancyFields) { - if (field.lotOccupancyFieldValue) { - %> - - - - - <% - } - } - %> -
<%= configFunctions.getProperty("aliases.map") %><%= lotOccupancy.mapName %>
<%= configFunctions.getProperty("aliases.lot") %><%= lotOccupancy.lotName %>
<%= field.occupancyTypeField %><%= field.lotOccupancyFieldValue %>
-
-

Interment Rights and Services

- - - <% - let currentFeeCategory = ""; - let feeAmountTotal = 0; - let taxAmountTotal = 0; - %> - <% for (const fee of lotOccupancy.lotOccupancyFees) { %> - <% if (currentFeeCategory !== fee.feeCategory) { %> - - - - <% currentFeeCategory = fee.feeCategory; %> - <% } %> - - - - - <% - feeAmountTotal += fee.feeAmount; - taxAmountTotal += fee.taxAmount; - %> - <% } %> - - - - - - - - - - - - - - -
- <%= fee.feeCategory %> -
- <%= fee.feeName %> - - $<%= fee.feeAmount.toFixed(2) %> -
Sub Total - $<%= feeAmountTotal.toFixed(2) %> -
HST - $<%= taxAmountTotal.toFixed(2) %> -
Total Sale - $<%= (feeAmountTotal + taxAmountTotal).toFixed(2) %> -
Balance Owing - $<%= (feeAmountTotal + taxAmountTotal - lotOccupancyFunctions.getTransactionTotal(lotOccupancy)).toFixed(2) %> -
-
+ .confirmList > li::before { + content: "▢"; + position: absolute; + left: -1.4em; + top: -0.2em; + font-size: 15pt; + } + + + +

+ Contract for the Purchase of Interment Rights or
+ Cemetery Services +

+

+ in + + <%= lotOccupancy.mapName %> + + cemetery
+ operated by
+ The Corporation of the City of Sault Ste. Marie, 99 Foster Drive
+ Sault Ste. Marie Ontario   P6A 5X6 +

+

+ Contract No. + + <%= lotOccupancy.lotOccupancyId %> + +

+

+ Date of Purchase + +   + <% if (lotOccupancy.lotOccupancyTransactions.length > 0) { %> + <%= lotOccupancy.lotOccupancyTransactions[0].transactionDateString %> + <% } %> + +

+ + + + + + + +
+

Purchaser

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name:<%= purchaser ? purchaser.occupantName : "" %>
Address:<%= purchaser ? purchaser.occupantAddress1 : "" %> 
<%= purchaser ? purchaser.occupantAddress2 : "" %> 
City:<%= purchaser ? purchaser.occupantCity : "" %> 
Province:<%= purchaser ? purchaser.occupantProvince : "" %> 
Postal Code:<%= purchaser ? purchaser.occupantPostalCode : "" %> 
Telephone:<%= purchaser ? purchaser.occupantPhoneNumber : "" %> 
E-mail:<%= purchaser ? purchaser.occupantEmailAddress : "" %> 
+
+

Recipient

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name:<%= recipient ? recipient.occupantName : "" %>
Address:<%= recipient ? recipient.occupantAddress1 : "" %> 
<%= recipient ? recipient.occupantAddress2 : "" %> 
City:<%= recipient ? recipient.occupantCity : "" %> 
Province:<%= recipient ? recipient.occupantProvince : "" %> 
Postal Code:<%= recipient ? recipient.occupantPostalCode : "" %> 
Telephone:<%= recipient ? recipient.occupantPhoneNumber : "" %> 
E-mail:<%= recipient ? recipient.occupantEmailAddress : "" %> 
Date of birth: 
Place of birth: 
+
+

+ Purchaser's relationship to Recipient: + + <%= purchaser ? (purchaser.occupantComment ?? '') : '' %> +   + +

+

+ This Contract for Purchase of Interment Rights or Cemetery Services + is between the Purchaser and The Corporation of the City of Sault Ste. Marie (Corporation) + concerning interment rights or cemetery services for the Recipient(s) + as identified in this Contract. +

+

+ The Purchaser (if different than the Recipient) + represents being legally authorized or charged with the responsibility for + the Recipient's interment rights and prepaid cemetery services + specified in this Contract. This Contract will be enforceable to + the benefit of and be binding upon the parties hereto + and their respective heirs, executors, administrators, successors, and assigns. +

+ + + + + +
+

Details

+ + + + + + + + + + <% + for (const field of lotOccupancy.lotOccupancyFields) { + if (field.lotOccupancyFieldValue) { + %> + + + + + <% + } + } + %> +
<%= configFunctions.getProperty("aliases.map") %><%= lotOccupancy.mapName %>
<%= configFunctions.getProperty("aliases.lot") %><%= lotOccupancy.lotName %>
<%= field.occupancyTypeField %><%= field.lotOccupancyFieldValue %>
+
+

Interment Rights and Services

+ + + <% + let currentFeeCategory = ""; + let feeAmountTotal = 0; + let taxAmountTotal = 0; + %> + <% for (const fee of lotOccupancy.lotOccupancyFees) { %> + <% if (currentFeeCategory !== fee.feeCategory) { %> + + + + <% currentFeeCategory = fee.feeCategory; %> + <% } %> + + + + + <% + feeAmountTotal += fee.feeAmount; + taxAmountTotal += fee.taxAmount; + %> + <% } %> + + + + + + + + + + + + + + +
+ <%= fee.feeCategory %> +
+ <%= fee.feeName %> + + $<%= fee.feeAmount.toFixed(2) %> +
Sub Total + $<%= feeAmountTotal.toFixed(2) %> +
HST + $<%= taxAmountTotal.toFixed(2) %> +
Total Sale + $<%= (feeAmountTotal + taxAmountTotal).toFixed(2) %> +
Balance Owing + $<%= (feeAmountTotal + taxAmountTotal - lotOccupancyFunctions.getTransactionTotal(lotOccupancy)).toFixed(2) %> +
+
- + -

- Contribution Levels to the Care and Maintenance Fund
- (based on the price of Interment Rights and as prescribed by the Funeral, Burial and Cremation Services Act) -

+

+ Contribution Levels to the Care and Maintenance Fund
+ (based on the price of Interment Rights and as prescribed by the Funeral, Burial and Cremation Services Act) +

- - - - - - - - - - - - - - - - - -
Nichesthe greater of 15% and $100
Cryptsthe greater of 20% and $500
- In-ground grave (2.23 sq.m. or 24 sq.ft. or larger) - - the greater of 40% and $250 -
In-ground grave (smaller than 2.23 sq.m. or 24 sq ft)the greater of 40% and $150
- -

- Contribution Levels to the Care and Maintenance Fund - Markers
- (as prescribed by the Funeral, Burial and Cremation Services Act) -

+ + + + + + + + + + + + + + + + + +
Nichesthe greater of 15% and $100
Cryptsthe greater of 20% and $500
+ In-ground grave (2.23 sq.m. or 24 sq.ft. or larger) + + the greater of 40% and $250 +
In-ground grave (smaller than 2.23 sq.m. or 24 sq ft)the greater of 40% and $150
+ +

+ Contribution Levels to the Care and Maintenance Fund - Markers
+ (as prescribed by the Funeral, Burial and Cremation Services Act) +

- - - - - - - - - - - - - - - - - -
Flat marker measuring less than 1,116.3 sq.m. (173 sq.in.)$0.00
Flat marker measuring over 1,116.3 sq.m. (173 sq.in.)$50.00
- Upright monument measuring more than 1.22 m. (4 ft.) or less in height or length, - including the base - $100.00
- Upright monument measuring more than 1.22m. (4 ft.) either in height or length, - including the base - $200.00
- -

Contract Terms and Conditions

+ + + + + + + + + + + + + + + + + +
Flat marker measuring less than 1,116.3 sq.m. (173 sq.in.)$0.00
Flat marker measuring over 1,116.3 sq.m. (173 sq.in.)$50.00
+ Upright monument measuring more than 1.22 m. (4 ft.) or less in height or length, + including the base + $100.00
+ Upright monument measuring more than 1.22m. (4 ft.) either in height or length, + including the base + $200.00
+ +

Contract Terms and Conditions

-
    -
  1. - The Purchaser may only cancel a contract for interment rights or cemetery services upon written notice of cancellation - to the City Clerk in accordance with the Funeral, Burial and Cremation Services Act and the terms and conditions set - out herein. -
  2. -
  3. - Where interment rights have not been exercised and none of the contracted cemetery services have been provided - and where the contract is cancelled within thirty (30) days of its execution, the Corporation shall refund the Purchaser - all moneys paid less an administrative fee as set out in the Price List. -
  4. -
  5. - Where interment rights have not been exercised and part of the contracted cemetery services have been provided, - and where the contract is cancelled within thirty (30) days of its execution, the Corporation shall refund the Purchaser - the amount described in (b) above which shall be reduced by the cost of cemetery services provided as set out in the - current Price List. -
  6. -
  7. - A contract for interment rights cannot be cancelled more than thirty (30) days after the date of execution of the - contract. -
  8. -
  9. - Where a contract for cemetery services is cancelled more than thirty (30) days after the date of execution of the - contract, the Purchaser shall be refunded the amount described in (b) and (c) above plus the amount of income - earned on that money. -
  10. -
  11. - Written consent of all surviving interment rights holder(s), if any, and any other required documentation as set out in - Cemetery By-law 2012-129 is required for: cremation, interments, disinterments, and the placement of markers, - inscriptions or photos. -
  12. -
  13. - Transfer or resale of the above listed interment rights to a third party is permitted, subject to the provisions of - Cemetery By-law 2012-129 and the Funeral, Burial and Cremation Services Act. A Certificate of Interment Rights - holder shall not resell interment rights for an amount that is greater than the price of those rights as indicated on the - current Price List, inclusive of the care and maintenance component. -
  14. -
  15. - No Certificate of Interment Rights holder(s) may subdivide and sell or transfer a portion of interment rights. -
  16. -
  17. - An Interment Rights Certificate will not be issued until this Contract has been paid in full. -
  18. -
  19. - A marker, purchased and/or installed by anyone other than the Certificate of Interment Rights holder(s) may be - removed by cemetery staff upon the written request of the Certificate of Interment Rights holder(s). -
  20. -
  21. - Dead human bodies cannot be cremated if there is a pacemaker or radioactive implant in the body or if the body is in - a container made of or containing non-flammable or hazardous material or chlorinated or fibre-reinforced plastic. -
  22. -
  23. - Dead human bodies will not be cremated unless a coroner's certificate has been provided to the operator. -
  24. -
  25. - The Corporation shall not be responsible in the event that it is unable to or prevented from carrying out this Contract - due to causes beyond its control. -
  26. -
+
    +
  1. + The Purchaser may only cancel a contract for interment rights or cemetery services upon written notice of cancellation + to the City Clerk in accordance with the Funeral, Burial and Cremation Services Act and the terms and conditions set + out herein. +
  2. +
  3. + Where interment rights have not been exercised and none of the contracted cemetery services have been provided + and where the contract is cancelled within thirty (30) days of its execution, the Corporation shall refund the Purchaser + all moneys paid less an administrative fee as set out in the Price List. +
  4. +
  5. + Where interment rights have not been exercised and part of the contracted cemetery services have been provided, + and where the contract is cancelled within thirty (30) days of its execution, the Corporation shall refund the Purchaser + the amount described in (b) above which shall be reduced by the cost of cemetery services provided as set out in the + current Price List. +
  6. +
  7. + A contract for interment rights cannot be cancelled more than thirty (30) days after the date of execution of the + contract. +
  8. +
  9. + Where a contract for cemetery services is cancelled more than thirty (30) days after the date of execution of the + contract, the Purchaser shall be refunded the amount described in (b) and (c) above plus the amount of income + earned on that money. +
  10. +
  11. + Written consent of all surviving interment rights holder(s), if any, and any other required documentation as set out in + Cemetery By-law 2012-129 is required for: cremation, interments, disinterments, and the placement of markers, + inscriptions or photos. +
  12. +
  13. + Transfer or resale of the above listed interment rights to a third party is permitted, subject to the provisions of + Cemetery By-law 2012-129 and the Funeral, Burial and Cremation Services Act. A Certificate of Interment Rights + holder shall not resell interment rights for an amount that is greater than the price of those rights as indicated on the + current Price List, inclusive of the care and maintenance component. +
  14. +
  15. + No Certificate of Interment Rights holder(s) may subdivide and sell or transfer a portion of interment rights. +
  16. +
  17. + An Interment Rights Certificate will not be issued until this Contract has been paid in full. +
  18. +
  19. + A marker, purchased and/or installed by anyone other than the Certificate of Interment Rights holder(s) may be + removed by cemetery staff upon the written request of the Certificate of Interment Rights holder(s). +
  20. +
  21. + Dead human bodies cannot be cremated if there is a pacemaker or radioactive implant in the body or if the body is in + a container made of or containing non-flammable or hazardous material or chlorinated or fibre-reinforced plastic. +
  22. +
  23. + Dead human bodies will not be cremated unless a coroner's certificate has been provided to the operator. +
  24. +
  25. + The Corporation shall not be responsible in the event that it is unable to or prevented from carrying out this Contract + due to causes beyond its control. +
  26. +
- + -

Payment Terms

-

- All pre-need interment rights and cemetery services must be paid in full at the time of ordering. -

-

- In the case of at-need interment rights and cemetery services, the interment rights and services directly related to the - deceased will be invoiced by the Corporation and interest shall be charged at the rate determined by the Treasurer on the - unpaid balance after thirty (30) days from the date of invoice. Such services do not include interment rights in a - mausoleum. -

-

- Any rights of cancellation of this Contract, whether within thirty (30) days or after thirty (30) days can only be exercised by - the Purchaser or his or her Estate Trustee. -

+

Payment Terms

+

+ All pre-need interment rights and cemetery services must be paid in full at the time of ordering. +

+

+ In the case of at-need interment rights and cemetery services, the interment rights and services directly related to the + deceased will be invoiced by the Corporation and interest shall be charged at the rate determined by the Treasurer on the + unpaid balance after thirty (30) days from the date of invoice. Such services do not include interment rights in a + mausoleum. +

+

+ Any rights of cancellation of this Contract, whether within thirty (30) days or after thirty (30) days can only be exercised by + the Purchaser or his or her Estate Trustee. +

-

Personal Information

+

Personal Information

-

- The Purchaser acknowledges and provides consent to permit the Corporation to collect, use and disclose personal - information in accordance with the requirements under the Funeral, Burial and Cremation Services Act and the - regulations made thereunder for information within the cemetery/crematorium public register. The Purchaser also - understands that the Corporation does not rent or sell personal information to third party organizations. -

-

- All information provided by the Purchaser to the Corporation shall be held, retained, disclosed, and destroyed, as the case - may be, in accordance with the provisions of the Municipal Freedom of Information and Protection of Privacy Act. -

+

+ The Purchaser acknowledges and provides consent to permit the Corporation to collect, use and disclose personal + information in accordance with the requirements under the Funeral, Burial and Cremation Services Act and the + regulations made thereunder for information within the cemetery/crematorium public register. The Purchaser also + understands that the Corporation does not rent or sell personal information to third party organizations. +

+

+ All information provided by the Purchaser to the Corporation shall be held, retained, disclosed, and destroyed, as the case + may be, in accordance with the provisions of the Municipal Freedom of Information and Protection of Privacy Act. +

-

Consumer Information Guide and Cemetery Price List

+

Consumer Information Guide and Cemetery Price List

-

- By initialling below, the Purchaser acknowledges receiving a copy of the Ontario Government's Consumer Information - Guide (where made available by the Registrar) and the Cemetery Price List at the time of entering into this Contract. -

+

+ By initialling below, the Purchaser acknowledges receiving a copy of the Ontario Government's Consumer Information + Guide (where made available by the Registrar) and the Cemetery Price List at the time of entering into this Contract. +

- + -

- The Contract date set out below is the date on which this Contract is accepted by the Corporation. -

+

+ The Contract date set out below is the date on which this Contract is accepted by the Corporation. +

-

- Purchaser: -   - Date: -   -

-

- Purchaser: -   - Date: -   -

+

+ Purchaser: +   + Date: +   +

+

+ Purchaser: +   + Date: +   +

-

- Accepted on behalf of The Corporation
- of the City of Sault Ste. Marie by: -

-

- Name: -   -

- +

+ Accepted on behalf of The Corporation
+ of the City of Sault Ste. Marie by: +

+

+ Name: +   +

+ \ No newline at end of file