Changeset 23326 for branches/version-2_13-dev/data/class
- Timestamp:
- 2014/01/19 17:33:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r23323 r23326 262 262 $objFormParam->setParam($_POST); 263 263 $objFormParam->convParam(); 264 $ customer_birth = $this->setCustomerTo($objFormParam->getValue('edit_customer_id'),264 $this->setCustomerTo($objFormParam->getValue('edit_customer_id'), 265 265 $objFormParam); 266 $customer_birth = $objFormParam->getValue('order_birth'); 266 267 // 加算ポイントの計算 267 268 if (USE_POINT === true && $this->tpl_mode == 'add') { … … 946 947 $objFormParam->setValue('order_' . $key, $val); 947 948 } 949 950 // 誕生日の処理 951 if (!SC_Utils_Ex::isBlank($objFormParam->getValue('order_birth'))) { 952 $order_birth = substr($objFormParam->getValue('order_birth'), 0, 10); 953 $arrOrderBirth = explode("-", $order_birth); 954 955 $objFormParam->setValue('order_birth_year', intval($arrOrderBirth[0])); 956 $objFormParam->setValue('order_birth_month', intval($arrOrderBirth[1])); 957 $objFormParam->setValue('order_birth_day', intval($arrOrderBirth[2])); 958 } 959 948 960 $objFormParam->setValue('customer_id', $customer_id); 949 961 $objFormParam->setValue('customer_point', $arrCustomer['point']); 950 951 return $arrCustomer['birth'];952 962 } 953 963
Note: See TracChangeset
for help on using the changeset viewer.