Changeset 23564 for branches


Ignore:
Timestamp:
2014/07/02 22:59:43 (10 years ago)
Author:
snitta
Message:

#2486 受注管理で受注商品規格を変更した際に数量が増加する不具合を修正

変更前と変更後の商品規格が同じだった場合に、同商品規格の数量を 1 増加させる挙動を削除しました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r23546 r23564  
    10631063        $arrShipmentProducts = $this->getShipmentProducts($objFormParam); 
    10641064 
    1065         //既にあるデータは1つだけ数量を1増やす 
    10661065        $pre_shipment_product_class_id = $arrShipmentProducts['shipment_product_class_id'][$select_shipping_id][$change_no]; 
    10671066        if ($pre_shipment_product_class_id == $edit_product_class_id) { 
    1068             $arrShipmentProducts['shipment_quantity'][$select_shipping_id][$change_no] ++; 
     1067            // 商品規格に変更がない場合は何もしない 
    10691068        } elseif (in_array($edit_product_class_id, $arrShipmentProducts['shipment_product_class_id'][$select_shipping_id])) { 
    1070             //配送先データ削除 
     1069            // 商品規格の変更によって商品の重複が発生する場合は一つにまとめる 
    10711070            $arrShipmentProducts = $this->deleteShipment($objFormParam, $this->arrShipmentItemKeys, $select_shipping_id, $change_no); 
    10721071            foreach ($arrShipmentProducts['shipment_product_class_id'][$select_shipping_id] as $relation_index => $shipment_product_class_id) { 
Note: See TracChangeset for help on using the changeset viewer.