チェンジセット 17690
- コミット日時:
- 2008/11/06 16:07:37 (2 ヶ月前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
branches/version-1/html/mobile/nonmember/payment.php
r15120 r17690 215 215 } 216 216 } 217 218 //������ˡ����� 219 $objView = new SC_SiteView(); 220 $objSiteInfo = $objView->objSiteInfo; 221 $arrInfo = $objSiteInfo->data; 222 $objCartSess = new SC_CartSession(); 223 $arrInfo = $objSiteInfo->data; 224 // ������μ�� 225 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 226 // ������ˡ�μ� 227 $arrPayment = lfGetPayment($total_pretax); 228 $pay_flag = true; 229 foreach ($arrPayment as $key => $payment) { 230 if ($payment['payment_id'] == $arrRet['payment_id']) { 231 $pay_flag = false; 232 break; 233 } 234 } 235 if ($pay_flag) { 236 sfDispSiteError(CUSTOMER_ERROR); 237 } 238 217 239 return $objErr->arrErr; 218 240 } branches/version-1/html/mobile/products/payment.php
r14676 r17690 213 213 } 214 214 } 215 216 //������ˡ����� 217 $objView = new SC_SiteView(); 218 $objSiteInfo = $objView->objSiteInfo; 219 $arrInfo = $objSiteInfo->data; 220 $objCartSess = new SC_CartSession(); 221 $arrInfo = $objSiteInfo->data; 222 // ������μ�� 223 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 224 // ������ˡ�μ� 225 $arrPayment = lfGetPayment($total_pretax); 226 $pay_flag = true; 227 foreach ($arrPayment as $key => $payment) { 228 if ($payment['payment_id'] == $arrRet['payment_id']) { 229 $pay_flag = false; 230 break; 231 } 232 } 233 if ($pay_flag) { 234 sfDispSiteError(CUSTOMER_ERROR); 235 } 236 215 237 return $objErr->arrErr; 216 238 } branches/version-1/html/mobile/shopping/deliv.php
r14676 r17690 127 127 // ������������å������������Ϲ�������� 128 128 if ($_POST['deli'] != "") { 129 if (sfIsInt($_POST['other_deliv_id'])) { 130 // �Ͽ�Ѥߤ�̤Τ�����������ơ��֥����� lfRegistOtherDelivData($uniqid, $objCustomer, $_POST['other_deliv_id']); 129 $objQuery = new SC_Query(); 130 if (sfIsInt($_POST['other_deliv_id'])) { 131 $deliv_count = $objQuery->count("dtb_other_deliv","customer_id=? and other_deliv_id = ?" ,array($objCustomer->getValue('customer_id'), $_POST['other_deliv_id'])); 132 if ($deliv_count != 1) { 133 sfDispSiteError(CUSTOMER_ERROR); 134 } 135 // �Ͽ�Ѥߤ�̤Τ�����������ơ��֥����� lfRegistOtherDelivData($uniqid, $objCustomer, $_POST['other_deliv_id']); 131 136 // ����Ͽ���줿���Ȥ�����Ƥ��� 132 137 $objSiteSess->setRegistFlag(); branches/version-1/html/mobile/shopping/payment.php
r14676 r17690 214 214 } 215 215 } 216 217 //������ˡ����� 218 $objView = new SC_SiteView(); 219 $objSiteInfo = $objView->objSiteInfo; 220 $arrInfo = $objSiteInfo->data; 221 $objCartSess = new SC_CartSession(); 222 $arrInfo = $objSiteInfo->data; 223 // ������μ�� 224 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 225 // ������ˡ�μ� 226 $arrPayment = lfGetPayment($total_pretax); 227 $pay_flag = true; 228 foreach ($arrPayment as $key => $payment) { 229 if ($payment['payment_id'] == $arrRet['payment_id']) { 230 $pay_flag = false; 231 break; 232 } 233 } 234 if ($pay_flag) { 235 sfDispSiteError(CUSTOMER_ERROR); 236 } 237 216 238 return $objErr->arrErr; 217 239 }
