|
|
@@ -101,6 +101,7 @@ class InitController extends Controller
|
|
|
$total = bcadd($total, $labourCost, 2);
|
|
|
$final = bcsub($total, $discountAmount, 2);
|
|
|
$final = floatval($final);
|
|
|
+ $shopAdminName = $order['shopAdminName'] ?? '';
|
|
|
$actPrice = $order['actPrice'] ?? 0;
|
|
|
$orderSn = $order['orderSn'] ?? '';
|
|
|
if ($final != $orderPrice) {
|
|
|
@@ -119,7 +120,7 @@ class InitController extends Controller
|
|
|
}
|
|
|
}
|
|
|
echo "===\n";
|
|
|
- echo "商品总和:{$goodsPrice} \n运费:{$sendCost} \n人工包装费:{$labourCost} \n合计:{$total} \n优惠:{$discountAmount} \n订单金额:{$orderPrice} \n实付金额:{$actPrice}\n\n\n\n\n";
|
|
|
+ echo "商品总和:{$goodsPrice} \n运费:{$sendCost} \n人工包装费:{$labourCost} \n合计:{$total} \n优惠:{$discountAmount} \n订单金额:{$orderPrice} \n实付金额:{$actPrice} \n开单人:{$shopAdminName}\n\n\n\n\n";
|
|
|
}
|
|
|
}
|
|
|
}
|