init project

This commit is contained in:
2026-05-25 11:08:52 +07:00
parent a388c619b5
commit 895fdd9b83
1437 changed files with 384844 additions and 27 deletions

View File

@@ -0,0 +1,194 @@
@font-face {
font-family: 'KhmerOS';
src: url('../../fonts/KhmerOS.ttf');
}
@font-face {
font-family: Hanuman;
src: url('../../fonts/Hanuman.ttf');
}
@font-face {
font-family: 'KhmerOS_muollight';
src: url('../../fonts/KhmerOS_muollight.ttf');
}
@font-face {
font-family: 'Tacteng';
src: url('../../fonts/Tacteng.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Regular';
src: url('../../fonts/SourceSerifPro-Regular.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Bold';
src: url('../../fonts/SourceSerifPro-Bold.ttf');
}
@font-face {
font-family: 'Dactylog';
src: url('../../fonts/DACTYLOG.TTF');
}
.KhmerOS {
font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
}
.KhmerMoulLight {
font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
}
.tacteng {
font-family: Tacteng !important;
}
.sourceserifpro-bold {
font-family: 'SourceSerifPro-Bold', 'serif';
}
page[size="A4"] {
background: white;
/*width: 21cm;*/
width: 297mm;
display: block;
margin: 10px auto;
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
padding: 1mm;
font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
font-size: 8pt;
line-height: 10px;
page-break-after: always;
}
/*
page[size="A4"], th, td {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
page[size="A4"] table {
border-spacing: 2px !important;
border-collapse: separate !important;
}*/
table th, table td {
text-align: left;
padding-left: 5px !important;
padding-right: 5px !important;
}
table td {
font-weight: normal;
}
table.patient-info, table.department-sample-info {
border: 1px solid #7a7a7a;
line-height: 18px;
padding: 3px;
}
table.patient-info td, table.patient-info th {
vertical-align: top;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-top {
vertical-align: top;
}
.text-bottom {
vertical-align: bottom;
}
.text-middle {
vertical-align: middle;
}
.text-bold {
font-weight: bold;
}
.text-no-wrap {
white-space: nowrap;
}
table.test-result {
line-height: 16px;
}
#footer {
line-height: 17px;
}
#footer .laboratory-address td {
border-top: 1px solid black;
padding-top: 10px;
}
#footer .result-footer-signature td {
vertical-align: top;
padding-bottom: 60px;
}
@page {
margin: 0.5cm;
}
@media print {
/*
@page {
margin: 1cm;
}
body,
page[size="A4"] {
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
}*/
body,
page[size="A4"] {
box-shadow: none;
background-color: #fff;
}
@page {
size: A4 landscape;
margin: 0.5cm 0.5cm 0;
padding: 0;
}
@page {
size: 210mm 297mm landscape;
margin: 0.5cm 0.5cm 0;
padding: 0;
}
@page {
size: 11.7in 16.5in landscape;
margin: 0.5cm 0.5cm 0;
padding: 0;
}
tbody.sample-result {
page-break-inside: avoid;
}
#footer {
display: block;
position: fixed;
bottom: 0;
}
}
#print_invoice_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}
.bg-light{
background: #e8e8e8 !important;
}
.border-0{
border:none !important;
}

View File

@@ -0,0 +1,166 @@
@font-face {
font-family: 'KhmerOS';
src: url('../../fonts/KhmerOS.ttf');
}
@font-face {
font-family: Hanuman;
src: url('../../fonts/Hanuman.ttf');
}
@font-face {
font-family: 'KhmerOS_muollight';
src: url('../../fonts/KhmerOS_muollight.ttf');
}
@font-face {
font-family: 'Tacteng';
src: url('../../fonts/Tacteng.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Regular';
src: url('../../fonts/SourceSerifPro-Regular.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Bold';
src: url('../../fonts/SourceSerifPro-Bold.ttf');
}
@font-face {
font-family: 'Dactylog';
src: url('../../fonts/DACTYLOG.TTF');
}
.KhmerOS {
font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
}
.KhmerMoulLight {
font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
}
.tacteng {
font-family: Tacteng !important;
}
.sourceserifpro-bold {
font-family: 'SourceSerifPro-Bold', 'serif';
}
/*body {
background: rgb(204, 204, 204);
}*/
page[size="A5"] {
background: white;
width: 21cm;
display: block;
margin: 10px auto;
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
padding: 1cm;
font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
font-size: 12pt;
line-height: 23px;
page-break-after: always;
}
/*
page[size="A4"], th, td {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
page[size="A4"] table {
border-spacing: 2px !important;
border-collapse: separate !important;
}*/
table th, table td {
text-align: left;
padding-left: 5px !important;
padding-right: 5px !important;
}
table td {
font-weight: normal;
}
table.patient-info, table.department-sample-info {
border: 1px solid #7a7a7a;
line-height: 18px;
padding: 3px;
}
table.patient-info td, table.patient-info th {
vertical-align: top;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-top {
vertical-align: top;
}
.text-bottom {
vertical-align: bottom;
}
.text-middle {
vertical-align: middle;
}
.text-bold {
font-weight: bold;
}
.text-no-wrap {
white-space: nowrap;
}
table.test-result {
line-height: 16px;
}
#footer {
line-height: 17px;
}
#footer .laboratory-address td {
border-top: 1px solid black;
padding-top: 10px;
}
#footer .result-footer-signature td {
vertical-align: top;
padding-bottom: 60px;
}
@page {
margin: 1cm 1cm 0;
}
@media print {
@page {
margin: 1cm;
}
body,
page[size="A5"] {
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
}
tbody.sample-result {
page-break-inside: avoid;
}
#footer {
display: block;
position: fixed;
bottom: 0;
}
}
#print_invoice_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}
.bg-light{
background: #e8e8e8 !important;
}
.border-0{
border:none !important;
}

View File

@@ -0,0 +1,117 @@
.print-preview-header {
height: 50px;
width: 100%;
background: rgba(0, 0, 0, 0.7);
position: fixed;
top: 0;
left: 0;
z-index: 100;
text-align: center;
}
.print-preview-header .presult-pagination {
float: left;
color: white;
margin-top: 12px;
margin-left: 20px;
}
.print-preview-header ul {
list-style: none;
margin: 0;
padding: 0;
}
.print-preview-header .close-preview-return {
display: block;
width: 65px;
height: 20px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
color: white;
position: absolute;
right: 45px;
top: 15px;
cursor: pointer;
}
.print-preview-header .close-preview {
display: block;
width: 20px;
height: 20px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
color: white;
position: absolute;
right: 20px;
top: 15px;
cursor: pointer;
}
#print_preview_modal .modal-dialog.A4-portrait {
width: 21cm;
}
.print-preview-header .presult-pagination .page-number {
width: 40px;
border-radius: 2px;
background: #333131;
border: none;
text-align: center;
padding: 4px;
box-shadow: inset 0 0 2px black;
}
#print_preview_modal button.previous {
left: 40px;
}
#print_preview_modal button.previous, #print_preview_modal button.next {
position: fixed;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 100%;
border: none;
width: 40px;
height: 40px;
text-align: center;
background: #131313;
color: white;
}
#print_preview_modal button.next {
right: 10px;
}
#print_preview_modal button.previous, #print_preview_modal button.next {
position: fixed;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 100%;
border: none;
width: 40px;
height: 40px;
text-align: center;
background: #131313;
color: white;
}
.print-preview-header ul li a {
display: inline-block;
text-decoration: none;
color: white;
padding: 15px 20px;
}
#print_invoice_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}
#preview_prescription_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,216 @@
@font-face {
font-family: 'KhmerOS';
src: url('../../fonts/KhmerOS.ttf');
}
@font-face {
font-family: Hanuman;
src: url('../../fonts/Hanuman.ttf');
}
@font-face {
font-family: 'KhmerOS_muollight';
src: url('../../fonts/KhmerOS_muollight.ttf');
}
@font-face {
font-family: 'Tacteng';
src: url('../../fonts/Tacteng.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Regular';
src: url('../../fonts/SourceSerifPro-Regular.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Bold';
src: url('../../fonts/SourceSerifPro-Bold.ttf');
}
@font-face {
font-family: 'Dactylog';
src: url('../../fonts/DACTYLOG.TTF');
}
.KhmerOS {
font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
}
.KhmerMoulLight {
font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
}
.tacteng {
font-family: Tacteng !important;
}
.sourceserifpro-bold {
font-family: 'SourceSerifPro-Bold', 'serif';
}
/*body {
background: rgb(204, 204, 204);
}*/
page[size="A4"] {
background: white;
width: 21cm;
display: block;
margin: 10px auto;
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
padding: 1cm;
font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
font-size: 12pt;
line-height: 23px;
page-break-after: always;
}
page[size="A4"], th, td {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
page[size="A4"] table {
border-spacing: 2px !important;
border-collapse: separate !important;
}
table th, table td {
text-align: left;
}
table td {
font-weight: normal;
}
table.patient-info, table.department-sample-info {
border: 1px solid #7a7a7a;
line-height: 18px;
padding: 3px;
}
table.patient-info td, table.patient-info th {
vertical-align: top;
}
table.department-sample-info {
background-color: #ebebeb;
}
table.test-result {
font-family: 'SourceSerifPro-Regular', 'serif';
}
table.test-result tr th {
border-bottom: 1px solid black;
}
table.test-result tr th:not(:last-child), table.test-result tr td:not(:last-child) {
padding-right: .2cm;
}
table.test-result tr:first-child + tr td {
padding-top: 5px;
}
p.value-pair {
position: relative;
width: 98%;
margin: 0;
}
p.value-pair:before {
content: '';
display: block;
position: absolute;
width: 98%;
bottom: .2rem;
height: 0;
line-height: 0;
border-bottom: 2px dotted #858585;
}
p.value-pair .name {
background: white;
z-index: 1;
position: relative;
padding-right: 5px;
}
p.value-pair .value {
background: white;
z-index: 1;
right: 0;
position: absolute;
padding-left: 5px;
font-weight: bold;
}
.out-of-range {
font-family: 'SourceSerifPro-Bold', 'serif';
font-weight: bold;
font-size: 13pt;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-top {
vertical-align: top;
}
.text-bottom {
vertical-align: bottom;
}
.text-middle {
vertical-align: middle;
}
.text-bold {
font-weight: bold;
}
.text-no-wrap {
white-space: nowrap;
}
table.test-result {
line-height: 16px;
}
#footer {
line-height: 17px;
}
#footer .laboratory-address td {
border-top: 1px solid black;
padding-top: 10px;
}
#footer .result-footer-signature td {
vertical-align: top;
padding-bottom: 30px;
}
@page {
margin: 1cm 1cm 0;
}
@media print {
@page {
margin: 1cm;
}
body,
page[size="A4"] {
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
}
tbody .sample-result {
page-break-inside: avoid;
}
body .sample-result .sample-type{
page-break-inside: avoid;
}
#footer {
display: block;
position: fixed;
bottom: 0;
margin-top: 500px !important;
padding-bottom: 0px !important;
}
}
#print_invoice_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}

View File

@@ -0,0 +1,210 @@
@font-face {
font-family: 'KhmerOS';
src: url('../../fonts/KhmerOS.ttf');
}
@font-face {
font-family: Hanuman;
src: url('../../fonts/Hanuman.ttf');
}
@font-face {
font-family: 'KhmerOS_muollight';
src: url('../../fonts/KhmerOS_muollight.ttf');
}
@font-face {
font-family: 'Tacteng';
src: url('../../fonts/Tacteng.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Regular';
src: url('../../fonts/SourceSerifPro-Regular.ttf');
}
@font-face {
font-family: 'SourceSerifPro-Bold';
src: url('../../fonts/SourceSerifPro-Bold.ttf');
}
@font-face {
font-family: 'Dactylog';
src: url('../../fonts/DACTYLOG.TTF');
}
.KhmerOS {
font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
}
.KhmerMoulLight {
font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
}
.tacteng {
font-family: Tacteng !important;
}
.sourceserifpro-bold {
font-family: 'SourceSerifPro-Bold', 'serif';
}
/*body {
background: rgb(204, 204, 204);
}*/
page[size="A4"] {
background: white;
width: 21cm;
display: block;
margin: 10px auto;
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
padding: 1cm;
font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
font-size: 12pt;
line-height: 23px;
page-break-after: always;
}
page[size="A4"], th, td {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
page[size="A4"] table {
border-spacing: 2px !important;
border-collapse: separate !important;
}
table th, table td {
text-align: left;
}
table td {
font-weight: normal;
}
table.patient-info, table.department-sample-info {
border: 1px solid #7a7a7a;
line-height: 18px;
padding: 3px;
}
table.patient-info td, table.patient-info th {
vertical-align: top;
}
table.department-sample-info {
background-color: #ebebeb;
}
table.test-result {
font-family: 'SourceSerifPro-Regular', 'serif';
}
table.test-result tr th {
border-bottom: 1px solid black;
}
table.test-result tr th:not(:last-child), table.test-result tr td:not(:last-child) {
padding-right: .2cm;
}
table.test-result tr:first-child + tr td {
padding-top: 5px;
}
p.value-pair {
position: relative;
width: 98%;
margin: 0;
}
p.value-pair:before {
content: '';
display: block;
position: absolute;
width: 98%;
bottom: .2rem;
height: 0;
line-height: 0;
border-bottom: 2px dotted #858585;
}
p.value-pair .name {
background: white;
z-index: 1;
position: relative;
padding-right: 5px;
}
p.value-pair .value {
background: white;
z-index: 1;
right: 0;
position: absolute;
padding-left: 5px;
font-weight: bold;
}
.out-of-range {
font-family: 'SourceSerifPro-Bold', 'serif';
font-weight: bold;
font-size: 13pt;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-top {
vertical-align: top;
}
.text-bottom {
vertical-align: bottom;
}
.text-middle {
vertical-align: middle;
}
.text-bold {
font-weight: bold;
}
.text-no-wrap {
white-space: nowrap;
}
table.test-result {
line-height: 16px;
}
#footer {
line-height: 17px;
}
#footer .laboratory-address td {
border-top: 1px solid black;
padding-top: 10px;
}
#footer .result-footer-signature td {
vertical-align: top;
padding-bottom: 60px;
}
@page {
margin: 1cm 1cm 0;
}
@media print {
@page {
margin: 1cm;
}
body,
page[size="A4"] {
margin: 0;
padding: 0;
box-shadow: none;
background-color: transparent;
}
tbody.sample-result {
page-break-inside: avoid;
}
#footer {
display: block;
position: fixed;
bottom: 0;
}
}
#print_invoice_modal .table-inv th, .table-inv td {
border: 1px solid black;
border-collapse: collapse;
}