development #10

Merged
Joko merged 2 commits from development into production 2025-08-21 08:33:36 +00:00
2 changed files with 14 additions and 5 deletions

View File

@ -6,12 +6,12 @@
<style> <style>
@page { @page {
size: 80mm 130mm landscape; size: 80mm 130mm landscape;
margin: 2mm 1.5mm 2mm 1.5mm; margin: 4mm 1.5mm 2mm 1.5mm;
} }
body { body {
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 7.5px; font-size: 8.5px;
line-height: 1.1; line-height: 1.1;
margin: 0; margin: 0;
color: #000; color: #000;
@ -36,7 +36,7 @@
.order { .order {
position: absolute; position: absolute;
font-size: 9.5px; font-size: 11px;
margin-left: 140px; margin-left: 140px;
margin-top: -12px !important; margin-top: -12px !important;
margin-bottom: 5px; margin-bottom: 5px;
@ -53,7 +53,7 @@
.info td { .info td {
padding: 2px 5px; padding: 2px 5px;
vertical-align: top; vertical-align: top;
font-size: 10px; font-size: 10.5px;
} }
.info td:first-child { .info td:first-child {
width: 30%; width: 30%;
@ -86,6 +86,15 @@
<div class="order">No Order : {{ $label?->order?->no_order ?? 'xxxxxx' }}</div> <div class="order">No Order : {{ $label?->order?->no_order ?? 'xxxxxx' }}</div>
<table class="info"> <table class="info">
@if($label->order?->jenis_customer === 'MCU')
<tr>
<td>Tanggal Pemeriksaan
</td>
<td>: {{ $label?->tgl_antar ? \Carbon\Carbon::parse($label->tgl_antar)->translatedFormat('d F Y') : '-' }}
</td>
</tr>
@endif
<tr> <tr>
<td>{{ $label->order?->jenis_customer !== 'MCU' ? 'Nama Pemesan' : 'Nama Pasien'}} <td>{{ $label->order?->jenis_customer !== 'MCU' ? 'Nama Pemesan' : 'Nama Pasien'}}
{{ $label?->order?->jenis_customer === "Keluarga Pasien / Penunggu Pasien" ? '/ Pasien' : ''}} {{ $label?->order?->jenis_customer === "Keluarga Pasien / Penunggu Pasien" ? '/ Pasien' : ''}}

View File

@ -40,7 +40,7 @@
<i class="fa fa-calendar-alt text-primary"></i> <i class="fa fa-calendar-alt text-primary"></i>
</span> </span>
<input type="text" id="tanggal" class="form-control form-control-sm tanggal-input" <input type="text" id="tanggal" class="form-control form-control-sm tanggal-input"
readonly placeholder="7-10 Agt 2025"> readonly placeholder="Pilih rentang tanggal">
<button type="button" id="resetTanggal" <button type="button" id="resetTanggal"
class="btn btn-sm btn-light border d-none" title="Reset"> class="btn btn-sm btn-light border d-none" title="Reset">
<i class="fa fa-times text-muted"></i> <i class="fa fa-times text-muted"></i>