master
cody 2 years ago
parent 524a81b2ff
commit 1230f4ee02

@ -555,10 +555,10 @@ class StatisticsController extends CommonController
->whereIn('bed_id', $beds->pluck('id'))
->sum('total');
$item->order_total = $orderTotal;
$item->shouxufei = $orderTotal * 0.006;
$item->zengshishui = $orderTotal * 0.06;
$item->shijishouru = $orderTotal - $item->shouxufei - $item->zengshishui;
$item->guanlifei = $item->shijishouru * 0.06;
$item->shouxufei = round($orderTotal * 0.006, 2);
$item->zengshishui = round($orderTotal * 0.06, 2);
$item->shijishouru = round($orderTotal - $item->shouxufei - $item->zengshishui, 2);
$item->guanlifei = round($item->shijishouru * 0.06, 2);
}
// 导出

Loading…
Cancel
Save