Changeset 22215 for branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
- Timestamp:
- 2013/01/08 21:31:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r22206 r22215 98 98 $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', 'name'); 99 99 100 $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData();101 102 100 $this->httpCacheControl('nocache'); 103 101 } … … 263 261 $this->arrDelivTime = $objPurchase->getDelivTime($objFormParam->getValue('deliv_id')); 264 262 $this->tpl_onload .= $this->getAnchorKey($objFormParam); 263 $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 265 264 if ($arrValuesBefore['payment_id']) 266 265 $this->arrPayment[$arrValuesBefore['payment_id']] = $arrValuesBefore['payment_method']; … … 331 330 $objFormParam->addParam('規格名1', 'classcategory_name1'); 332 331 $objFormParam->addParam('規格名2', 'classcategory_name2'); 333 $objFormParam->addParam('税率', 'tax_rate');334 $objFormParam->addParam('課税規則', 'tax_rule');335 332 $objFormParam->addParam('メモ', 'note', MTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 336 333 $objFormParam->addParam('削除用項番', 'delete_no', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); … … 354 351 $objFormParam->addParam('入金日', 'payment_date'); 355 352 $objFormParam->addParam('端末種別', 'device_type_id'); 356 $objFormParam->addParam('税率', 'order_tax_rate');357 $objFormParam->addParam('課税規則', 'order_tax_rule');358 353 359 354 // 複数情報 … … 582 577 for ($i = 0; $i < $max; $i++) { 583 578 // 小計の計算 584 $subtotal += SC_Helper_DB_Ex::sfCalcIncTax($arrValues['price'][$i] , $arrValues['tax_rate'][$i], $arrValues['tax_rule'][$i]) * $arrValues['quantity'][$i];579 $subtotal += SC_Helper_DB_Ex::sfCalcIncTax($arrValues['price'][$i]) * $arrValues['quantity'][$i]; 585 580 // 小計の計算 586 $totaltax += SC_ Utils_Ex::sfTax($arrValues['price'][$i], $arrValues['tax_rate'][$i], $arrValues['tax_rule'][$i]) * $arrValues['quantity'][$i];581 $totaltax += SC_Helper_DB_Ex::sfTax($arrValues['price'][$i]) * $arrValues['quantity'][$i]; 587 582 // 加算ポイントの計算 588 583 $totalpoint += SC_Utils_Ex::sfPrePoint($arrValues['price'][$i], $arrValues['point_rate'][$i]) * $arrValues['quantity'][$i]; … … 677 672 'classcategory_name1', 678 673 'classcategory_name2', 679 'tax_rate',680 'tax_rule'681 674 )); 682 675 … … 815 808 $arrProduct['quantity'] = 1; 816 809 $arrProduct['price'] = $arrProduct['price02']; 817 $arrProduct['tax_rate'] = $objFormParam->getValue('order_tax_rate') == '' ? $this->arrInfo['tax'] : $objFormParam->getValue('order_tax_rate');818 $arrProduct['tax_rule'] = $objFormParam->getValue('order_tax_rule') == '' ? $this->arrInfo['tax_rule'] : $objFormParam->getValue('order_tax_rule');819 810 $arrProduct['product_name'] = $arrProduct['name']; 820 811 … … 822 813 'product_id', 'product_class_id', 'product_type_id', 'point_rate', 823 814 'product_code', 'product_name', 'classcategory_name1', 'classcategory_name2', 824 'quantity', 'price', 'tax_rate', 'tax_rule'815 'quantity', 'price', 825 816 ); 826 817 foreach ($arrUpdateKeys as $key) { … … 859 850 'product_id', 'product_class_id', 'product_type_id', 'point_rate', 860 851 'product_code', 'product_name', 'classcategory_name1', 'classcategory_name2', 861 'quantity', 'price', 'tax_rate', 'tax_rule'852 'quantity', 'price', 862 853 ); 863 854 foreach ($arrDeleteKeys as $key) {
Note: See TracChangeset
for help on using the changeset viewer.