|
@@ -140,7 +140,7 @@ class TemplateController extends Controller {
|
140
|
140
|
$data['order_amount'] = $order->order_amount;
|
141
|
141
|
$data['cust_count'] = $order->cust_count;
|
142
|
142
|
//加粉
|
143
|
|
- $data['fan_count'] = CustDetail::where('is_del',0)->where('dtime','>=',$_start)->sum('fan_add');
|
|
143
|
+ //$data['fan_count'] = CustDetail::where('is_del',0)->where('dtime','>=',$_start)->sum('fan_add');
|
144
|
144
|
//毛利 = 总销售额-总商品成本-总运费-总售后
|
145
|
145
|
$data['profit'] = $order->order_amount - $order->goods_cost - $order->freight_cost - $order->aftersale_cost - $data['throw_cost'] + $order->refund_fee;
|
146
|
146
|
|