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,19 +11,25 @@
<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)"/>
<!-- Pickup uses the company's secondary brand colour (green by convention,
distinct from the delivery report's primary). Falls back to legacy
green if the company has not set a secondary colour. -->
<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 '#2e7d32'"/>
<style>
.fc-pop { font-family: Arial, sans-serif; font-size: 10pt; }
.fc-pop table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.fc-pop table.bordered, .fc-pop table.bordered th, .fc-pop table.bordered td { border: 1px solid #000; }
.fc-pop th { background-color: #2e7d32; color: white; padding: 6px 8px; font-weight: bold; font-size: 9pt; }
.fc-pop th { background-color: <t t-out="secondary"/>; color: white; padding: 6px 8px; font-weight: bold; font-size: 9pt; }
.fc-pop td { padding: 5px 6px; vertical-align: top; font-size: 9pt; }
.fc-pop .text-center { text-align: center; }
.fc-pop .text-end { text-align: right; }
.fc-pop .text-start { text-align: left; }
.fc-pop .section-row { background-color: #f0f0f0; font-weight: bold; }
.fc-pop .note-row { font-style: italic; }
.fc-pop h2 { color: #2e7d32; margin: 8px 0; font-size: 16pt; }
.fc-pop h2 { color: <t t-out="secondary"/>; margin: 8px 0; font-size: 16pt; }
.fc-pop .info-table td { padding: 6px 10px; font-size: 10pt; }
.fc-pop .info-table th { background-color: #f5f5f5; color: #333; font-size: 9pt; padding: 5px 10px; }
.fc-pop .signature-section { margin-top: 20px; border: 1px solid #000; padding: 15px; }