[MAP] Fixed missing fields when direct add input from MAP

This commit is contained in:
Hyojin Ahn 2026-01-16 16:23:08 -05:00
parent 2fababd496
commit 5b697c5274
1 changed files with 21 additions and 0 deletions

View File

@ -1134,6 +1134,11 @@ class API extends CONF {
INSERT INTO tbl_daily ( INSERT INTO tbl_daily (
d_orderdate, d_driveruid, d_customeruid, d_accountno, d_orderdate, d_driveruid, d_customeruid, d_accountno,
d_name, d_paymenttype, d_cycle, d_rate, d_name, d_paymenttype, d_cycle, d_rate,
d_form_eu, d_form_corsia, d_maincontainer, d_container,
d_location, d_phone, d_address, d_city, d_postal, d_area,
d_oil_2y, d_oil_1y, d_oil_0y,
d_fullcycle, d_fullcycleforced,
d_lastpickupdate, d_lastpickupquantity, d_lastpaiddate,
d_estquantity, d_createruid, d_createddate, d_status d_estquantity, d_createruid, d_createddate, d_status
) VALUES ( ) VALUES (
'{$_POST['orderdate']}', '{$_POST['orderdate']}',
@ -1144,6 +1149,22 @@ class API extends CONF {
'{$customer['c_paymenttype']}', '{$customer['c_paymenttype']}',
'{$customer['c_paymentcycle']}', '{$customer['c_paymentcycle']}',
'{$customer['c_rate']}', '{$customer['c_rate']}',
'{$customer['c_form_eu']}',
'{$customer['c_form_corsia']}',
'{$customer['c_maincontainer']}',
'{$customer['c_container']}',
'{$customer['c_location']}',
'{$customer['c_phone']}',
'{$customer['c_address']}',
'{$customer['c_city']}',
'{$customer['c_postal']}',
'{$customer['c_area']}',
0, 0, 0,
'{$customer['c_fullcycle']}',
'{$customer['c_fullcycleforced']}',
'{$customer['c_lastpickupdate']}',
'{$customer['c_lastpickupquantity']}',
'{$customer['c_lastpaiddate']}',
{$estquantity}, {$estquantity},
'{$_POST['d_createruid']}', '{$_POST['d_createruid']}',
'".date("YmdHis")."', '".date("YmdHis")."',