|
@@ -1540,7 +1540,7 @@ class User Extends Model
|
|
|
if ($user_overtime_pay>0){
|
|
|
$price = $user_overtime_pay;
|
|
|
}else{
|
|
|
- $price = $order['price'] * 0.1;
|
|
|
+ $price = $order['price'] * 0.1; //订单金额10%的加班费
|
|
|
}
|
|
|
|
|
|
$overtime_pay = sprintf("%.2f", ($price/60) * $poor_minutes); //四舍五入保留两位小数
|