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

View File

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