dream 7 tháng trước cách đây
mục cha
commit
4877e7e1f6

+ 1 - 1
Modules/Seller/Controller/OrderController.class.php

@@ -685,7 +685,7 @@ class OrderController extends CommonController{
 		$this->use_score = $use_score;
 		
 		$total_quantity = D('Seller/Commonorder')->get_order_goods_quantity($id,$order_goods_id);
-		var_dump($total_quantity);
+	
 		$this->total_quantity = $total_quantity;
 		
 		$has_refund_quantity = D('Seller/Commonorder')->refund_order_goods_quantity($id,$order_goods_id);

+ 1 - 1
Modules/Seller/Model/CommonorderModel.class.php

@@ -31,7 +31,7 @@ class CommonorderModel{
 		$total_quantity = M('lionfish_comshop_order_goods')->where( "order_id ={$order_id} {$where}" )->sum('quantity');
 		
 		$total_quantity = empty($total_quantity) ? 0 : $total_quantity;
-		
+		var_dump($total_quantity);
 		$refund_quantity = $this->refund_order_goods_quantity( $order_id,$order_goods_id,$uniacid);
 		 
 		 $surplus_quantity = $total_quantity - $refund_quantity;