- [ORDER] 오더장 업데이트할 때, last pickup 정보는 제외.
This commit is contained in:
Hyojin Ahn 2026-05-11 11:25:48 -04:00
parent 591d17cec5
commit fce9beb5a1
2 changed files with 11 additions and 16 deletions

View File

@ -143,8 +143,17 @@ class DailyService extends CONF {
$setParts = [];
foreach ($data as $k => $v) {
if (in_array($k, ['d_orderdate','d_accountno','d_jobtype'], true)) continue;
// 업데이트 제외 컬럼
if (in_array($k, [
'd_orderdate',
'd_accountno',
'd_jobtype',
'd_inputdate',
'd_estquantity',
'd_lastpickupdate',
'd_lastpickupquantity',
'd_lastpaiddate'
], true)) continue;
if (!array_key_exists($k, $existing)) continue;
$setParts[] = "{$k}='" . mysqli_real_escape_string($connect, (string)$v) . "'";

View File

@ -137,20 +137,6 @@ if ($c_paymenttype =="CA") {
</td>
</tr>
<tr>
<td class="td-title-info">Installation Image</td>
<td class="td-text-info" style="border-right: none;">
<?php if ($installImgUrl != "") { ?>
<a href="<?=$installImgUrl?>" target="_blank">View Image</a>
<?php } else { ?>
<span>No image</span>
<?php } ?>
</td>
<td style="text-align: right; border-right: 1px solid #dcdcdc; border-bottom:1px solid #dcdcdc;">
<span style="border: 1px solid #72A864; border-radius: 5px; padding: 3px;"><a href="#" onclick="popup();">ADD</a></span>
</td>
</tr>
</table>
<br>
<div class="text-center grid-layout-col-2">