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

@@ -11,12 +11,16 @@
<t t-call="web.external_layout">
<t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)"/>
<t t-set="is_adp" t-value="doc.x_fc_is_adp_sale"/>
<!-- Brand colours from the company's document-layout config. -->
<t t-set="_co" t-value="doc.company_id or env.company"/>
<t t-set="primary" t-value="_co.primary_color or '#0066a1'"/>
<t t-set="secondary" t-value="_co.secondary_color or '#90be6d'"/>
<style>
.fc-report { font-family: Arial, sans-serif; font-size: 10pt; }
.fc-report table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.fc-report table.bordered, .fc-report table.bordered th, .fc-report table.bordered td { border: 1px solid #000; }
.fc-report th { background-color: #0066a1; color: white; padding: 6px 8px; font-weight: bold; text-align: center; }
.fc-report th { background-color: <t t-out="primary"/>; color: white; padding: 6px 8px; font-weight: bold; text-align: center; }
.fc-report td { padding: 6px 8px; vertical-align: top; }
.fc-report .text-center { text-align: center; }
.fc-report .text-end { text-align: right; }
@@ -25,7 +29,7 @@
.fc-report .client-bg { background-color: #fff3e0; }
.fc-report .section-row { background-color: #f0f0f0; font-weight: bold; }
.fc-report .note-row { font-style: italic; }
.fc-report h4 { color: #0066a1; margin: 0 0 15px 0; font-size: 16pt; }
.fc-report h4 { color: <t t-out="primary"/>; margin: 0 0 15px 0; font-size: 16pt; }
.fc-report .totals-table { border: 1px solid #000; border-collapse: collapse; }
.fc-report .totals-table td { border: 1px solid #000; padding: 6px 8px; }
.fc-report .info-header { background-color: #f5f5f5; color: #333; }