|
|
|
@ -289,7 +289,11 @@ class OrderOnlineService implements OrderOnlineServiceInterface |
|
|
|
|
|
|
|
$orderAmount = bcadd((string)$orderAmount, '0', 2); |
|
|
|
$totalAmount = bcadd((string)$totalAmount, (string)$orderAmount); |
|
|
|
|
|
|
|
if ($shippingType != Shipping::TYPE_SELF_TAKE) { |
|
|
|
$totalAmount = bcadd((string)$totalAmount, (string)$deliveryAmount); |
|
|
|
} |
|
|
|
|
|
|
|
$totalAmount = bcadd((string)$totalAmount, (string)$serviceMoney); |
|
|
|
$totalAmount = bcsub((string)$totalAmount, (string)$couponMoney, 2); |
|
|
|
|
|
|
|
|