Files
gravity/hosxp-webservice/_OLD/right_panel_price.php
T
2026-09-16 23:20:08 +07:00

138 lines
4.5 KiB
PHP

<!-- BEGIN PHP CODE PATIENT STAT PER DAY -->
<?php
//require("connect_web.php");
//require("connect_hosxp.php");
//require("date_format.php");
$sql_news2 = "select * from news order by date_add desc limit 2 "; // Download data
$result_news2 = mysqli_query($conn2, $sql_news2);
$sql_drug = "select a.name as nn,a.*,b.* from nondrugitems a left outer join income b on a.income=b.income"; // Download data
$result_drug = mysqli_query($conn1, $sql_drug);
?>
<div class="headerpanel"> <a href="" class="showmenu"></a>
<div class="headerright">
<?php require("right_header.php"); ?>
</div>
<!--headerpanel-->
<div class="breadcrumbwidget">
<?php require("breadcrumb.php"); ?>
<div class="row-fluid">
<div class="span12">
<?php require("icon_shortcut.php"); ?>
<!-- Content -->
<h4 class="widgettitle nomargin">ข้อมูลอัตราค่ารักษาพยาบาล</span></h4>
<table class="table table-bordered" id="dyntable2" style="font-size: small;">
<colgroup>
<col class="con0" />
<col class="con1" />
<col class="con0" />
<col class="con1" />
<col class="con0" />
<col class="con1" />
<col class="con0" />
<col class="con1" />
<col class="con0" />
<col class="con1" />
<col class="con0" />
</colgroup>
<thead>
<tr>
<!-- <th class="head0"><center>ลำดับ</center></th> -->
<th class="head0">
<center>
รหัส
</center>
</th>
<th class="head0">
<center>
ชื่อค่าใช้จ่าย
</center>
</th>
<th class="head0">
<center>
หน่วย
</center>
</th>
<th class="head0">
<center>
ทั่วไป OPD
</center>
</th>
<th class="head0">
<center>
ต่างชาติ OPD
</center>
</th>
<th class="head0">
<center>
กรมบัญชีกลาง OPD
</center>
</th>
<th class="head0">
<center>
ทั่วไป IPD
</center>
</th>
<th class="head0">
<center>
ต่างชาติ IPD
</center>
</th>
<th class="head0">
<center>
กรมบัญชีกลาง IPD
</center>
</th>
<th class="head0">
<center>
รหัสเบิก
</center>
</th>
<th class="head0">
<center>
รหัสย่อย
</center>
</th>
</tr>
</thead>
<tbody>
<?php
//$i4=0;
while ($rs_drug = mysqli_fetch_array($result_drug)) {
?>
<tr class="gradeX">
<!-- <td><center><?php //echo ($i4 + 1);
?></center></td> -->
<td><?php echo $rs_drug["icode"]; ?></td>
<td><?php echo $rs_drug["nn"]; ?></td>
<td><?php echo $rs_drug["unit"]; ?></td>
<td><?php echo $rs_drug["price"]; ?></td>
<td><?php echo $rs_drug["price2"]; ?></td>
<td><?php echo $rs_drug["price3"]; ?></td>
<td><?php echo $rs_drug["ipd_price"]; ?></td>
<td><?php echo $rs_drug["ipd_price2"]; ?></td>
<td><?php echo $rs_drug["ipd_price3"]; ?></td>
<td><?php echo $rs_drug["billcode"]; ?></td>
<td><?php echo $rs_drug["billnumber"]; ?></td>
</tr>
<?php
//$i4++;
}
?>
</tbody>
</table>
<!--widgetcontent-->
</div>
<!--span8-->
<!--span4-->
</div>
<!--row-fluid-->
</div>
<!--contentinner-->
</div>
<!--maincontent-->