Changeset 21019
- Timestamp:
- 2011/07/06 17:38:38 (15 years ago)
- Location:
- branches/version-2_11-dev/data/class
- Files:
-
- 2 edited
-
helper/SC_Helper_Purchase.php (modified) (2 diffs)
-
pages/admin/order/LC_Page_Admin_Order_Edit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php
r21016 r21019 1119 1119 if ($addCustomerPoint != 0) { 1120 1120 // ▼会員テーブルの更新 1121 $ sqlval = array();1121 $customer_sqlval = array(); 1122 1122 $where = ''; 1123 1123 $arrVal = array(); … … 1125 1125 $arrRawSqlVal = array(); 1126 1126 1127 $ sqlval['update_date'] = 'Now()';1127 $customer_sqlval['update_date'] = 'Now()'; 1128 1128 $arrRawSql['point'] = 'point + ?'; 1129 1129 $arrRawSqlVal[] = $addCustomerPoint; 1130 1130 $where .= 'customer_id = ?'; 1131 1131 $arrVal[] = $arrOrderOld['customer_id']; 1132 1133 $objQuery->update('dtb_customer', $sqlval, $where, $arrVal, $arrRawSql, $arrRawSqlVal); 1132 $objQuery->update('dtb_customer', $customer_sqlval, $where, $arrVal, $arrRawSql, $arrRawSqlVal); 1134 1133 // ▲会員テーブルの更新 1135 1134 -
branches/version-2_11-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r21004 r21019 563 563 $class_name2 = SC_Utils_Ex::isBlank($class_name2) ? 'なし' : $class_name2; 564 564 $arrErr['quantity'][$i] .= $arrValues['product_name'][$i] 565 . '/(' . $class_name1 . ')/(' . $class_name2 . ') の在庫が不足しています。 設定できる数量は「' 565 . '/(' . $class_name1 . ')/(' . $class_name2 . ') の在庫が不足しています。 設定できる数量は「' 566 566 . ($arrOrderDetail['quantity'][$i] + $arrProduct['stock']) . '」までです。<br />'; 567 567 } … … 581 581 582 582 // 最終保持ポイント 583 $arrValues['total_point'] = $objFormParam->getValue('cust mer_point') - $arrValues['use_point'];583 $arrValues['total_point'] = $objFormParam->getValue('customer_point') - $arrValues['use_point']; 584 584 585 585 if ($arrValues['total'] < 0) {
Note: See TracChangeset
for help on using the changeset viewer.
