PurchasesModalHTML
in package
Description of PurchasesModalHTML
Tags
Table of Contents
- $codalmacen : string
- $coddivisa : string
- $codfabricante : string
- $codfamilia : string
- $codproveedor : string
- $comprado : bool
- $idatributovalores : array<string|int, mixed>
- $orden : string
- $query : string
- apply() : void
- render() : string
- renderProductList() : string
- fabricantes() : string
- familias() : string
- getProducts() : array<string|int, mixed>
- idatributovalor() : string
- modalProductos() : string
- modalProveedores() : string
- orden() : string
- subfamilias() : string
Properties
$codalmacen
protected
static string
$codalmacen
$coddivisa
protected
static string
$coddivisa
$codfabricante
protected
static string
$codfabricante
$codfamilia
protected
static string
$codfamilia
$codproveedor
protected
static string
$codproveedor
$comprado
protected
static bool
$comprado
$idatributovalores
protected
static array<string|int, mixed>
$idatributovalores
= []
$orden
protected
static string
$orden
$query
protected
static string
$query
Methods
apply()
public
static apply(PurchaseDocument &$model, array<string|int, mixed> $formData) : void
Parameters
- $model : PurchaseDocument
- $formData : array<string|int, mixed>
Return values
void —render()
public
static render(PurchaseDocument $model[, string $url = '' ]) : string
Parameters
- $model : PurchaseDocument
- $url : string = ''
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 —modalProductos()
protected
static modalProductos(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —modalProveedores()
protected
static modalProveedores(Translator $i18n, string $url) : string
Parameters
- $i18n : Translator
- $url : string
Return values
string —orden()
protected
static orden(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —subfamilias()
private
static subfamilias(Familia $family, Translator $i18n[, int $level = 1 ]) : string
Parameters
- $family : Familia
- $i18n : Translator
- $level : int = 1