Changeset 17703 for branches/version-1
- Timestamp:
- 2008/11/10 20:57:44 (15 years ago)
- Location:
- branches/version-1/html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-1/html/mobile/shopping/payment.php
r17690 r17703 84 84 // ÆþÎÏÃͤÎÊÑ´¹ 85 85 $objFormParam->convParam(); 86 $objPage->arrErr = lfCheckError($objPage->arrData );86 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 87 87 if (!isset($objPage->arrErr['payment_id'])) { 88 88 // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· … … 100 100 // ÆþÎÏÃͤÎÊÑ´¹ 101 101 $objFormParam->convParam(); 102 $objPage->arrErr = lfCheckError($objPage->arrData );102 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 103 103 // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 104 104 if(count($objPage->arrErr) == 0) { … … 200 200 201 201 /* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 202 function lfCheckError($arrData ) {202 function lfCheckError($arrData, $arrInfo, $objCartSess ) { 203 203 global $objFormParam; 204 204 global $objCustomer; … … 223 223 } 224 224 225 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 226 $objView = new SC_SiteView(); 227 $objSiteInfo = $objView->objSiteInfo; 228 $arrInfo = $objSiteInfo->data; 229 $objCartSess = new SC_CartSession(); 230 $arrInfo = $objSiteInfo->data; 225 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 231 226 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 232 227 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); -
branches/version-1/html/shopping/payment.php
r17687 r17703 67 67 // ÆþÎÏÃͤÎÊÑ´¹ 68 68 $objFormParam->convParam(); 69 $objPage->arrErr = lfCheckError($objPage->arrData );69 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 70 70 // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 71 71 if(count($objPage->arrErr) == 0) { … … 163 163 164 164 /* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 165 function lfCheckError($arrData ) {165 function lfCheckError($arrData, $arrInfo, $objCartSess ) { 166 166 global $objFormParam; 167 167 global $objCustomer; … … 187 187 188 188 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 189 $objView = new SC_SiteView(); 190 $objSiteInfo = $objView->objSiteInfo; 191 $arrInfo = $objSiteInfo->data; 192 $objCartSess = new SC_CartSession(); 193 $arrInfo = $objSiteInfo->data; 194 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 189 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 195 190 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 196 191 // »Ùʧ¤¤ÊýË¡¤Î¼èÆÀ
Note: See TracChangeset
for help on using the changeset viewer.