modified assests
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
margin-top: 0.1cm;
|
||||
margin-left: 0.5cm !important;
|
||||
}
|
||||
|
||||
|
||||
@page :second {
|
||||
margin-top: 2cm;
|
||||
}
|
||||
@@ -193,8 +193,8 @@
|
||||
|
||||
|
||||
<page size="A4">
|
||||
|
||||
|
||||
|
||||
|
||||
<table border="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -219,7 +219,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center">
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;">{{__('Laboratory Total Billing Report')}}</div>
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;">{{__('Organization Total Billing Report')}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -232,7 +232,7 @@
|
||||
<p style="text-align: center">{{__('From Date:') . date('d/m/Y',strtotime($_GET['start_date'])) . ' To Date: '.date('d/m/Y',strtotime($_GET['end_date']))}}</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
<table class="table-inv" width="100%" border="0" style="border-collapse: collapse !important; font-size: 11pt">
|
||||
<thead>
|
||||
<tr class="bg-light">
|
||||
@@ -259,7 +259,7 @@
|
||||
$totalPrice+=$row['total_net_amount'];
|
||||
@endphp
|
||||
@endforeach
|
||||
|
||||
|
||||
<tr><td colspan="4" style="padding-left:20px">Exchange Rate : 1 USD = {{$labSettings->exchange_rate}}</td></tr>
|
||||
|
||||
<tr>
|
||||
@@ -267,27 +267,27 @@
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> ($):</b> {{number_format(($totalPrice),2)}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> (៛):</b> {{number_format(($totalPrice * $labSettings->exchange_rate))}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
@if($labSettings->is_hide_comission_percentage>0)
|
||||
@php
|
||||
$ownBenefitRate = ((100 - $labSettings->is_hide_comission_percentage));
|
||||
@endphp
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="text-align: right; font-weight: bold" class="border-0" colspan="2">{{$labSettings->is_hide_comission_percentage}}% {{__('Percent')}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> ($):</b> {{number_format(($totalPrice*($labSettings->is_hide_comission_percentage/100)),2)}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> (៛):</b> {{number_format((($totalPrice*($labSettings->is_hide_comission_percentage/100)) * $labSettings->exchange_rate))}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="text-align: right; font-weight: bold" class="border-0" colspan="2">{{$ownBenefitRate}}% {{__('Percent')}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> ($):</b> {{number_format(($totalPrice*($ownBenefitRate/100)),2)}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> (៛):</b> {{number_format((($totalPrice*($ownBenefitRate/100)) * $labSettings->exchange_rate))}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
margin-top: 0.1cm;
|
||||
margin-left: 0.5cm !important;
|
||||
}
|
||||
|
||||
|
||||
@page :second {
|
||||
margin-top: 2cm;
|
||||
}
|
||||
@@ -217,7 +217,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center">
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;">{{__('Laboratory Total Billing Report')}}</div>
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;">{{__('Organization Total Billing Report')}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
$totalPrice+=$row['total_price'];
|
||||
@endphp
|
||||
@endforeach
|
||||
|
||||
|
||||
<tr><td colspan="8" style="padding-left:20px">Exchange Rate : 1 USD = {{$labSettings->exchange_rate}}</td></tr>
|
||||
|
||||
<tr>
|
||||
@@ -278,23 +278,23 @@
|
||||
@php
|
||||
$ownBenefitRate = ((100 - $labSettings->is_hide_comission_percentage));
|
||||
@endphp
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="text-align: right; font-weight: bold" class="border-0" colspan="4">{{$labSettings->is_hide_comission_percentage}}% {{__('Percent')}} </td>
|
||||
<td style="text-align: right;" class="bg-light" colspan="2"><b style="float: left"> ($):</b> {{number_format(($totalPrice*($labSettings->is_hide_comission_percentage/100)),2)}} </td>
|
||||
<td style="text-align: right;" colspan="2" class="bg-light"><b style="float: left"> (Riel):</b> {{number_format((($totalPrice*($labSettings->is_hide_comission_percentage/100)) * $labSettings->exchange_rate))}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="text-align: right; font-weight: bold" class="border-0" colspan="4">{{$ownBenefitRate}}% {{__('Percent')}} </td>
|
||||
<td style="text-align: right;" class="bg-light" colspan="2"><b style="float: left"> ($):</b> {{number_format(($totalPrice*($ownBenefitRate/100)),2)}} </td>
|
||||
<td style="text-align: right;" colspan="2" class="bg-light"><b style="float: left"> (Riel):</b> {{number_format((($totalPrice*($ownBenefitRate/100)) * $labSettings->exchange_rate))}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{-- <td style="text-align: right;" class="text-right border-0" colspan="7">{{__('Balance')}} :</td>--}}
|
||||
{{-- <td style="text-align: right;" class="text-right bg-light">$ {{number_format(($totalPrice - ($totalPrice*0.5)) ,2)}}</td>--}}
|
||||
{{-- </tr>--}}
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
margin-top: 0.1cm;
|
||||
margin-left: 0.5cm !important;
|
||||
}
|
||||
|
||||
|
||||
@page :second {
|
||||
margin-top: 2cm;
|
||||
}
|
||||
@@ -188,7 +188,7 @@
|
||||
.border-0{
|
||||
border:none !important;
|
||||
}
|
||||
|
||||
|
||||
#print_preview_modal .modal-dialog.A4-portrait {
|
||||
width: 29.7cm !important;
|
||||
}
|
||||
@@ -197,8 +197,8 @@
|
||||
|
||||
|
||||
<page size="A4">
|
||||
|
||||
|
||||
|
||||
|
||||
<table border="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -216,7 +216,7 @@
|
||||
<p style="line-height: 13px !important; font-size: 13.5pt; font-weight: bold; color: #0000ff;" class="text-uppercase py-1">{{$labSettings->name_en}}</p>
|
||||
<p style="line-height: 10px !important;">{{ app()->getLocale()=='kh' ? $labSettings->address_kh : $labSettings->address_en}} </p>
|
||||
<p style="line-height: 10px !important;">{{$labSettings->phone_number}} {{$labSettings->email}}</p>
|
||||
|
||||
|
||||
</td>
|
||||
<td style="width:120px" > </td>
|
||||
</tr>
|
||||
@@ -226,7 +226,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center">
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;text-decoration: underline;">{{__('Laboratory Financial Report')}}</div>
|
||||
<div class="" style="font-size: 13pt; font-weight: 600;text-decoration: underline;">{{__('Organization Financial Report')}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -239,7 +239,7 @@
|
||||
<p style="text-align: center">{{__('From Date:') . date('d-M-Y',strtotime($_GET['start_date'])) . ' To Date: '.date('d-M-Y',strtotime($_GET['end_date']))}}</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
<table class="table-inv" width="100%" border="0" style="border-collapse: collapse !important; font-size: 9pt">
|
||||
<thead>
|
||||
<tr class="bg-light">
|
||||
@@ -256,7 +256,7 @@
|
||||
<td width="70px" style="padding-right: 1px; text-align:center;">Bank Pay</td>
|
||||
<td width="70px" style="padding-right: 1px; text-align:center;">Owe</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
@php
|
||||
@@ -293,7 +293,7 @@
|
||||
$i++;
|
||||
@endphp
|
||||
@endforeach
|
||||
|
||||
|
||||
<tr><td colspan="12" style="padding-left:20px">Exchange Rate : 1 USD = {{$labSettings->exchange_rate}}</td></tr>
|
||||
|
||||
<tr>
|
||||
@@ -304,7 +304,7 @@
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> $ </b> {{number_format(($total_paid),2)}}<br><b style="float: left"> ៛ </b> {{number_format(($total_paid * $labSettings->exchange_rate))}}</td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> $ </b> {{number_format(($total_bank_paid),2)}}<br><b style="float: left"> ៛ </b> {{number_format(($total_bank_paid * $labSettings->exchange_rate))}}</td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> $ </b> {{number_format(($total_owe),2)}}<br><b style="float: left"> ៛ </b> {{number_format(($total_owe * $labSettings->exchange_rate))}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
@if($labSettings->is_hide_comission_percentage>0)
|
||||
@php
|
||||
@@ -321,7 +321,7 @@
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> $ </b> {{number_format(($total_owe * ($labSettings->is_hide_comission_percentage/100)),2)}}<br><b style="float: left"> ៛ </b> {{number_format((($total_owe * ($labSettings->is_hide_comission_percentage/100)) * $labSettings->exchange_rate))}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td style="text-align: right; font-weight: bold" class="border-0" colspan="6">{{$ownBenefitRate}}% {{__('Percent')}} </td>
|
||||
<td style="text-align: right;" class="bg-light"><b style="float: left"> $ </b> {{number_format(($total * ($ownBenefitRate/100)),2)}}<br><b style="float: left"> ៛ </b> {{number_format((($total * ($ownBenefitRate/100)) * $labSettings->exchange_rate))}}</td>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<title>Result</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=.5, maximum-scale=12.0, minimum-scale=.25, user-scalable=yes">
|
||||
<style>
|
||||
|
||||
|
||||
@php
|
||||
$configures = collect($labConfigures);
|
||||
|
||||
@@ -33,18 +33,18 @@
|
||||
$fontSize = ($configures->where('atrribute_code', 'FONT_SIZE_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$resultColor = ($configures->where('atrribute_code', 'COLOR_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
@endphp
|
||||
|
||||
|
||||
.patient-info tr td{
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
font-size:10px !important;
|
||||
}
|
||||
|
||||
|
||||
.font-changeable{
|
||||
/*font-family: '{{(empty($fontName) ? 'Times New Roman':$fontName)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
table td, table th{
|
||||
padding: 3px !important; font-size:10pt !important;
|
||||
}
|
||||
@@ -119,7 +119,7 @@
|
||||
margin: 0.5cm;
|
||||
}
|
||||
@media print {
|
||||
|
||||
|
||||
body,
|
||||
page[size="A4"] {
|
||||
box-shadow: none;
|
||||
@@ -148,7 +148,7 @@
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
.font-changable{
|
||||
/*font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";*/
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
@@ -169,18 +169,18 @@
|
||||
.border-0{
|
||||
border:none !important;
|
||||
}
|
||||
|
||||
|
||||
.font-changable{
|
||||
/*font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";*/
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
.table-inv tr td{
|
||||
font-size:11px !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<page size="A4">
|
||||
<div style="width: 297mm; padding: 0px; background-image: linear-gradient(#fafafa, #fafafa); background-size: 1px 100%; background-repeat: no-repeat; background-position: 49.6% center;">
|
||||
@@ -224,8 +224,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center">
|
||||
|
||||
<div style="font-size: 11.5pt; font-weight: 700;" class="font-changeable">{{$sample->lab_id != 21 ? __('invoice.tittle') : 'Laboratory' }}</div>
|
||||
|
||||
<div style="font-size: 11.5pt; font-weight: 700;" class="font-changeable">{{$sample->organization_id != 21 ? __('invoice.tittle') : 'Organization' }}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -233,7 +233,7 @@
|
||||
<table width="100%" class="patient-info font-changable" style="line-height: 15px !important;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{$sample->lab_id != 21 ? __('invoice.form_invoice_number') : 'Reference No' }}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{$sample->organization_id != 21 ? __('invoice.form_invoice_number') : 'Reference No' }}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="30%">: {{$invoice->invoice_code}}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{__('sample.table_sample_number')}}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="30%">: {{$sample->sample_number}}</td>
|
||||
@@ -291,7 +291,7 @@
|
||||
<td style="padding:0 5px;" class="text-right font-changable">$ {{$invItem->unit_price}}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
|
||||
@for($i=$total; $i<=11; $i++)
|
||||
<tr>
|
||||
<td class=" text-center font-changable" style="padding:0 5px;">{{$i+1}}</td>
|
||||
@@ -325,10 +325,10 @@
|
||||
</tr>
|
||||
|
||||
<tr class="font-changable">
|
||||
|
||||
|
||||
<td class="text-left border-0" colspan="2">
|
||||
<span style="padding-left: {{ $sample->lab_id != 21 ? '70px' : '45px' }} !important;">
|
||||
{{ $sample->lab_id != 21 ? __('invoice.received_by') : 'Lab. Tech' }}
|
||||
<span style="padding-left: {{ $sample->organization_id != 21 ? '70px' : '45px' }} !important;">
|
||||
{{ $sample->organization_id != 21 ? __('invoice.received_by') : 'Lab. Tech' }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-right border-0">{{__('invoice.table_net_cost_riel')}} :</td>
|
||||
@@ -403,7 +403,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center">
|
||||
<div style="font-size: 11.5pt; font-weight: 700;" class="font-changeable">{{$sample->lab_id != 21 ? __('invoice.tittle') : 'Laboratory' }}</div>
|
||||
<div style="font-size: 11.5pt; font-weight: 700;" class="font-changeable">{{$sample->organization_id != 21 ? __('invoice.tittle') : 'Organization' }}</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@@ -412,7 +412,7 @@
|
||||
<table width="100%" class="patient-info font-changable" style="line-height: 15px !important;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{$sample->lab_id != 21 ? __('invoice.form_invoice_number') : 'Reference No' }}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{$sample->organization_id != 21 ? __('invoice.form_invoice_number') : 'Reference No' }}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="30%">: {{$invoice->invoice_code}}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="20%">{{__('sample.table_sample_number')}}</td>
|
||||
<td class="text-left" style="font-size:10pt !important;" width="30%">: {{$sample->sample_number}}</td>
|
||||
@@ -460,9 +460,9 @@
|
||||
<td width="15%" class="text-center" style="width:110px !important;">{{__('invoice.form_qty')}}</td>
|
||||
<td width="15%" class="text-center" style="width:110px !important;">{{__('invoice.form_unit_price')}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@foreach($invoice->invoiceDetail->sortBy('weight') as $k=>$invItem)
|
||||
|
||||
|
||||
<tr>
|
||||
<td class=" text-center font-changable">{{$k+1}}</td>
|
||||
<td class="font-changable">{{$invItem->test_name}}</td>
|
||||
@@ -488,7 +488,7 @@
|
||||
<td class="text-right border-0">{{__('invoice.table_total_cost')}} ($) :</td>
|
||||
<td class="text-right bg-light"> {{number_format($invoice->total,2)}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@if($invoice->is_hide_discount == 0)
|
||||
|
||||
<tr class="font-changable">
|
||||
@@ -497,18 +497,18 @@
|
||||
<td class="text-right bg-light"> {{ ($invoice->discount_type==1 ? $invoice->discount : number_format($invoice->discount,2))}}</td>
|
||||
<!--<td class="text-right bg-light"> {{ ($invoice->discount_type==1 ? ($invoice->discount > 0? number_format($invoice->total * (1-($invoice->discount/100))) : 0) : number_format($invoice->discount,2))}}</td>-->
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="font-changable">
|
||||
<td class="text-left border-0" colspan="2"></td>
|
||||
<td class="text-right border-0">{{__('invoice.table_net_cost')}} :</td>
|
||||
<td class="text-right bg-light"> {{number_format(($invoice->gross_total) ,2)}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="font-changable">
|
||||
|
||||
|
||||
<td class="text-left border-0" colspan="2">
|
||||
<span style="padding-left: {{ $sample->lab_id != 21 ? '70px' : '45px' }} !important;">
|
||||
{{ $sample->lab_id != 21 ? __('invoice.received_by') : 'Lab. Tech' }}
|
||||
<span style="padding-left: {{ $sample->organization_id != 21 ? '70px' : '45px' }} !important;">
|
||||
{{ $sample->organization_id != 21 ? __('invoice.received_by') : 'Lab. Tech' }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
@@ -516,13 +516,13 @@
|
||||
<td class="text-right bg-light"> {{number_format((($invoice->gross_total) * ($invoice->exchange_rate <=0 ? $labSettings->exchange_rate : $invoice->exchange_rate)),2)}}</td>
|
||||
</tr>
|
||||
@else
|
||||
|
||||
|
||||
<tr class="font-changable">
|
||||
<td class="text-left border-0" colspan="2"></td>
|
||||
<td class="text-right border-0">{{__('invoice.table_net_cost')}} :</td>
|
||||
<td class="text-right bg-light"> {{number_format(($invoice->total) ,2)}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="font-changable">
|
||||
<td class="text-left border-0" colspan="2"><span style="padding-left: 70px !important;">{{__('invoice.received_by')}}</span></td>
|
||||
<td class="text-right border-0">{{__('invoice.table_net_cost_riel')}} :</td>
|
||||
@@ -573,8 +573,8 @@
|
||||
|
||||
setTimeout(function(){ window.location.href=sample_base_url }, 10000)
|
||||
}
|
||||
|
||||
|
||||
@if(!empty($labSettings->alternative_logo))
|
||||
document.getElementById("change_logo_print").addEventListener("click", changeLogoAndPrint);
|
||||
@endif
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<li style="display: inline-block;" class="print">
|
||||
<a href="javascript:void(0)" onclick="printJS('presult-a4', 'html')" id="doPrinting"><i class="fa fa-print"></i> <b>{{__('invoice.print')}}</b></a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
<span class="close-preview" data-dismiss="modal" title="Close"><i class="fa fa-times"></i></span>
|
||||
</div>
|
||||
@@ -17,7 +17,7 @@
|
||||
<title>Result</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=.5, maximum-scale=12.0, minimum-scale=.25, user-scalable=yes">
|
||||
<style>
|
||||
|
||||
|
||||
@php
|
||||
$configures = collect($labConfigures);
|
||||
|
||||
@@ -29,18 +29,18 @@
|
||||
$fontSize = ($configures->where('atrribute_code', 'FONT_SIZE_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$resultColor = ($configures->where('atrribute_code', 'COLOR_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
@endphp
|
||||
|
||||
|
||||
.patient-info tr td{
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
font-size:10px !important;
|
||||
}
|
||||
|
||||
|
||||
#print_invoice_modal_a4 .font-changeable{
|
||||
/*font-family: '{{(empty($fontName) ? 'Times New Roman':$fontName)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
#print_invoice_modal_a4 table td, #print_invoice_modal_a4 table th{
|
||||
padding: 3px !important; font-size:10pt !important;
|
||||
}
|
||||
@@ -115,7 +115,7 @@
|
||||
margin: 0.5cm;
|
||||
}
|
||||
#print_invoice_modal_a4 @media print {
|
||||
|
||||
|
||||
body,
|
||||
page[size="A4"] {
|
||||
box-shadow: none;
|
||||
@@ -144,7 +144,7 @@
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
.font-changable{
|
||||
/*font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";*/
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
@@ -168,18 +168,18 @@
|
||||
.border-1{
|
||||
border: 1px solid #ffffff !important;
|
||||
}
|
||||
|
||||
|
||||
.font-changable{
|
||||
/*font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";*/
|
||||
/*font-family: '{{(empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader)}}' !important;*/
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
#print_invoice_modal_a4 .table-inv tr td{
|
||||
font-size:11px !important;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
p.value-pair {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -198,45 +198,45 @@
|
||||
line-height: 0;
|
||||
border-bottom: 2px dotted #858585;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<page size="A4">
|
||||
<div style="width: 21cm; padding: 0px; background-image: linear-gradient(#fafafa, #fafafa); background-size: 1px 100%; background-repeat: no-repeat; background-position: 49.6% center;">
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
$grouped = [];
|
||||
|
||||
|
||||
foreach($invoice->invoiceDetail->sortBy('weight') as $r=>$d)
|
||||
{
|
||||
|
||||
|
||||
$departmentId = $d->testSample->sample->department->name_en;
|
||||
$sampleTypeId = $d->testSample->sample->name_en;
|
||||
|
||||
|
||||
if (!isset($grouped[$departmentId])) {
|
||||
$grouped[$departmentId] = [];
|
||||
}
|
||||
if (!isset($grouped[$departmentId][$sampleTypeId])) {
|
||||
$grouped[$departmentId][$sampleTypeId] = [];
|
||||
}
|
||||
|
||||
|
||||
// Add the item to the appropriate group
|
||||
$grouped[$departmentId][$sampleTypeId][] = $d->toArray();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div style="width: 100%; display: inline-block; clear: both; vertical-align: top;">
|
||||
<table border="0" width="100%" style="font-size: 8pt !important;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td style="width:100%; text-align: center">
|
||||
@if((!empty($sample->physician->logo)) && ($sample->lab_id!=22))
|
||||
@if((!empty($sample->physician->logo)) && ($sample->organization_id!=22))
|
||||
<img width="100%" class="rounded-0" src="{{url(env("APP_URL").'storage/images/physician/'.$sample->physician->logo)}}" />
|
||||
@else
|
||||
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td style="width:70px; vertical-align: top;" class="text-center">
|
||||
@@ -258,7 +258,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -335,7 +335,7 @@
|
||||
@endforeach
|
||||
@endforeach
|
||||
@endforeach
|
||||
|
||||
|
||||
@for($i=$total; $i<=19; $i++)
|
||||
<tr>
|
||||
<td style="padding:0 5px; padding-left:15px !important;" class="font-changable border-1"><i style="position: absolute;"> </td>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</li>
|
||||
@endif
|
||||
<li style=" position: absolute; top: 0; right: 50px;">
|
||||
|
||||
|
||||
<a href="{{url('sample/search?kword=&sample_date=today')}}"><b>{{__('sidebar.view_sample')}}</b></a>
|
||||
|
||||
</li>
|
||||
@@ -56,12 +56,12 @@
|
||||
$fontName = ($configures->where('atrribute_code', 'FONT_NAME_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$fontSize = ($configures->where('atrribute_code', 'FONT_SIZE_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$resultColor = ($configures->where('atrribute_code', 'COLOR_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
|
||||
|
||||
$lineHeight = ($configures->where('atrribute_code', 'LINE_HEIGHT_FOR_RESULT_HEADER')->pluck('assigned_attribute_value')->first());
|
||||
|
||||
|
||||
|
||||
|
||||
@endphp
|
||||
|
||||
|
||||
@if(!empty($lineHeight))
|
||||
p{
|
||||
line-height 0 !important;
|
||||
@@ -71,7 +71,7 @@
|
||||
line-height: {{$lineHeight}} !important;
|
||||
}
|
||||
@endif
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'result_font';
|
||||
/*src: url('{{url(env("APP_URL").'storage/assets/fonts/'.(empty($fontName) ? 'times_new_roman.ttf':$fontName))}}');*/
|
||||
@@ -84,7 +84,7 @@
|
||||
/*display:swap;*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
.result-page-color{
|
||||
color: {{empty($resultColor) ? '#0000ff' : $resultColor}};
|
||||
}
|
||||
@@ -107,9 +107,9 @@
|
||||
.result-font, .name{
|
||||
/*font-family: "{{(empty($fontName) ? 'Time New Roman' : 'result_font')}}";*/
|
||||
font-family: '{{empty($fontName) ? 'Times New Roman': $fontName }}';
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
._department-sample-info tr td{
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 0px !important;
|
||||
@@ -274,7 +274,7 @@
|
||||
|
||||
@page {
|
||||
margin: 1cm 1cm 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media print {
|
||||
@@ -284,7 +284,7 @@
|
||||
margin-left: 0.2cm !important;
|
||||
margin-bottom: 0cm;
|
||||
}
|
||||
|
||||
|
||||
body,
|
||||
page[size="A4"] {
|
||||
margin-left: 0cm !important;
|
||||
@@ -309,15 +309,15 @@
|
||||
vertical-align: top;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
@if(Auth::id()==1)
|
||||
|
||||
|
||||
#footer .page{
|
||||
counter-increment:listCounter;
|
||||
}
|
||||
|
||||
|
||||
#footer .page:after{
|
||||
|
||||
|
||||
content: counter(listCounter);
|
||||
}
|
||||
@endif
|
||||
@@ -352,11 +352,11 @@
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Time New Roman' : 'label_header_font' ): 'Khmer OS Siemreap')}}";
|
||||
font-size: {{empty($fontSizeHeader) ? '13pt' : $fontSizeHeader}};
|
||||
}
|
||||
|
||||
|
||||
#footer{
|
||||
font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
.font-changable-base-on-localize{
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
@@ -508,7 +508,7 @@
|
||||
<td width="30%" style="padding-bottom:2px; line-height:20px;" align="left">: {!!$samplePhysician->name_en!!}</td>
|
||||
<td class="header-label-title-color" width="25%" style="padding-bottom:2px; line-height:20px; font-weight:bold;">{{__('sample.table_sample_source')}}</td>
|
||||
<td width="25%" style="line-height:20px;" align="left">: {{@$sample->sample_source->name_en}}</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -586,8 +586,8 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="15%" style="line-height:20px;">{{__('អាយុ/Age')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="21%" style="line-height:20px;" align="left">: {{\App\Helpers\Helpers::getAge($sample->patient->dob, $sample->admission_date)}}</td>
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="13%" style="line-height:20px;">{{__('ភេទ/Sex')}}</td>
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="13%" style="line-height:20px;">{{__('ភេទ/Sex')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="20%" style="line-height:20px;" align="left">: {{$sample->patient->gender==1 ? 'Male':'Female'}}</td>
|
||||
|
||||
</tr>
|
||||
@@ -595,10 +595,10 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;">{{__('Patient ID')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;" align="left">: {{$sample->patient->patient_uuid}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-top:2px; line-height:20px;">{{__('Lab ID')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-top:2px; line-height:20px;" align="left">: {{$sample->sample_number}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('ទូរស័ព្ទ/Phone')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;" align="left">: {{$sample->patient->phone_number}}</td>
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('Requested Date')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;" align="left">: {{date('d-M-Y H:i',strtotime($sample->collected_date))}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('Analysis Date')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;" align="left">: {{date('d-M-Y H:i');}}</td>
|
||||
</tr>
|
||||
@@ -674,8 +674,8 @@
|
||||
<span class="page" style="position:fixed; bottom:12px; right: 10px; font-weight:bold;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr class="result-footer-signature" id="dyn-signature" style="display:none;">
|
||||
<td class="text-center text-no-wrap" style="font-size:15px" valign="bottom">
|
||||
{{__('sample.verify_by')}} .
|
||||
@@ -700,12 +700,12 @@
|
||||
<span class="page" style="position:fixed; bottom:12px; right: 10px; font-weight:bold;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
@if($labSettings->show_result_footer==1)
|
||||
<tr>
|
||||
<td colspan="3" id="footer_line" class="result-page-color" style="text-align:center; border-top:1px solid #000 !important; padding-top:0px; letter-spacing: -0.5px !important;">
|
||||
@if($sample->lab_id!=22)
|
||||
@if($sample->organization_id!=22)
|
||||
<span style="line-height: 10px !important; font-size:12px">{{ app()->getLocale()=='kh' ? $labSettings->address_kh : $labSettings->address_en}} <br>
|
||||
{{$labSettings->phone_number}} {{$labSettings->email}}</span><br>
|
||||
@endif
|
||||
@@ -725,16 +725,16 @@
|
||||
@if($sample->is_printed==0)
|
||||
printRecorder()
|
||||
@endif
|
||||
|
||||
|
||||
printJS({
|
||||
printable: "presult-1",
|
||||
type: "html"
|
||||
});
|
||||
|
||||
|
||||
|
||||
setTimeout(function(){ window.location.href=sample_base_url }, 10000)
|
||||
}
|
||||
|
||||
|
||||
function changeLogoAndPrint(){
|
||||
$('#dyn-logo, #def-logo').toggle();
|
||||
$('#dyn-signature, #def-signature').toggle();
|
||||
@@ -745,14 +745,14 @@
|
||||
|
||||
setTimeout(function(){ window.location.href=sample_base_url }, 10000)
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("doPrinting__").addEventListener("click", printTest)
|
||||
|
||||
|
||||
|
||||
|
||||
@if(!empty($labSettings->alternative_logo))
|
||||
document.getElementById("change_logo_print").addEventListener("click", changeLogoAndPrint);
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
</li>
|
||||
@endif
|
||||
<li style=" position: absolute; top: 0; right: 50px;">
|
||||
|
||||
|
||||
<a href="{{url('sample/search?kword=&sample_date=today')}}"><b>{{__('sidebar.view_sample')}}</b></a>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<span class="close-preview" data-dismiss="modal" title="Close"><i class="fa fa-times"></i></span>
|
||||
</div>
|
||||
@endif
|
||||
@@ -46,7 +46,7 @@
|
||||
<title>Result</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=.5, maximum-scale=12.0, minimum-scale=.25, user-scalable=yes">
|
||||
<style>
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'KhmerOS_muollight';
|
||||
src: url('{{url(env("APP_URL").'storage/assets/fonts/KhmerOS_muollight.ttf')}}');
|
||||
@@ -63,12 +63,12 @@
|
||||
$fontName = ($configures->where('atrribute_code', 'FONT_NAME_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$fontSize = ($configures->where('atrribute_code', 'FONT_SIZE_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
$resultColor = ($configures->where('atrribute_code', 'COLOR_FOR_RESULT')->pluck('assigned_attribute_value')->first());
|
||||
|
||||
|
||||
$lineHeight = ($configures->where('atrribute_code', 'LINE_HEIGHT_FOR_RESULT_HEADER')->pluck('assigned_attribute_value')->first());
|
||||
|
||||
|
||||
|
||||
|
||||
@endphp
|
||||
|
||||
|
||||
@if(!empty($lineHeight))
|
||||
p{
|
||||
line-height 0 !important;
|
||||
@@ -78,9 +78,9 @@
|
||||
line-height: {{$lineHeight}} !important;
|
||||
}
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'result_font';
|
||||
}
|
||||
@@ -108,7 +108,7 @@
|
||||
.result-font, .name{
|
||||
font-family: '{{empty($fontName) ? 'Times New Roman': $fontName }}';
|
||||
}
|
||||
|
||||
|
||||
._department-sample-info tr td{
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 0px !important;
|
||||
@@ -116,7 +116,7 @@
|
||||
|
||||
.result-font-size{
|
||||
font-size: {{empty($fontSize) ? '13pt' : $fontSize}};
|
||||
|
||||
|
||||
}
|
||||
|
||||
.KhmerOS {
|
||||
@@ -138,7 +138,7 @@
|
||||
width: 21cm;
|
||||
display: block;
|
||||
margin: 10px auto;
|
||||
{{(request()->segment(1)!='shared' ? 'margin-left: 0cm !important;':'')}}
|
||||
{{(request()->segment(1)!='shared' ? 'margin-left: 0cm !important;':'')}}
|
||||
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
|
||||
padding: 0cm 1cm 1cm 1cm;
|
||||
/*font-family: 'result_font';*/
|
||||
@@ -270,7 +270,7 @@
|
||||
|
||||
@page {
|
||||
margin: 1cm 1cm 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media print {
|
||||
@@ -283,11 +283,11 @@
|
||||
content: content
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
body,
|
||||
page[size="A4"] {
|
||||
margin-left: 0cm !important;
|
||||
@@ -312,15 +312,15 @@
|
||||
vertical-align: top;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
@if(Auth::id()==1)
|
||||
|
||||
|
||||
#footer .page{
|
||||
counter-increment:listCounter;
|
||||
}
|
||||
|
||||
|
||||
#footer .page:after{
|
||||
|
||||
|
||||
content: counter(listCounter);
|
||||
}
|
||||
@endif
|
||||
@@ -355,11 +355,11 @@
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Time New Roman' : 'label_header_font' ): 'Khmer OS Siemreap')}}";
|
||||
font-size: {{empty($fontSizeHeader) ? '13pt' : $fontSizeHeader}};
|
||||
}
|
||||
|
||||
|
||||
#footer{
|
||||
font-family: "{{(App::isLocale('en') ? 'Times New Roman' : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
|
||||
|
||||
.font-changable-base-on-localize{
|
||||
font-family: "{{(App::isLocale('en') ? (empty($fontNameHeader) ? 'Times New Roman':$fontNameHeader) : 'Khmer OS Siemreap')}}";
|
||||
}
|
||||
@@ -371,7 +371,7 @@
|
||||
<input type="hidden" name="verify" id="verify" value="">
|
||||
|
||||
<page size="A4">
|
||||
|
||||
|
||||
<table border="0" width="100%">
|
||||
<thead>
|
||||
<tr id="def-logo">
|
||||
@@ -403,7 +403,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-top text-center" style="padding-top:0" valign="top">
|
||||
|
||||
|
||||
<div style="font-size: 13.5pt; text-transform: uppercase; font-weight: bold;" class="header-label-title-color header-label-font">{{__('sample.print_title')}}</div>
|
||||
|
||||
</td>
|
||||
@@ -514,7 +514,7 @@
|
||||
<td width="30%" style="padding-bottom:2px; line-height:20px;" align="left">: {!!$samplePhysician->name_en!!}</td>
|
||||
<td class="header-label-title-color" width="25%" style="padding-bottom:2px; line-height:20px; font-weight:bold;">{{__('sample.table_sample_source')}}</td>
|
||||
<td width="25%" style="line-height:20px;" align="left">: {{@$sample->sample_source->name_en}}</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -592,8 +592,8 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="15%" style="line-height:20px;">{{__('អាយុ/Age')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="21%" style="line-height:20px;" align="left">: {{\App\Helpers\Helpers::getAge($sample->patient->dob, $sample->admission_date)}}</td>
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="13%" style="line-height:20px;">{{__('ភេទ/Sex')}}</td>
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="13%" style="line-height:20px;">{{__('ភេទ/Sex')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" width="20%" style="line-height:20px;" align="left">: {{$sample->patient->gender==1 ? 'Male':'Female'}}</td>
|
||||
|
||||
</tr>
|
||||
@@ -601,10 +601,10 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;">{{__('Patient ID')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;" align="left">: {{$sample->patient->patient_uuid}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-top:2px; line-height:20px;">{{__('Lab ID')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-top:2px; line-height:20px;" align="left">: {{$sample->sample_number}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('ទូរស័ព្ទ/Phone')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;" align="left">: {{$sample->patient->phone_number}}</td>
|
||||
|
||||
@@ -615,7 +615,7 @@
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('Requested Date')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="line-height:20px;" align="left">: {{date('d-M-Y H:i',strtotime($sample->collected_date))}}</td>
|
||||
|
||||
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;">{{__('Analysis Date')}}</td>
|
||||
<td class="header-label-title-color font-changable-base-on-localize" style="padding-bottom:2px; line-height:20px;" align="left">: {{date('d-M-Y H:i');}}</td>
|
||||
</tr>
|
||||
@@ -656,7 +656,7 @@
|
||||
<td class="text-center text-no-wrap" style="width: 6.7cm; font-size:15px">
|
||||
{{__('sample.report_date')}} : {{date('d-M-Y H:i')}} </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr class="result-footer-signature" id="def-signature">
|
||||
<td class="text-center text-no-wrap" style="font-size:15px" valign="bottom">
|
||||
{{__('sample.verify_by')}}
|
||||
@@ -680,8 +680,8 @@
|
||||
<span class="page" style="position:fixed; bottom:12px; right: 10px; font-weight:bold;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr class="result-footer-signature" id="dyn-signature" style="display:none;">
|
||||
<td class="text-center text-no-wrap" style="font-size:15px" valign="bottom">
|
||||
{{__('sample.verify_by')}} .
|
||||
@@ -706,12 +706,12 @@
|
||||
<span class="page" style="position:fixed; bottom:12px; right: 10px; font-weight:bold;"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
@if($labSettings->show_result_footer==1)
|
||||
<tr>
|
||||
<td colspan="3" id="footer_line" class="result-page-color" style="text-align:center; border-top:1px solid #000 !important; padding-top:0px; letter-spacing: -0.5px !important;">
|
||||
@if($sample->lab_id!=22)
|
||||
@if($sample->organization_id!=22)
|
||||
<span style="line-height: 10px !important; font-size:12px">{{ app()->getLocale()=='kh' ? $labSettings->address_kh : $labSettings->address_en}} <br>
|
||||
{{$labSettings->phone_number}} {{$labSettings->email}}</span><br>
|
||||
@endif
|
||||
@@ -731,16 +731,16 @@
|
||||
@if($sample->is_printed==0)
|
||||
printRecorder()
|
||||
@endif
|
||||
|
||||
|
||||
printJS({
|
||||
printable: "presult-1",
|
||||
type: "html"
|
||||
});
|
||||
|
||||
|
||||
|
||||
setTimeout(function(){ window.location.href=sample_base_url }, 10000)
|
||||
}
|
||||
|
||||
|
||||
function changeLogoAndPrint(){
|
||||
$('#dyn-logo, #def-logo').toggle();
|
||||
$('#dyn-signature, #def-signature').toggle();
|
||||
@@ -751,14 +751,14 @@
|
||||
|
||||
setTimeout(function(){ window.location.href=sample_base_url }, 10000)
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("doPrinting__").addEventListener("click", printTest)
|
||||
|
||||
|
||||
|
||||
|
||||
@if(!empty($labSettings->alternative_logo))
|
||||
document.getElementById("change_logo_print").addEventListener("click", changeLogoAndPrint);
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user