SalesAgentSales
in package

This is the SalesAgentSales class, a macro class for the userViewHelper.

The purpose of this class is to encapsulate the logic to show sales from a sales agent.

Tags
see
Orders::getViewParameters()

Table of Contents

CLIENT  = 'client'
COMMISSION  = 'commission'
DATE  = 'date'
PAID  = 'paid'
PID  = 'pId'
SALES_AGENT_PARAMETERS  = [self::PID, self::CLIENT, self::DATE, self::STATUS, self::TOTAL, self::COMMISSION, self::PAID, self::VIEW_ORDER]
STATUS  = 'status'
TOTAL  = 'total'
VIEW_ORDER  = 'viewOrder'
$parameters  : array<string|int, mixed>
$salesAgentSales  : ElementCollection|null
__construct() Constructor method for SalesAgentCustomers.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for UserViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Constants

SALES_AGENT_PARAMETERS

public mixed SALES_AGENT_PARAMETERS = [self::PID, self::CLIENT, self::DATE, self::STATUS, self::TOTAL, self::COMMISSION, self::PAID, self::VIEW_ORDER]

Properties

$salesAgentSales

public ElementCollection|null $salesAgentSales = null

Methods

__construct()

Constructor method for SalesAgentCustomers.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
SalesAgentCustomers
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for UserViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results