Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getDailyTurnover example
$this
->
View
(
)
->
assign
(
[
'data' =>
$data
,
'success' => true,
]
)
;
}
/** * @return void */
public
function
getOverviewAction
(
)
{
$turnover
=
$this
->
getRepository
(
)
->
getDailyTurnover
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
)
;
$visitors
=
$this
->
getRepository
(
)
->
getDailyVisitors
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
)
;
$registrations
=
$this
->
getRepository
(
)
->
getDailyRegistrations
(
$this
->
getFromDate
(
)
,