<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright 2024-2025 Nexa Systems Inc.
    License OPL-1 (Odoo Proprietary License v1.0)
    Part of the Fusion Claim Assistant product family.
    Grab Bar Installation Waiver and Liability Release Agreement
-->
<odoo>
    <template id="report_grab_bar_waiver">
        <t t-call="web.html_container">
            <t t-foreach="docs" t-as="doc">
                <t t-call="web.external_layout">
                    <t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)"/>
                    <t t-set="company" t-value="doc.company_id"/>
                    
                    <style>
                        .fc-waiver { font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.5; }
                        .fc-waiver h1 { color: #0066a1; font-size: 16pt; text-align: center; margin: 10px 0 20px 0; }
                        .fc-waiver h2 { color: #333; font-size: 11pt; margin: 15px 0 8px 0; }
                        .fc-waiver p { margin: 8px 0; text-align: justify; }
                        .fc-waiver .intro { margin-bottom: 15px; font-style: italic; }
                        .fc-waiver .section { margin-bottom: 15px; }
                        .fc-waiver .section-title { font-weight: bold; font-size: 10pt; margin-bottom: 5px; }
                        .fc-waiver .subsection { margin-left: 20px; margin-bottom: 8px; }
                        .fc-waiver .subsection-title { font-weight: bold; }
                        .fc-waiver .signature-section { margin-top: 30px; }
                        .fc-waiver .signature-box { border: 1px solid #000; padding: 20px; margin-top: 15px; }
                        .fc-waiver .signature-line { border-bottom: 1px solid #000; min-height: 40px; margin-bottom: 5px; }
                        .fc-waiver .signature-label { font-size: 9pt; color: #666; margin-bottom: 20px; }
                        .fc-waiver .acknowledgment { font-size: 9pt; margin: 20px 0; padding: 10px; background-color: #fff8e1; border-left: 3px solid #ffc107; }
                        .fc-waiver table { width: 100%; border-collapse: collapse; }
                        .fc-waiver .info-table td { padding: 5px 10px; }
                        .fc-waiver .info-table th { background-color: #f5f5f5; color: #333; text-align: left; padding: 5px 10px; width: 30%; }
                    </style>
                    
                    <div class="fc-waiver">
                        <div class="page">
                            
                            <!-- Document Title -->
                            <h1>GRAB BAR INSTALLATION WAIVER AND LIABILITY RELEASE AGREEMENT</h1>
                            
                            <!-- Introduction -->
                            <div class="intro">
                                <p>This Waiver and Release Agreement ("Agreement") is entered into by and between the undersigned customer ("Customer") and <t t-esc="company.name"/> ("Installer") as of the date of signature below. By signing this Agreement, the Customer acknowledges and agrees to the following terms and conditions:</p>
                            </div>
                            
                            <!-- Customer Information -->
                            <table class="info-table" style="border: 1px solid #ccc; margin-bottom: 20px;">
                                <tr>
                                    <th style="border: 1px solid #ccc;">Customer Name</th>
                                    <td style="border: 1px solid #ccc;"><t t-esc="doc.partner_id.name"/></td>
                                </tr>
                                <tr>
                                    <th style="border: 1px solid #ccc;">Address</th>
                                    <td style="border: 1px solid #ccc;">
                                        <div t-field="doc.partner_shipping_id" 
                                             t-options="{'widget': 'contact', 'fields': ['address'], 'no_marker': True}"/>
                                    </td>
                                </tr>
                                <tr>
                                    <th style="border: 1px solid #ccc;">Order Reference</th>
                                    <td style="border: 1px solid #ccc;"><t t-esc="doc.name"/></td>
                                </tr>
                            </table>
                            
                            <!-- Section 1: Scope of Work -->
                            <div class="section">
                                <div class="section-title">1. Scope of Work</div>
                                <p>The Installer agrees to install grab bars as per the Customer's request. The Customer understands and acknowledges that the installation process may involve drilling into walls, tiles, or other surfaces, and the Installer will take reasonable care to perform the work professionally.</p>
                            </div>
                            
                            <!-- Section 2: Liability Waiver -->
                            <div class="section">
                                <div class="section-title">2. Liability Waiver</div>
                                <p>To the fullest extent permitted by law, the Customer agrees to release, waive, and hold harmless the Installer, its employees, agents, and subcontractors from any and all liability, claims, demands, damages, or causes of action arising from or related to the installation of grab bars, including but not limited to:</p>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">a. Water Leaks</span><br/>
                                    The Installer is not responsible for any water leaks that may occur in the wall or plumbing as a result of the installation process.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">b. Rust or Corrosion</span><br/>
                                    The Installer is not liable for any rust, corrosion, or degradation of the grab bars over time due to environmental factors or improper maintenance.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">c. Falls or Misuse</span><br/>
                                    The Installer is not responsible for any injuries, falls, or accidents resulting from the misuse or improper use of the grab bars after installation.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">d. Change of Mind</span><br/>
                                    The Customer acknowledges that once the grab bars are installed, no refunds or returns will be provided under any circumstance.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">e. Tile Damage</span><br/>
                                    The Installer is not responsible for any cracks, chips, or other damage to tiles or grout during the installation process.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">f. Plumbing Damage</span><br/>
                                    The Installer is not liable for any damage to plumbing or hidden pipes within the wall during the installation process.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">g. Structural Damage</span><br/>
                                    The Installer is not responsible for any structural damage to the house, including but not limited to damage to walls, floors, or support structures.</p>
                                </div>
                                
                                <div class="subsection">
                                    <p><span class="subsection-title">h. Floor Damage</span><br/>
                                    The Installer is not liable for any damage to flooring that may occur during the installation process.</p>
                                </div>
                            </div>
                            
                            <!-- Section 3: Order Cancellation Policy -->
                            <div class="section">
                                <div class="section-title">3. Order Cancellation Policy</div>
                                <p>The Customer may cancel the order at any time <strong>before installation begins</strong> without incurring additional charges, except for any applicable delivery fees.</p>
                                <p>If the Installer has already arrived at the installation location and the Customer decides to cancel the order, the Customer agrees to pay a delivery &amp; installation fee.</p>
                            </div>
                            
                            <!-- Section 4: No Warranties -->
                            <div class="section">
                                <div class="section-title">4. No Warranties</div>
                                <p>The Installer provides no warranties, express or implied, regarding the quality, durability, or fitness of the grab bars or the installation process. The grab bars are installed "as is" and at the Customer's own risk.</p>
                            </div>
                            
                            <!-- Section 5: Indemnification -->
                            <div class="section">
                                <div class="section-title">5. Indemnification</div>
                                <p>The Customer agrees to indemnify and hold harmless the Installer, its employees, agents, and subcontractors from any claims, damages, or expenses (including attorney's fees) arising from or related to the installation of grab bars.</p>
                            </div>
                            
                            <!-- Section 6: Acknowledgement -->
                            <div class="section">
                                <div class="section-title">6. Acknowledgement</div>
                                <p>By signing this Agreement, the Customer acknowledges that they have read, understood, and agreed to all terms and conditions outlined above. The Customer further acknowledges that they have had the opportunity to ask questions regarding the installation process and the terms of this Agreement.</p>
                            </div>
                            
                            <!-- Section 7: Governing Law -->
                            <div class="section">
                                <div class="section-title">7. Governing Law</div>
                                <p>This Agreement shall be governed by and construed in accordance with the laws of the Province of Ontario.</p>
                            </div>
                            
                            <!-- Acknowledgment Box -->
                            <div class="acknowledgment">
                                <p style="margin: 0;"><strong>By signing this form, I acknowledge that I have read the waiver agreement and understand the terms and conditions set forth herein.</strong></p>
                            </div>
                            
                            <!-- Signature Section -->
                            <div class="signature-section">
                                <div class="signature-box">
                                    <table style="width: 100%; border: none;">
                                        <tr>
                                            <td style="width: 60%; padding: 15px; border: none;">
                                                <div class="signature-label">FULL NAME (PRINT)</div>
                                                <div class="signature-line"></div>
                                            </td>
                                            <td style="width: 40%; padding: 15px; border: none;">
                                                <div class="signature-label">DATE</div>
                                                <div class="signature-line"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="padding: 15px; border: none;">
                                                <div class="signature-label">SIGNATURE</div>
                                                <div class="signature-line" style="min-height: 60px;"></div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                </t>
            </t>
        </t>
    </template>
</odoo>
