add signature section and consolidate unit/method display in custom report

This commit is contained in:
mahdahar 2026-03-04 11:34:19 +07:00
parent d2e84162cd
commit d7149ca322

View File

@ -89,17 +89,14 @@
<tr> <tr>
<td class="info-label">Test</td> <td class="info-label">Test</td>
<td class="value" x-text="testName"></td> <td class="value" x-text="testName"></td>
<td class="info-label">Method</td> <td class="info-label">Unit / Method</td>
<td class="value" x-text="testMethod"></td> <td class="value" x-text="testUnit + ' / ' + testMethod"></td>
</tr> </tr>
</table> </table>
<!-- PC Range Table --> <!-- PC Range Table -->
<table class="pc-table"> <table class="pc-table">
<thead> <thead>
<tr>
<th class="pc-header" colspan="5" x-text="testCode"></th>
</tr>
<tr> <tr>
<th class="pc-subheader">Control</th> <th class="pc-subheader">Control</th>
<th class="pc-subheader">Lot No</th> <th class="pc-subheader">Lot No</th>
@ -208,6 +205,18 @@
</div> </div>
</div> </div>
<!-- Signature Section -->
<div class="signature-section">
<div class="signature-item">
<div class="signature-label">Analis</div>
<div class="signature-line"></div>
</div>
<div class="signature-item">
<div class="signature-label">Verifikator</div>
<div class="signature-line"></div>
</div>
</div>
</div> </div>
<!-- Error State --> <!-- Error State -->
@ -542,6 +551,40 @@
width: 30%; width: 30%;
} }
/* Signature Section */
.signature-section {
display: flex;
justify-content: center;
gap: 80px;
margin-top: 30px;
padding: 10px;
}
.signature-item {
text-align: center;
}
.signature-label {
font-size: 11px;
font-weight: bold;
margin-bottom: 40px;
}
.signature-line {
width: 150px;
border-bottom: 1px solid #333;
margin: 0 auto;
}
@media print {
.signature-section {
margin-top: 40px;
}
.signature-line {
border-bottom: 1px solid #000;
}
}
/* Footer */ /* Footer */
.report-footer { .report-footer {
border: 1px solid #333; border: 1px solid #333;