SalesHeaderHTML
in package
Uses
CommonSalesPurchases
Description of SalesHeaderHTML
Tags
Table of Contents
- $columnView : string
- $cliente : Cliente
- $mods : array<string|int, SalesModInterface>
- addMod() : mixed
- apply() : mixed
- assets() : mixed
- modalDocList() : string
- render() : string
- checkLevel() : bool
- children() : string
- cifnif() : string
- codalmacen() : string
- coddivisa() : string
- codpago() : string
- codserie() : string
- column() : string
- deleteBtn() : string
- dtopor1() : string
- dtopor2() : string
- fastLineInput() : string
- fecha() : string
- fechadevengo() : string
- femail() : string
- hora() : string
- idestado() : string
- idestadoIcon() : string
- idestadoTextColor() : string
- netosindto() : string
- newLineBtn() : string
- observaciones() : string
- operacion() : string
- paid() : string
- parents() : string
- productBtn() : string
- saveBtn() : string
- sortableBtn() : string
- subtotalNetoBtn() : string
- tasaconv() : string
- total() : string
- undoBtn() : string
- user() : string
- addressField() : string
- ciudad() : string
- codagente() : string
- codcliente() : string
- codigoenv() : string
- codpais() : string
- codtrans() : string
- detail() : string
- detailModal() : string
- email() : string
- finoferta() : string
- getAddressOptions() : array<string|int, mixed>
- idcontactoenv() : string
- idcontactofact() : string
- nombrecliente() : string
- numero2() : string
- provincia() : string
- renderField() : string|null
- renderNewBtnFields() : string
- renderNewFields() : string
- renderNewModalFields() : string
Properties
$columnView
protected
static string
$columnView
$cliente
private
static Cliente
$cliente
$mods
private
static array<string|int, SalesModInterface>
$mods
= []
Methods
addMod()
public
static addMod(SalesModInterface $mod) : mixed
Parameters
- $mod : SalesModInterface
Return values
mixed —apply()
public
static apply(SalesDocument &$model, array<string|int, mixed> $formData, User $user) : mixed
Parameters
- $model : SalesDocument
- $formData : array<string|int, mixed>
- $user : User
Return values
mixed —assets()
public
static assets() : mixed
Return values
mixed —modalDocList()
public
static modalDocList(Translator $i18n, array<string|int, mixed> $documents, string $title, string $id) : string
Parameters
- $i18n : Translator
- $documents : array<string|int, mixed>
- $title : string
- $id : string
Return values
string —render()
public
static render(SalesDocument $model) : string
Parameters
- $model : SalesDocument
Return values
string —checkLevel()
protected
static checkLevel(int $level) : bool
Parameters
- $level : int
Return values
bool —children()
protected
static children(Translator $i18n, TransformerDocument $model) : string
Parameters
- $i18n : Translator
- $model : TransformerDocument
Return values
string —cifnif()
protected
static cifnif(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —codalmacen()
protected
static codalmacen(Translator $i18n, BusinessDocument $model, string $jsFunc) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsFunc : string
Return values
string —coddivisa()
protected
static coddivisa(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —codpago()
protected
static codpago(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —codserie()
protected
static codserie(Translator $i18n, BusinessDocument $model, string $jsFunc) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsFunc : string
Return values
string —column()
protected
static column(Translator $i18n, BusinessDocument $model, string $colName, string $label[, bool $autoHide = false ], int $level) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $colName : string
- $label : string
- $autoHide : bool = false
- $level : int
Return values
string —deleteBtn()
protected
static deleteBtn(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —dtopor1()
protected
static dtopor1(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —dtopor2()
protected
static dtopor2(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —fastLineInput()
protected
static fastLineInput(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —fecha()
protected
static fecha(Translator $i18n, BusinessDocument $model[, bool $enabled = true ]) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $enabled : bool = true
Return values
string —fechadevengo()
protected
static fechadevengo(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —femail()
protected
static femail(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —hora()
protected
static hora(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —idestado()
protected
static idestado(Translator $i18n, TransformerDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : TransformerDocument
- $jsName : string
Return values
string —idestadoIcon()
protected
static idestadoIcon(EstadoDocumento $status[, bool $alternative = false ]) : string
Parameters
- $status : EstadoDocumento
- $alternative : bool = false
Return values
string —idestadoTextColor()
protected
static idestadoTextColor(EstadoDocumento $status) : string
Parameters
- $status : EstadoDocumento
Return values
string —netosindto()
protected
static netosindto(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —newLineBtn()
protected
static newLineBtn(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —observaciones()
protected
static observaciones(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —operacion()
protected
static operacion(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —paid()
protected
static paid(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —parents()
protected
static parents(Translator $i18n, TransformerDocument $model) : string
Parameters
- $i18n : Translator
- $model : TransformerDocument
Return values
string —productBtn()
protected
static productBtn(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —saveBtn()
protected
static saveBtn(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —sortableBtn()
protected
static sortableBtn(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —subtotalNetoBtn()
protected
static subtotalNetoBtn(Translator $i18n) : string
Parameters
- $i18n : Translator
Return values
string —tasaconv()
protected
static tasaconv(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —total()
protected
static total(Translator $i18n, BusinessDocument $model, string $jsName) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
- $jsName : string
Return values
string —undoBtn()
protected
static undoBtn(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —user()
protected
static user(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —addressField()
private
static addressField(Translator $i18n, SalesDocument $model, string $field, string $label, int $size, int $maxlength) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
- $field : string
- $label : string
- $size : int
- $maxlength : int
Return values
string —ciudad()
private
static ciudad(Translator $i18n, SalesDocument $model, int $size, int $maxlength) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
- $size : int
- $maxlength : int
Return values
string —codagente()
private
static codagente(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —codcliente()
private
static codcliente(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —codigoenv()
private
static codigoenv(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —codpais()
private
static codpais(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —codtrans()
private
static codtrans(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —detail()
private
static detail(Translator $i18n, SalesDocument $model[, bool $new = false ]) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
- $new : bool = false
Return values
string —detailModal()
private
static detailModal(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —email()
private
static email(Translator $i18n, BusinessDocument $model) : string
Parameters
- $i18n : Translator
- $model : BusinessDocument
Return values
string —finoferta()
private
static finoferta(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —getAddressOptions()
private
static getAddressOptions(Translator $i18n, mixed $selected, bool $empty) : array<string|int, mixed>
Parameters
- $i18n : Translator
- $selected : mixed
- $empty : bool
Return values
array<string|int, mixed> —idcontactoenv()
private
static idcontactoenv(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —idcontactofact()
private
static idcontactofact(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —nombrecliente()
private
static nombrecliente(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —numero2()
private
static numero2(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —provincia()
private
static provincia(Translator $i18n, SalesDocument $model, int $size, int $maxlength) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
- $size : int
- $maxlength : int
Return values
string —renderField()
private
static renderField(Translator $i18n, SalesDocument $model, string $field) : string|null
Parameters
- $i18n : Translator
- $model : SalesDocument
- $field : string
Return values
string|null —renderNewBtnFields()
private
static renderNewBtnFields(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —renderNewFields()
private
static renderNewFields(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument
Return values
string —renderNewModalFields()
private
static renderNewModalFields(Translator $i18n, SalesDocument $model) : string
Parameters
- $i18n : Translator
- $model : SalesDocument