Changeset 17703 for branches/version-1


Ignore:
Timestamp:
2008/11/10 20:57:44 (15 years ago)
Author:
takegami
Message:

#395 対応

Location:
branches/version-1/html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-1/html/mobile/shopping/payment.php

    r17690 r17703  
    8484    // ÆþÎÏÃͤÎÊÑ´¹ 
    8585    $objFormParam->convParam(); 
    86     $objPage->arrErr = lfCheckError($objPage->arrData); 
     86    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    8787    if (!isset($objPage->arrErr['payment_id'])) { 
    8888        // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· 
     
    100100    // ÆþÎÏÃͤÎÊÑ´¹ 
    101101    $objFormParam->convParam(); 
    102     $objPage->arrErr = lfCheckError($objPage->arrData ); 
     102    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    103103    // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 
    104104    if(count($objPage->arrErr) == 0) { 
     
    200200 
    201201/* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 
    202 function lfCheckError($arrData) { 
     202function lfCheckError($arrData, $arrInfo, $objCartSess ) { 
    203203    global $objFormParam; 
    204204    global $objCustomer; 
     
    223223    } 
    224224     
    225    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    226     $objView = new SC_SiteView(); 
    227     $objSiteInfo = $objView->objSiteInfo; 
    228     $arrInfo = $objSiteInfo->data; 
    229     $objCartSess = new SC_CartSession(); 
    230     $arrInfo = $objSiteInfo->data; 
     225    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    231226    // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
    232227    $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
  • branches/version-1/html/shopping/payment.php

    r17687 r17703  
    6767    // ÆþÎÏÃͤÎÊÑ´¹ 
    6868    $objFormParam->convParam(); 
    69     $objPage->arrErr = lfCheckError($objPage->arrData ); 
     69    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    7070    // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 
    7171    if(count($objPage->arrErr) == 0) { 
     
    163163 
    164164/* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 
    165 function lfCheckError($arrData) { 
     165function lfCheckError($arrData, $arrInfo, $objCartSess ) { 
    166166    global $objFormParam; 
    167167    global $objCustomer; 
     
    187187     
    188188    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    189     $objView = new SC_SiteView(); 
    190     $objSiteInfo = $objView->objSiteInfo; 
    191     $arrInfo = $objSiteInfo->data; 
    192     $objCartSess = new SC_CartSession(); 
    193     $arrInfo = $objSiteInfo->data; 
    194     // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
     189    // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
    195190    $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
    196191    // »Ùʧ¤¤ÊýË¡¤Î¼èÆÀ 
Note: See TracChangeset for help on using the changeset viewer.