Changeset 22503 for branches/version-2_12-multilang/data/class/pages/shopping/LC_Page_Shopping_Payment.php
- Timestamp:
- 2013/02/05 18:21:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r22492 r22503 53 53 parent::init(); 54 54 $this->tpl_onload = 'fnCheckInputPoint();'; 55 $this->tpl_title = t(' LC_Page_Shopping_Payment_001');55 $this->tpl_title = t('c_Payment method and delivery time_01'); 56 56 $masterData = new SC_DB_MasterData_Ex(); 57 57 $this->arrPref = $masterData->getMasterData('mtb_pref'); … … 321 321 // FIXME mobile 互換のため br は閉じない... 322 322 if ($arrForm['use_point'] > $max_point) { 323 $objErr->arrErr['use_point'] = t(' LC_Page_Shopping_Payment_002');323 $objErr->arrErr['use_point'] = t('c_* The number of points you want to use exceeds the number of points you have.<br />_01'); 324 324 } 325 325 if (($arrForm['use_point'] * POINT_VALUE) > $subtotal) { 326 $objErr->arrErr['use_point'] = t(' LC_Page_Shopping_Payment_003');326 $objErr->arrErr['use_point'] = t('c_* The number of points you want to use exceeds the amount of your purchase.<br />_01'); 327 327 } 328 328 // ポイント差し引き後の決済方法チェック 329 329 $arrPayments = $objPurchase->getPaymentsByPaymentsId($arrForm['payment_id']); 330 330 if ($arrPayments['rule_max'] > $subtotal - $arrForm['use_point'] * POINT_VALUE) { 331 $objErr->arrErr['use_point'] = t(' LC_Page_Shopping_Payment_004', array('T_ARG1' => $subtotal, 'T_ARG2' => $arrPayments['rule_max']));331 $objErr->arrErr['use_point'] = t('c_* Based on the selected payment method, it is possible to use (T_ARG1 - T_ARG2) points.<br />_01', array('T_ARG1' => $subtotal, 'T_ARG2' => $arrPayments['rule_max'])); 332 332 } 333 333 }
Note: See TracChangeset
for help on using the changeset viewer.