Changeset 22500 for branches/version-2_12-multilang/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
- Timestamp:
- 2013/02/05 12:51:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r22496 r22500 81 81 $this->tpl_mainno = 'order'; 82 82 $this->tpl_maintitle = t('c_Orders_01'); 83 $this->tpl_subtitle = t(' LC_Page_Admin_Order_Edit_001');83 $this->tpl_subtitle = t('c_Order receipt registration_01'); 84 84 85 85 $masterData = new SC_DB_MasterData_Ex(); … … 167 167 $this->arrErr = $this->lfCheckError($objFormParam); 168 168 if (SC_Utils_Ex::isBlank($this->arrErr)) { 169 $message = t(' LC_Page_Admin_Order_Edit_003');169 $message = t('c_Order receipt has been edited._01'); 170 170 $order_id = $this->doRegister($order_id, $objPurchase, $objFormParam, $message, $arrValuesBefore); 171 171 if ($order_id >= 0) { … … 182 182 $this->arrErr = $this->lfCheckError($objFormParam); 183 183 if (SC_Utils_Ex::isBlank($this->arrErr)) { 184 $message = t(' LC_Page_Admin_Order_Edit_002');184 $message = t('c_Order receipt has been registered._01'); 185 185 $order_id = $this->doRegister(null, $objPurchase, $objFormParam, $message, $arrValuesBefore); 186 186 if ($order_id >= 0) { … … 596 596 && $arrProduct['stock'] < $arrValues['quantity'][$i] - $arrOrderDetail['quantity'][$i]) { 597 597 $class_name1 = $arrValues['classcategory_name1'][$i]; 598 $class_name1 = SC_Utils_Ex::isBlank($class_name1) ? t(' LC_Page_Admin_Order_Edit_004') : $class_name1;598 $class_name1 = SC_Utils_Ex::isBlank($class_name1) ? t('c_None_01') : $class_name1; 599 599 $class_name2 = $arrValues['classcategory_name2'][$i]; 600 $class_name2 = SC_Utils_Ex::isBlank($class_name2) ? t(' LC_Page_Admin_Order_Edit_004') : $class_name2;601 $arrErr['quantity'][$i] .= t(' LC_Page_Admin_Order_Edit_005', array('T_ARG1' => $arrValues['product_name'][$i], 'T_ARG2' => $class_name1,'T_ARG3' => $class_name2, 'T_ARG4' => ($arrOrderDetail['quantity'][$i] + $arrProduct['stock'])));600 $class_name2 = SC_Utils_Ex::isBlank($class_name2) ? t('c_None_01') : $class_name2; 601 $arrErr['quantity'][$i] .= t('c_There is an inventory shortage for T_ARG1/(T_ARG2)/(T_ARG3). Up to T_ARG4 can be set for the quantity.<br />_1', array('T_ARG1' => $arrValues['product_name'][$i], 'T_ARG2' => $class_name1,'T_ARG3' => $class_name2, 'T_ARG4' => ($arrOrderDetail['quantity'][$i] + $arrProduct['stock']))); 602 602 } 603 603 } … … 619 619 620 620 if ($arrValues['total'] < 0) { 621 $arrErr['total'] = t(' LC_Page_Admin_Order_Edit_006');621 $arrErr['total'] = t('c_Adjust so that the total amount is not a negative number.<br />_01'); 622 622 } 623 623 624 624 if ($arrValues['payment_total'] < 0) { 625 $arrErr['payment_total'] = t(' LC_Page_Admin_Order_Edit_007');625 $arrErr['payment_total'] = t('c_Adjust so that a negative number is not displayed for the payment total.<br />_01'); 626 626 } 627 627 628 628 if ($arrValues['total_point'] < 0) { 629 $arrErr['use_point'] = t(' LC_Page_Admin_Order_Edit_008');629 $arrErr['use_point'] = t('c_Adjust the final number of points registered so that it does not become a negative number.<br />_01'); 630 630 } 631 631
Note: See TracChangeset
for help on using the changeset viewer.