fix: improve ADP report signature section with legal terms, date/time, printed name; switch portal to landscape report

This commit is contained in:
2026-03-09 22:03:12 +00:00
parent 6c3c565440
commit ffcc83d7bd

View File

@@ -285,14 +285,66 @@
</div> </div>
</t> </t>
<!-- Signature --> <!-- Acceptance & Signature Section -->
<t t-if="doc.signature"> <div style="margin-top: 25px; border: 2px solid #000; padding: 15px; page-break-inside: avoid;">
<div style="margin-top: 20px; text-align: right;"> <div style="font-weight: bold; font-size: 10pt; text-transform: uppercase; border-bottom: 2px solid #000; padding-bottom: 5px; margin-bottom: 10px;">
<strong>Signature</strong><br/> Terms of Acceptance
<img t-att-src="image_data_uri(doc.signature)" style="max-height: 4cm; max-width: 8cm;"/><br/>
<span t-field="doc.signed_by"/>
</div> </div>
</t> <div style="font-size: 8pt; line-height: 1.4; margin-bottom: 12px;">
By signing this document, the undersigned ("Client") acknowledges and agrees:
<ol style="margin: 5px 0 0 0; padding-left: 18px;">
<li>The Client has reviewed this quotation in its entirety and accepts all items, pricing, terms, and specifications as stated herein.</li>
<li>Upon signing, this quotation becomes a binding Sales Order between the Client and <t t-esc="doc.company_id.name"/>.</li>
<li>Any modifications to this order after acceptance must be submitted in writing and may result in revised pricing, terms, or delivery timelines.</li>
<li>Payment shall be made in accordance with the payment terms specified in this document.</li>
<li t-if="is_adp">For orders funded through the Ontario Assistive Devices Program (ADP), the Client authorizes <t t-esc="doc.company_id.name"/> to submit claims and documentation to ADP on their behalf.</li>
<li>Products are subject to the return and refund policy as outlined in <t t-esc="doc.company_id.name"/>'s standard terms of service.</li>
</ol>
</div>
<t t-if="doc.signature">
<table style="width: 100%; border-collapse: collapse;">
<tr>
<td style="width: 50%; padding: 5px 10px 5px 0; vertical-align: top;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Client Signature</div>
<div style="min-height: 55px; border-bottom: 1px solid #000; padding: 3px 0;">
<img t-att-src="image_data_uri(doc.signature)" style="max-height: 3cm; max-width: 7cm;"/>
</div>
</td>
<td style="width: 50%; padding: 5px 0 5px 10px; vertical-align: top;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Printed Name</div>
<div style="min-height: 25px; border-bottom: 1px solid #000; padding: 3px 0; font-size: 11pt; font-weight: bold;">
<span t-field="doc.signed_by"/>
</div>
<div style="margin-top: 12px;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Date &amp; Time of Acceptance</div>
<div style="min-height: 25px; border-bottom: 1px solid #000; padding: 3px 0; font-size: 10pt;">
<span t-field="doc.signed_on" t-options="{'widget': 'datetime'}"/>
</div>
</div>
</td>
</tr>
</table>
</t>
<t t-else="">
<table style="width: 100%; border-collapse: collapse;">
<tr>
<td style="width: 50%; padding: 5px 10px 5px 0; vertical-align: top;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Client Signature</div>
<div style="min-height: 55px; border-bottom: 1px solid #000;"></div>
</td>
<td style="width: 50%; padding: 5px 0 5px 10px; vertical-align: top;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Printed Name</div>
<div style="min-height: 25px; border-bottom: 1px solid #000;"></div>
<div style="margin-top: 12px;">
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Date &amp; Time</div>
<div style="min-height: 25px; border-bottom: 1px solid #000;"></div>
</div>
</td>
</tr>
</table>
</t>
</div>
</div> </div>
</div> </div>