|
@@ -29,7 +29,7 @@ class Console
|
|
$data[] = array
|
|
$data[] = array
|
|
(
|
|
(
|
|
'name' => '当日销售额',
|
|
'name' => '当日销售额',
|
|
- 'num' => $today_sell_cash['total'] ? $today_sell_cash['total'] : 0,
|
|
|
|
|
|
+ 'num' => $today_sell_cash['total'] ? round($today_sell_cash['total'], 2) : 0,
|
|
'href' => '#',
|
|
'href' => '#',
|
|
);
|
|
);
|
|
|
|
|
|
@@ -43,7 +43,7 @@ class Console
|
|
$data[] = array
|
|
$data[] = array
|
|
(
|
|
(
|
|
'name' => '采购额',
|
|
'name' => '采购额',
|
|
- 'num' => $today_buy_cash['total'] ? $today_buy_cash['total'] : 0,
|
|
|
|
|
|
+ 'num' => $today_buy_cash['total'] ? round($today_buy_cash['total'], 2) : 0,
|
|
'href' => '#',
|
|
'href' => '#',
|
|
);
|
|
);
|
|
|
|
|