fix(print): enable full multi-page report printing, unconstrain viewport scrollbars, and add executive hospital letterhead
This commit is contained in:
@@ -398,7 +398,7 @@ export function ReportDetailPage() {
|
||||
return (
|
||||
<div className="space-y-5">
|
||||
{/* Print-Only Official Hospital Letterhead & Scope */}
|
||||
<div className="hidden print:block mb-4 border-b-2 border-[#1e3a8a] pb-3">
|
||||
<div className="print-only mb-4 border-b-2 border-[#102C52] pb-3">
|
||||
<div className="flex items-start justify-between">
|
||||
<div className="flex items-center gap-3.5">
|
||||
<img
|
||||
@@ -407,7 +407,7 @@ export function ReportDetailPage() {
|
||||
className="h-14 w-14 object-contain"
|
||||
/>
|
||||
<div>
|
||||
<div className="text-base font-extrabold text-[#1e3a8a] tracking-tight">
|
||||
<div className="text-base font-extrabold text-[#102C52] tracking-tight">
|
||||
XYZ HOSPITAL
|
||||
</div>
|
||||
<div className="text-[11px] font-semibold text-gray-800">
|
||||
@@ -419,11 +419,11 @@ export function ReportDetailPage() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-right text-[10px] text-gray-600 space-y-0.5 border-l border-gray-200 pl-3">
|
||||
<div className="font-bold text-[#1e3a8a] uppercase tracking-wider">
|
||||
<div className="font-bold text-[#102C52] uppercase tracking-wider">
|
||||
Audit & Operational Record
|
||||
</div>
|
||||
<div>
|
||||
<strong>Ref:</strong> PHRC-BME-{key?.toUpperCase() ?? "REP"}
|
||||
<strong>Ref:</strong> XYZ-BME-{key?.toUpperCase() ?? "REP"}
|
||||
</div>
|
||||
<div>
|
||||
<strong>Date:</strong> {formatDateTime(new Date().toISOString())} IST
|
||||
@@ -1032,7 +1032,7 @@ export function ReportDetailPage() {
|
||||
/>
|
||||
|
||||
{/* Hospital Tripartite Sign-off Block (Print / PDF Only) */}
|
||||
<div className="hidden print:block mt-8 pt-4 border-t-2 border-gray-300 print-break-inside-avoid">
|
||||
<div className="print-only mt-8 pt-4 border-t-2 border-gray-300 print-break-inside-avoid">
|
||||
<div className="flex items-center justify-between text-[10px] font-bold uppercase tracking-wider text-gray-700 mb-4">
|
||||
<span>Hospital Engineering Audit & Verification Sign-off (NABH Chapter FMS)</span>
|
||||
<span>XYZ Hospital</span>
|
||||
|
||||
Reference in New Issue
Block a user