- [ORDER] Actual 양 옆에 Forecast 양 추가.
This commit is contained in:
Hyojin Ahn 2026-06-18 12:13:24 -04:00
parent 2c175b63cf
commit 2a2fc2a120
2 changed files with 13 additions and 5 deletions

View File

@ -84,7 +84,7 @@
.td-search #c_fullquantity_a,
.td-search #c_fullquantity_b]{
.td-search #c_fullquantity_b{
border:1px solid #BCBBBB;
border-radius: 3px;
padding: 5px 10px;
@ -306,13 +306,13 @@ table.tb-list th {
color: blue;
font-size: 18px;
cursor: pointer;
background-color::blue;
background-color:blue;
}
.icon-note:hover{
color: #5E5EFF;
font-size: 18px;
background-color::blue;
background-color:blue;
}
/*--------------------------------------------------------------
# Pagination
@ -362,6 +362,9 @@ table.tb-list th {
}
.estimate-wrap{
float: right;
display: flex;
gap: 15px; /* 항목 사이 간격 */
align-items: center;
}
/*
.txt-estimate{

View File

@ -58,6 +58,7 @@ $total_count=$jdb->rQuery($query, "record query error");
$list_number = $total_count;
$d_estquantitySUM = 0;
$d_quantitySUM = 0;
$query = "SELECT * FROM tbl_daily
@ -123,6 +124,7 @@ foreach ($rows as $list) {
$d_estquantitySTR = number_format(floatval($d_estquantity));
$d_quantitySTR = number_format(floatval($d_quantity));
$d_estquantitySUM = $d_estquantitySUM + floatval($d_estquantitySTR);
$d_quantitySUM = $d_quantitySUM + floatval($d_quantity);
$c_uid = $d_customeruid;
@ -650,8 +652,11 @@ function printDiv(divName) {
</table>
</div>
<div class="container-inner">
<p class="estimate-wrap"><span class="txt-estimate">ACTUAL : <span id="estimatetotal"><?=number_format($d_quantitySUM)?></span> L</span></p>
<div class="container-inner"">
<p class="estimate-wrap">
<span class="txt-estimate">FORECAST: <span id="estimatetotal"><?=number_format($d_estquantitySUM)?></span> L</span>
<span class="txt-estimate">ACTUAL: <span id="actualtotal"><?=number_format($d_quantitySUM)?></span> L</span>
</p>
</div>
<br><br>