This commit is contained in:
gsinghpal
2026-04-17 17:31:12 -04:00
parent e07002d550
commit b09538b4e2
26 changed files with 1996 additions and 173 deletions

View File

@@ -12,19 +12,22 @@
<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"/>
<!-- Brand colours from the company's document-layout config. -->
<t t-set="primary" t-value="(company.primary_color if company else False) or '#0066a1'"/>
<t t-set="secondary" t-value="(company.secondary_color if company else False) or '#90be6d'"/>
<style>
.fc-contract { font-family: Arial, sans-serif; font-size: 8pt; line-height: 1.3; }
.fc-contract h1 { color: #0066a1; font-size: 14pt; text-align: center; margin: 5px 0 10px 0; }
.fc-contract h2 { color: #0066a1; font-size: 9pt; margin: 6px 0 3px 0; font-weight: bold; }
.fc-contract h4 { color: #0066a1; margin: 0 0 10px 0; font-size: 13pt; }
.fc-contract h1 { color: <t t-out="primary"/>; font-size: 14pt; text-align: center; margin: 5px 0 10px 0; }
.fc-contract h2 { color: <t t-out="primary"/>; font-size: 9pt; margin: 6px 0 3px 0; font-weight: bold; }
.fc-contract h4 { color: <t t-out="primary"/>; margin: 0 0 10px 0; font-size: 13pt; }
.fc-contract p { margin: 2px 0; text-align: justify; }
.fc-contract .intro { margin-bottom: 8px; font-size: 8pt; }
.fc-contract ul { margin: 2px 0 2px 15px; padding: 0; }
.fc-contract li { margin-bottom: 1px; }
.fc-contract table { width: 100%; border-collapse: collapse; }
.fc-contract table.bordered, .fc-contract table.bordered th, .fc-contract table.bordered td { border: 1px solid #000; }
.fc-contract th { background-color: #0066a1; color: white; padding: 4px 6px; font-weight: bold; text-align: center; font-size: 8pt; }
.fc-contract th { background-color: <t t-out="primary"/>; color: white; padding: 4px 6px; font-weight: bold; text-align: center; font-size: 8pt; }
.fc-contract td { padding: 3px 5px; vertical-align: top; font-size: 8pt; }
.fc-contract .text-center { text-align: center; }
.fc-contract .text-end { text-align: right; }
@@ -48,7 +51,7 @@
.fc-contract .sig-row { display: table; width: 100%; margin-bottom: 20px; }
.fc-contract .sig-col { display: table-cell; width: 48%; vertical-align: top; }
.fc-contract .sig-spacer { display: table-cell; width: 4%; }
.fc-contract .sig-title { font-weight: bold; font-size: 9pt; color: #0066a1; margin-bottom: 8px; border-bottom: 2px solid #0066a1; padding-bottom: 3px; }
.fc-contract .sig-title { font-weight: bold; font-size: 9pt; color: <t t-out="primary"/>; margin-bottom: 8px; border-bottom: 2px solid <t t-out="primary"/>; padding-bottom: 3px; }
.fc-contract .sig-field { margin-bottom: 12px; }
.fc-contract .sig-line { border-bottom: 1px solid #000; min-height: 25px; }
.fc-contract .sig-label { font-size: 7pt; color: #666; margin-top: 2px; }