NotaVinculadaController
extends Controller
in package
Table of Contents
Constants
- CAMINHO = ""
- CLASSEDAO = "NotasFiscaisDAO"
- EXPORT_FILENAME = "NotaVinculada"
- TIPO_CONTA_PAGAR = '0'
- TIPO_CONTA_RECEBER = '1'
Methods
- __construct() : mixed
- baixarDanfe() : mixed
- baixarDanfeLinkPublico() : mixed
- baixarDocumento() : mixed
- baixarRecibo() : mixed
- baixarXml() : mixed
- baixarXmlLinkPublico() : mixed
- buildMenu() : mixed
- checkDirectAccessSecurity() : mixed
- checkNFeToExportZip() : mixed
- deletarNotaVinculada() : mixed
- detalharNotaVinculada() : mixed
- editarNotaVinculada() : mixed
- exemploChaveDanfe() : mixed
- exportarExcel() : mixed
- exportarNotasEmissor() : mixed
- Necessary to integrate the NFe system together or torn
- exportarNotasVinculadas() : mixed
- exportarPdf() : mixed
- getBaseUrl() : mixed
- index() : mixed
- loadJS() : mixed
- modalEntidadesPermitidas() : mixed
- notaCancelada() : mixed
- novoNotaVinculada() : mixed
- processarRelatorioNotasEmitidas() : mixed
- redirect() : mixed
- relatorioNotasEmitidas() : mixed
- render() : mixed
- renderTemplate() : mixed
- renderTemplateClean() : mixed
- renderTemplateLogin() : mixed
- tipoContaPagarReceber() : mixed
- transactionsWithoutErrors() : mixed
- indexBase() : mixed
- reloadIndexAfterInsert() : mixed
- atualizarVinculoFinanceiroEmissor() : void
- determinarNovoVinculo() : array<string|int, mixed>
- determinarVinculoAtual() : array<string|int, mixed>
- exportZipEmissor() : mixed
- exportZipVinculada() : mixed
- expressaoPorExtenso() : mixed
- getDocumento() : mixed
- processarMudancaVinculo() : void
- readDanfe() : mixed
- trocaIdPrincipal() : mixed
- validadeFile() : mixed
- validaFornecedorDiferentesNotaECR() : mixed
- validarAlteracaoIdContaVinculada() : mixed
- validarIdPrincipalPagarReceber() : mixed
Constants
CAMINHO
public
mixed
CAMINHO
= ""
CLASSEDAO
public
mixed
CLASSEDAO
= "NotasFiscaisDAO"
EXPORT_FILENAME
public
mixed
EXPORT_FILENAME
= "NotaVinculada"
TIPO_CONTA_PAGAR
public
mixed
TIPO_CONTA_PAGAR
= '0'
TIPO_CONTA_RECEBER
public
mixed
TIPO_CONTA_RECEBER
= '1'
Methods
__construct()
public
__construct() : mixed
baixarDanfe()
public
baixarDanfe() : mixed
Attributes
- #[EntitySecurity]
- NotasFiscaisEntity::class
baixarDanfeLinkPublico()
public
baixarDanfeLinkPublico() : mixed
baixarDocumento()
public
baixarDocumento() : mixed
baixarRecibo()
public
baixarRecibo() : mixed
Attributes
- #[EntitySecurity]
- NotasFiscaisEntity::class
baixarXml()
public
baixarXml() : mixed
Attributes
- #[EntitySecurity]
- NotasFiscaisEntity::class
baixarXmlLinkPublico()
public
baixarXmlLinkPublico() : mixed
buildMenu()
public
buildMenu() : mixed
checkDirectAccessSecurity()
public
checkDirectAccessSecurity(mixed $pk, mixed $entity) : mixed
Parameters
- $pk : mixed
- $entity : mixed
checkNFeToExportZip()
public
checkNFeToExportZip() : mixed
deletarNotaVinculada()
public
deletarNotaVinculada() : mixed
detalharNotaVinculada()
public
detalharNotaVinculada() : mixed
editarNotaVinculada()
public
editarNotaVinculada() : mixed
exemploChaveDanfe()
public
exemploChaveDanfe() : mixed
exportarExcel()
public
exportarExcel() : mixed
exportarNotasEmissor()
Necessary to integrate the NFe system together or torn
public
exportarNotasEmissor() : mixed
Attributes
- #[EntitySecurity]
- NotasFiscaisEntity::class
exportarNotasVinculadas()
public
exportarNotasVinculadas() : mixed
exportarPdf()
public
exportarPdf() : mixed
getBaseUrl()
public
getBaseUrl() : mixed
index()
public
index() : mixed
loadJS()
public
static loadJS(mixed $path[, mixed $type = 'text/javascript' ]) : mixed
Parameters
- $path : mixed
- $type : mixed = 'text/javascript'
modalEntidadesPermitidas()
public
modalEntidadesPermitidas() : mixed
notaCancelada()
public
notaCancelada() : mixed
novoNotaVinculada()
public
novoNotaVinculada() : mixed
processarRelatorioNotasEmitidas()
public
processarRelatorioNotasEmitidas() : mixed
redirect()
public
static redirect(mixed $url[, mixed $url_full = false ][, mixed $post_data = [] ]) : mixed
Parameters
- $url : mixed
- $url_full : mixed = false
- $post_data : mixed = []
relatorioNotasEmitidas()
public
relatorioNotasEmitidas() : mixed
Attributes
- #[EntitySecurity]
- NotasFiscaisEntity::class
render()
public
render(mixed $viewName[, mixed $viewData = [] ]) : mixed
Parameters
- $viewName : mixed
- $viewData : mixed = []
renderTemplate()
public
renderTemplate(mixed $viewName[, mixed $viewData = [] ]) : mixed
Parameters
- $viewName : mixed
- $viewData : mixed = []
renderTemplateClean()
public
renderTemplateClean(mixed $viewName[, mixed $viewData = [] ]) : mixed
Parameters
- $viewName : mixed
- $viewData : mixed = []
renderTemplateLogin()
public
renderTemplateLogin(mixed $viewName[, mixed $viewData = [] ]) : mixed
Parameters
- $viewName : mixed
- $viewData : mixed = []
tipoContaPagarReceber()
public
tipoContaPagarReceber() : mixed
transactionsWithoutErrors()
public
transactionsWithoutErrors(mixed $model[, mixed $callback = [JsonAjax::class, 'responseErrorIfExist'] ][, mixed $params = ['Desculpe, operação não foi concluida!'] ]) : mixed
Parameters
- $model : mixed
- $callback : mixed = [JsonAjax::class, 'responseErrorIfExist']
- $params : mixed = ['Desculpe, operação não foi concluida!']
indexBase()
protected
indexBase(mixed &$grid, mixed $routes, mixed $id_pagina) : mixed
Parameters
- $grid : mixed
- $routes : mixed
- $id_pagina : mixed
reloadIndexAfterInsert()
protected
reloadIndexAfterInsert(mixed $id_pagina, mixed $limite, array<string|int, mixed> $ids[, mixed $option = 1 ]) : mixed
Parameters
- $id_pagina : mixed
- $limite : mixed
- $ids : array<string|int, mixed>
- $option : mixed = 1
atualizarVinculoFinanceiroEmissor()
private
atualizarVinculoFinanceiroEmissor(array<string|int, mixed> $nota_bd_default, string $novo_vinculo, string|int $id_cap, string|int $id_car) : void
Parameters
- $nota_bd_default : array<string|int, mixed>
- $novo_vinculo : string
- $id_cap : string|int
- $id_car : string|int
determinarNovoVinculo()
private
determinarNovoVinculo(string $novo_vinculo, string|int $id_cap, string|int $id_car) : array<string|int, mixed>
Parameters
- $novo_vinculo : string
- $id_cap : string|int
- $id_car : string|int
Return values
array<string|int, mixed>determinarVinculoAtual()
private
determinarVinculoAtual(array<string|int, mixed> $nota) : array<string|int, mixed>
Parameters
- $nota : array<string|int, mixed>
Return values
array<string|int, mixed>exportZipEmissor()
private
exportZipEmissor(mixed $lista_notas) : mixed
Parameters
- $lista_notas : mixed
exportZipVinculada()
private
exportZipVinculada(mixed $mesano, mixed $empresa, mixed $tipo_documento) : mixed
Parameters
- $mesano : mixed
- $empresa : mixed
- $tipo_documento : mixed
expressaoPorExtenso()
private
expressaoPorExtenso(mixed $valor) : mixed
Parameters
- $valor : mixed
getDocumento()
private
getDocumento(mixed $nota) : mixed
Parameters
- $nota : mixed
processarMudancaVinculo()
private
processarMudancaVinculo(NfeDAO $model, string $id_nf_emissor, array<string|int, mixed> $atual, array<string|int, mixed> $novo) : void
Parameters
- $model : NfeDAO
- $id_nf_emissor : string
- $atual : array<string|int, mixed>
- $novo : array<string|int, mixed>
readDanfe()
private
readDanfe(mixed $danfe) : mixed
Parameters
- $danfe : mixed
trocaIdPrincipal()
private
trocaIdPrincipal(mixed $novo_id, mixed $id_original, mixed $tipo_conta, mixed $novo_tipo_conta) : mixed
Parameters
- $novo_id : mixed
- $id_original : mixed
- $tipo_conta : mixed
- $novo_tipo_conta : mixed
validadeFile()
private
validadeFile() : mixed
validaFornecedorDiferentesNotaECR()
private
validaFornecedorDiferentesNotaECR() : mixed
validarAlteracaoIdContaVinculada()
private
validarAlteracaoIdContaVinculada([mixed $detalhes_nota = [] ]) : mixed
Parameters
- $detalhes_nota : mixed = []
validarIdPrincipalPagarReceber()
private
validarIdPrincipalPagarReceber() : mixed