$this->
View()->
assign('success', true
);
} /**
* @return void
*/
public function loadAmountPerStreamChartAction() { $chart =
$this->container->
get(CustomerStreamRepositoryInterface::
class) ->
fetchAmountPerStreamChart();
$this->
View()->
assign('data',
array_values($chart));
} protected function initAcl() { $this->
addAclPermission('read', 'list', 'You do not have sufficient rights to delete a customer.'
);
$this->
addAclPermission('read', 'detail', 'You do not have sufficient rights to delete a customer.'
);
$this->
addAclPermission('delete', 'delete', 'You do not have sufficient rights to delete a customer.'
);
$this->
addAclPermission('update', 'save', 'You do not have sufficient rights to update a customer.'
);
$this->
addAclPermission('create', 'save', 'You do not have sufficient rights to create a customer.'
);