|
@@ -8,21 +8,46 @@
|
|
|
}
|
|
|
</style>
|
|
|
<div id="printableScreen" style="padding: 15px;">
|
|
|
- <div style="text-align:center;margin-top:15px;margin-bottom: 30px;">
|
|
|
- <h6 class="font-weight-bold text-uppercase">{{ $patient->displayName() }}</h6>
|
|
|
- <div style="margin-bottom: 5px;font-weight:bold;">NP: {{ $careMonth->mcp ? $careMonth->mcp->displayName() : '---' }}</div>
|
|
|
- <div>
|
|
|
- <span class="text-dark font-weight-bold">Care Month</span> for <span
|
|
|
- class="text-dark font-weight-bold">{{ friendly_month($careMonth->start_date) }}</span>
|
|
|
+ <div class="d-flex align-items-start justify-content-center" style="margin-top:15px;margin-bottom: 30px;">
|
|
|
+ <div class="">
|
|
|
+ <div class="border-bottom pb-2 mb-2 text-center">
|
|
|
+ <h6 class="font-weight-bold text-uppercase">{{ $patient->displayName() }}</h6>
|
|
|
+ <div style="margin-bottom: 5px;font-weight:bold;"><span style="color: #6c757d;">DOB</span>: {{ $patient->dob ? friendly_date($patient->dob) : '---' }}</div>
|
|
|
+ <div style="margin-bottom: 5px;font-weight:bold;"><span style="color: #6c757d;">NP</span>: {{ $careMonth->mcp ? $careMonth->mcp->displayName() : '---' }}</div>
|
|
|
+ <div>
|
|
|
+ <span class="text-dark font-weight-bold">Care Month</span> for <span
|
|
|
+ class="text-dark font-weight-bold">{{ friendly_month($careMonth->start_date) }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <div style="margin-bottom: 5px;font-weight:bold;"><span style="color: #6c757d;">Company</span>:
|
|
|
+ {{$careMonth->companyPro && $careMonth->companyPro->company ? $careMonth->companyPro->company->name : '-'}}
|
|
|
+ </div>
|
|
|
+ <div style="margin-bottom: 5px;font-weight:bold;"><span style="color: #6c757d;">Location</span>:
|
|
|
+ {{$careMonth->companyLocation ? $careMonth->companyLocation->line1 . ', ' . $careMonth->companyLocation->city : '-'}}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
-
|
|
|
- <div style="margin-bottom: 30px;">
|
|
|
- @include('app.patient.care-month.partials.print.rm-reasons')
|
|
|
- </div>
|
|
|
+
|
|
|
+ @if($type === 'detailed')
|
|
|
+ <div style="margin-bottom: 30px;">
|
|
|
+ @include('app.patient.care-month.partials.print.rm-reasons')
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
|
|
|
<div>
|
|
|
- @include('app.patient.care-month.partials.print.measurements')
|
|
|
+ <?php
|
|
|
+ $measurementType = null;
|
|
|
+ if($type === 'measurements-bp'){
|
|
|
+ $measurementType = 'BP';
|
|
|
+ }
|
|
|
+ if($type === 'measurements-wt'){
|
|
|
+ $measurementType = 'Wt';
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ @include('app.patient.care-month.partials.print.measurements', ['measurementType' => $measurementType])
|
|
|
</div>
|
|
|
</div>
|
|
|
<script>
|
|
@@ -34,7 +59,7 @@
|
|
|
document.body.innerHTML = originalContents;
|
|
|
}
|
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
|
- printDiv('printableScreen');
|
|
|
+ //printDiv('printableScreen');
|
|
|
});
|
|
|
</script>
|
|
|
@endsection
|