Changeset 17705


Ignore:
Timestamp:
2008/11/11 09:12:24 (14 years ago)
Author:
takegami
Message:

#395 追加対応

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

Legend:

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

    r17690 r17705  
    8181    // ÆþÎÏÃͤÎÊÑ´¹ 
    8282    $objFormParam->convParam(); 
    83     $objPage->arrErr = lfCheckError($objPage->arrData); 
     83    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    8484    if (!isset($objPage->arrErr['payment_id'])) { 
    8585        // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· 
     
    9797    // ÆþÎÏÃͤÎÊÑ´¹ 
    9898    $objFormParam->convParam(); 
    99     $objPage->arrErr = lfCheckError($objPage->arrData ); 
     99    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    100100    // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 
    101101    if(count($objPage->arrErr) == 0) { 
     
    198198 
    199199/* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 
    200 function lfCheckError($arrData) { 
     200function lfCheckError($arrData, $arrInfo, $objCartSess ) { 
    201201    global $objFormParam; 
    202202    global $objCustomer; 
     
    221221    } 
    222222     
    223    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    224     $objView = new SC_SiteView(); 
    225     $objSiteInfo = $objView->objSiteInfo; 
    226     $arrInfo = $objSiteInfo->data; 
    227     $objCartSess = new SC_CartSession(); 
    228     $arrInfo = $objSiteInfo->data; 
     223    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    229224    // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
    230225    $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
  • branches/version-1/html/mobile/products/payment.php

    r17690 r17705  
    7979    // ÆþÎÏÃͤÎÊÑ´¹ 
    8080    $objFormParam->convParam(); 
    81     $objPage->arrErr = lfCheckError($objPage->arrData); 
     81    $objPage->arrErr = lfCheckError($objPage->arrDatalfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    8282    if (!isset($objPage->arrErr['payment_id'])) { 
    8383        // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· 
     
    9595    // ÆþÎÏÃͤÎÊÑ´¹ 
    9696    $objFormParam->convParam(); 
    97     $objPage->arrErr = lfCheckError($objPage->arrData ); 
     97    $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 
    9898    // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 
    9999    if(count($objPage->arrErr) == 0) { 
     
    196196 
    197197/* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 
    198 function lfCheckError($arrData) { 
     198function lfCheckError($arrData, $arrInfo, $objCartSess ) { 
    199199    global $objFormParam; 
    200200    global $objCustomer; 
     
    220220     
    221221    //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
    222     $objView = new SC_SiteView(); 
    223     $objSiteInfo = $objView->objSiteInfo; 
    224     $arrInfo = $objSiteInfo->data; 
    225     $objCartSess = new SC_CartSession(); 
    226     $arrInfo = $objSiteInfo->data; 
    227222    // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
    228223    $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
Note: See TracChangeset for help on using the changeset viewer.