profit
This commit is contained in:
@@ -1542,6 +1542,7 @@ func OrderProfitWarning(order *model.GoodsOrder) {
|
|||||||
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney*int64(payPercentage)/200)) / 100
|
profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney*int64(payPercentage)/200)) / 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
globals.SugarLogger.Debugf("OrderProfitWarning profit : %v", profit)
|
||||||
if profit < 0 {
|
if profit < 0 {
|
||||||
operatorPhone, operatorName := getOrderOperatorInfo(order, storeDetail)
|
operatorPhone, operatorName := getOrderOperatorInfo(order, storeDetail)
|
||||||
operatorRole := getOrderOperatorRoleInfo(order, storeDetail)
|
operatorRole := getOrderOperatorRoleInfo(order, storeDetail)
|
||||||
|
|||||||
Reference in New Issue
Block a user