Production

This commit is contained in:
Shubhankar45
2026-09-22 06:23:46 +00:00
commit 8fdd20b29f
217 changed files with 31212 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
{# The approved Daily Call Report — a copy of the company's printed form, filled in. #}
{% extends "forms/_form_base.html" %}
{% from "forms/_macros.html" import grid %}
{% block form_styles %}
h1.title { margin: 6mm 0 3mm; font-size: 13pt; text-decoration: none; letter-spacing: .3px; }
table.grid th { height: 7.5mm; font-size: 9pt; }
table.grid td { font-size: 10pt; }
h2.section { margin: 6mm 0 1.5mm; text-align: center; font-size: 11pt; }
.visit { margin: 6mm 0 0 14mm; font-size: 10.5pt; line-height: 1.7; }
.visit b { display: inline-block; min-width: 30mm; }
table.dcr-sign { width: 100%; margin-top: 12mm; border-collapse: collapse; page-break-inside: avoid; }
table.dcr-sign td { vertical-align: top; padding: 0; }
table.dcr-sign td.mr { width: 52%; padding-left: 14mm; }
.sign-label { font-size: 10.5pt; font-weight: bold; }
.signed { display: inline-block; min-width: 62mm; margin-top: 4mm; padding-bottom: 1mm; border-bottom: .7pt solid #000; font-family: "Liberation Serif", "Times New Roman", serif; font-style: italic; font-size: 12pt; }
.signed-when { margin-top: 1.2mm; font-size: 8.5pt; }
{% endblock %}
{% block form %}
{{ grid(grids.doctors, left=True) }}
<h2 class="section">CHEMIST VISIT</h2>
{{ grid(grids.chemists, left=True) }}
<div class="visit">
<div><b>STOCKIST VISIT :</b> {{ stockist_visit }}</div>
<div><b>ORDER :</b> {{ order_value }}</div>
</div>
{% endblock %}
{% block signature %}
<table class="dcr-sign">
<tr>
<td class="mr">
<div class="sign-label">MR Signature</div>
<div class="signed">{{ mr_signed }}</div>
</td>
<td class="am">
{% if approval %}
<div class="sign-label">APPROVAL SIGNATURE:</div>
<div class="signed">{{ approval.name }}</div>
<div class="signed-when">Area Manager &middot; {{ approval.at }}</div>
{% endif %}
</td>
</tr>
</table>
{% endblock %}