Changeset 21069


Ignore:
Timestamp:
2011/07/28 17:23:46 (9 years ago)
Author:
habu
Message:

#1418 新規受注登録画面で、会員の現在ポイントが取得できていない

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r21068 r21069  
    138138            $arrValuesBefore['payment_id'] = NULL; 
    139139            $arrValuesBefore['payment_method'] = NULL; 
     140 
     141            // 新規受注登録で入力エラーがあった場合の画面表示用に、会員の現在ポイントを取得 
     142            if (!SC_Utils_Ex::isBlank($objFormParam->getValue('customer_id'))) { 
     143                $customer_id = $objFormParam->getValue('customer_id'); 
     144                $arrCustomer = SC_Helper_Customer_Ex::sfGetCustomerDataFromId($customer_id); 
     145                $objFormParam->setValue('customer_point', $arrCustomer['point']); 
     146            } 
    140147        } 
    141148 
Note: See TracChangeset for help on using the changeset viewer.