|
|
@ -23,7 +23,6 @@ class FinanceStatisticsController extends AdminController |
|
|
{ |
|
|
{ |
|
|
Admin::style( |
|
|
Admin::style( |
|
|
<<<CSS |
|
|
<<<CSS |
|
|
.app-content > .content-wrapper > .content-header{display: none} |
|
|
|
|
|
#date_time .block > div{display:inline-block;}
|
|
|
#date_time .block > div{display:inline-block;}
|
|
|
.col-sm-12.d-flex{ |
|
|
.col-sm-12.d-flex{ |
|
|
display: inline-block !important; |
|
|
display: inline-block !important; |
|
|
@ -59,22 +58,8 @@ class FinanceStatisticsController extends AdminController |
|
|
$costPrice = $costPrice->sum('price'); |
|
|
$costPrice = $costPrice->sum('price'); |
|
|
$profit = bcsub(bcadd($price,$onlinePrice,6),$costPrice,2); |
|
|
$profit = bcsub(bcadd($price,$onlinePrice,6),$costPrice,2); |
|
|
$count = $count->count(); |
|
|
$count = $count->count(); |
|
|
return $content |
|
|
|
|
|
->body( |
|
|
|
|
|
<<<HTML |
|
|
|
|
|
<div class="content-header"> |
|
|
|
|
|
<section class="content-header breadcrumbs-top"> |
|
|
|
|
|
<h1 class=" float-left"> |
|
|
|
|
|
<span class="text-capitalize">财务统计</span> |
|
|
|
|
|
|
|
|
|
|
|
</h1> |
|
|
|
|
|
<div class="clearfix"></div> |
|
|
|
|
|
|
|
|
|
|
|
</section> |
|
|
|
|
|
</div> |
|
|
|
|
|
HTML |
|
|
|
|
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
return $content->title('财务统计') |
|
|
->body(function (Row $row){ |
|
|
->body(function (Row $row){ |
|
|
$row->column(12,function (Column $column){ |
|
|
$row->column(12,function (Column $column){ |
|
|
$column->row(new \App\AdminAgent\Tools\DataReportDate('data_report')); |
|
|
$column->row(new \App\AdminAgent\Tools\DataReportDate('data_report')); |
|
|
|