fix: improve ADP report signature section with legal terms, date/time, printed name; switch portal to landscape report
This commit is contained in:
@@ -203,13 +203,13 @@
|
|||||||
<t t-esc="', '.join([(tax.invoice_label or tax.name) for tax in line.tax_ids]) or 'NO TAX'"/>
|
<t t-esc="', '.join([(tax.invoice_label or tax.name) for tax in line.tax_ids]) or 'NO TAX'"/>
|
||||||
</td>
|
</td>
|
||||||
<td t-if="is_adp" class="text-end adp-bg">
|
<td t-if="is_adp" class="text-end adp-bg">
|
||||||
<span t-field="line.x_fc_adp_portion"/>
|
<span t-field="line.x_fc_adp_portion" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
|
||||||
</td>
|
</td>
|
||||||
<td t-if="is_adp" class="text-end client-bg">
|
<td t-if="is_adp" class="text-end client-bg">
|
||||||
<span t-field="line.x_fc_client_portion"/>
|
<span t-field="line.x_fc_client_portion" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-end">
|
<td class="text-end">
|
||||||
<span t-field="line.price_subtotal"/>
|
<span t-field="line.price_subtotal" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</t>
|
</t>
|
||||||
@@ -230,26 +230,26 @@
|
|||||||
<table class="totals-table" style="width: auto; margin-left: auto;">
|
<table class="totals-table" style="width: auto; margin-left: auto;">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="min-width: 140px;">Subtotal</td>
|
<td style="min-width: 140px;">Subtotal</td>
|
||||||
<td class="text-end" style="min-width: 100px;"><span t-field="doc.amount_untaxed"/></td>
|
<td class="text-end" style="min-width: 100px;"><span t-field="doc.amount_untaxed" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/></td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Taxes</td>
|
|
||||||
<td class="text-end"><span t-field="doc.amount_tax"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><strong>Total</strong></td>
|
|
||||||
<td class="text-end"><strong><span t-field="doc.amount_total"/></strong></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<t t-if="is_adp">
|
<t t-if="is_adp">
|
||||||
<tr class="adp-bg">
|
<tr class="adp-bg">
|
||||||
<td><strong>Total ADP Portion</strong></td>
|
<td><strong>ADP Portion</strong></td>
|
||||||
<td class="text-end"><span t-field="doc.x_fc_adp_portion_total"/></td>
|
<td class="text-end"><span t-field="doc.x_fc_adp_portion_total" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="client-bg">
|
<tr class="client-bg">
|
||||||
<td><strong>Total Client Portion</strong></td>
|
<td><strong>Client Portion</strong></td>
|
||||||
<td class="text-end"><span t-field="doc.x_fc_client_portion_total"/></td>
|
<td class="text-end"><span t-field="doc.x_fc_client_portion_total" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</t>
|
</t>
|
||||||
|
<tr>
|
||||||
|
<td>Taxes</td>
|
||||||
|
<td class="text-end"><span t-field="doc.amount_tax" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/></td>
|
||||||
|
</tr>
|
||||||
|
<tr style="border-top: 2px solid #000;">
|
||||||
|
<td><strong>Grand Total</strong></td>
|
||||||
|
<td class="text-end"><strong><span t-field="doc.amount_total" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/></strong></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -262,14 +262,66 @@
|
|||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
|
|
||||||
<!-- Signature -->
|
<!-- Acceptance & Signature Section -->
|
||||||
|
<div style="margin-top: 25px; border: 2px solid #000; padding: 15px; page-break-inside: avoid;">
|
||||||
|
<div style="font-weight: bold; font-size: 10pt; text-transform: uppercase; border-bottom: 2px solid #000; padding-bottom: 5px; margin-bottom: 10px;">
|
||||||
|
Terms of Acceptance
|
||||||
|
</div>
|
||||||
|
<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">
|
<t t-if="doc.signature">
|
||||||
<div style="margin-top: 20px; text-align: right;">
|
<table style="width: 100%; border-collapse: collapse;">
|
||||||
<strong>Signature</strong><br/>
|
<tr>
|
||||||
<img t-att-src="image_data_uri(doc.signature)" style="max-height: 4cm; max-width: 8cm;"/><br/>
|
<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"/>
|
<span t-field="doc.signed_by"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-top: 12px;">
|
||||||
|
<div style="font-size: 7pt; color: #666; text-transform: uppercase; margin-bottom: 3px;">Date & 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 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 & Time</div>
|
||||||
|
<div style="min-height: 25px; border-bottom: 1px solid #000;"></div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</t>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user