SalesModalHTML
in package
Description of SalesModalHTML
Tags
Table of Contents
- $codalmacen : string
- $codcliente : string
- $codfabricante : string
- $codfamilia : string
- $idatributovalores : array<string|int, mixed>
- $orden : string
- $query : string
- $vendido : bool
- apply() : mixed
- render() : string
- renderProductList() : string
- fabricantes() : string
- familias() : string
- getProducts() : array<string|int, mixed>
- idatributovalor() : string
- modalClientes() : string
- modalProductos() : string
- orden() : string
- setProductsLastPrice() : void
- subfamilias() : string
Properties
$codalmacen
protected
static string
$codalmacen
$codcliente
protected
static string
$codcliente
$codfabricante
protected
static string
$codfabricante
$codfamilia
protected
static string
$codfamilia
$idatributovalores
protected
static array<string|int, mixed>
$idatributovalores
= []
$orden
protected
static string
$orden
$query
protected
static string
$query
$vendido
protected
static bool
$vendido
Methods
apply()
public
static apply(SalesDocument &$model, array<string|int, mixed> $formData) : mixed
Parameters
- $model : SalesDocument
- $formData : array<string|int, mixed>
Return values
mixed —render()
public
static render(SalesDocument $model, string $url, User $user, ControllerPermissions $permissions) : string
Parameters
- $model : SalesDocument
- $url : string
- $user : User
- $permissions : ControllerPermissions
Return values
string —renderProductList()
public
static renderProductList() : string
Return values
string —fabricantes()
protected
static fabricantes(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —familias()
protected
static familias(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —getProducts()
protected
static getProducts() : array<string|int, mixed>
Return values
array<string|int, mixed> —idatributovalor()
protected
static idatributovalor(int|null $id) : string
Parameters
- $id : int|null
Return values
string —modalClientes()
protected
static modalClientes(Translator $i18n, string $url, User $user, ControllerPermissions $permissions) : string
Parameters
- $i18n : Translator
- $url : string
- $user : User
- $permissions : ControllerPermissions
Return values
string —modalProductos()
protected
static modalProductos(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —orden()
protected
static orden(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —setProductsLastPrice()
protected
static setProductsLastPrice(DataBase $db, array<string|int, mixed> &$items) : void
Parameters
- $db : DataBase
- $items : array<string|int, mixed>
Return values
void —subfamilias()
private
static subfamilias(Familia $family, Translator $i18n[, int $level = 1 ]) : string
Parameters
- $family : Familia
- $i18n : Translator
- $level : int = 1