- Timestamp:
- 2009/07/08 16:39:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r18176 r18177 88 88 /* ペイジェント決済モジュール連携用 */ 89 89 if(function_exists("sfPaygentOrderPage")) { 90 $this->arr FormKind = sfPaygentOrderPage();90 $this->arrDispKind = sfPaygentOrderPage(); 91 91 } 92 92 … … 372 372 // 受注商品情報 373 373 $this->objFormParam->addParam("値引き", "discount", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"), '0'); 374 $this->objFormParam->addParam("送料", "deliv_fee", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK") );374 $this->objFormParam->addParam("送料", "deliv_fee", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"), '0'); 375 375 $this->objFormParam->addParam("手数料", "charge", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 376 376 … … 409 409 $this->objFormParam->addParam("顧客ID", "customer_id"); 410 410 $this->objFormParam->addParam("現在のポイント", "point"); 411 $this->objFormParam->addParam(" 受注番号", "order_id");411 $this->objFormParam->addParam("注文番号", "order_id"); 412 412 $this->objFormParam->addParam("受注日", "create_date"); 413 413 $this->objFormParam->addParam("発送日", "commit_date"); … … 441 441 $this->arrForm["payment_type"] = "お支払い"; 442 442 } 443 //受注データを表示用配列に代入(各EC-CUBEバージョンと決済モジュールとのデータ連携保全のため) 444 $this->arrDisp = $this->arrForm; 443 445 } 444 446 } … … 566 568 if ($sqlval['status'] == ODERSTATUS_COMMIT) { 567 569 // 受注テーブルの発送済み日を更新する 568 $sql .= " ,commit_date = 'NOW()'";570 $sql .= " ,commit_date = NOW()"; 569 571 } 570 572 $sql .= " WHERE order_id = ?"; … … 697 699 $arrProduct = $this->lfGetProductsClass($product_id, $classcategory_id1, $classcategory_id2); 698 700 $this->arrForm = $this->objFormParam->getFormParamList(); 699 $this->lfSetProductData($arrProduct); 701 $existes = false; 702 $existes_key = NULL; 703 // 既に同じ商品がないか、確認する 704 if (!empty($this->arrForm['product_id']['value'])) { 705 foreach ($this->arrForm['product_id']['value'] AS $key=>$val) { 706 if ($val == $product_id && $this->arrForm['product_id']['classcategory_id1'][$key] == $classcategory_id1 && $this->arrForm['product_id']['classcategory_id2'][$key] == $classcategory_id2) { 707 // 既に同じ商品がある 708 $existes = true; 709 $existes_key = $key; 710 } 711 } 712 } 713 714 if ($existes) { 715 // 既に同じ商品がある場合 716 ++$this->arrForm['quantity']['value'][$existes_key]; 717 } else { 718 // 既に同じ商品がない場合 719 $this->lfSetProductData($arrProduct); 720 } 700 721 } 701 722
Note: See TracChangeset
for help on using the changeset viewer.