v1.2.7
- [MAP] Container 교체 중복 입력 방지. - [INSTALL WAIT LIST] Oil Pickup 옵션 추가 js 버그 수정.
This commit is contained in:
parent
25ffdef1a4
commit
d1c74c15da
|
|
@ -100,10 +100,24 @@ trait InstallAPI {
|
|||
NOW() AS iw_created_at
|
||||
FROM tbl_customer c
|
||||
WHERE c.c_uid = '{$c_uid}'
|
||||
AND NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM tbl_install_waitlist iw
|
||||
WHERE iw.iw_customer_uid = c.c_uid
|
||||
AND iw.iw_status NOT IN ('DELETED','COMPLETED')
|
||||
)
|
||||
";
|
||||
|
||||
qry($sql);
|
||||
|
||||
if (mysqli_affected_rows($GLOBALS['conn']) == 0) {
|
||||
echo $this->json([
|
||||
'ok' => 0,
|
||||
'msg' => '이미 waitlist에 존재합니다.'
|
||||
]);
|
||||
return;
|
||||
}
|
||||
|
||||
$iw_uid = mysqli_insert_id($GLOBALS['conn']); // or global db handle
|
||||
|
||||
echo $this->json([
|
||||
|
|
|
|||
|
|
@ -2128,8 +2128,8 @@ while ($row = mysqli_fetch_assoc($rmem)) {
|
|||
unassignDailyInstall(ids);
|
||||
});
|
||||
</script>
|
||||
<script src="/js/install_wait_modal.js?v=20260204"></script>
|
||||
<script src="/js/customer_image.js?v=20260204"></script>
|
||||
<script src="/js/install_wait_modal.js?v=<?=time()?>"></script>
|
||||
<script src="/js/customer_image.js?v=<?=time()?>"></script>
|
||||
|
||||
<!-- add modal -->
|
||||
<div class="modal fade" id="addInstallWaitModal" tabindex="-1" aria-hidden="true">
|
||||
|
|
|
|||
Loading…
Reference in New Issue