@seniorsistemas/yms-integration 1.13.1 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/seniorsistemas-yms-integration.umd.js +8 -1
- package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
- package/esm2015/src/erp-senior/recebimento/form/recebimento-form.component.js +4 -2
- package/esm5/src/erp-senior/recebimento/form/recebimento-form.component.js +4 -2
- package/fesm2015/seniorsistemas-yms-integration.js +8 -1
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +8 -1
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.metadata.json +1 -1
|
@@ -11136,6 +11136,12 @@
|
|
|
11136
11136
|
TipoNotaFiscal["PRODUTOR_RURAL"] = "PRODUTOR_RURAL";
|
|
11137
11137
|
})(TipoNotaFiscal || (TipoNotaFiscal = {}));
|
|
11138
11138
|
|
|
11139
|
+
var Situacao;
|
|
11140
|
+
(function (Situacao) {
|
|
11141
|
+
Situacao["INATIVO"] = "INATIVO";
|
|
11142
|
+
Situacao["ATIVO"] = "ATIVO";
|
|
11143
|
+
})(Situacao || (Situacao = {}));
|
|
11144
|
+
|
|
11139
11145
|
var moment$t = _moment;
|
|
11140
11146
|
var RecebimentoFormComponent = /** @class */ (function () {
|
|
11141
11147
|
function RecebimentoFormComponent(recebimentoService, router, route, messageService, confirmationService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, filialService, transportadoraService, pessoaEnderecoService, contratoCompraService, pessoaService, produtoService, derivacaoService, recebimentoChegadaOverride, notaValidatorService, transgeniaService, dialogService, agendaService, erpProcessService, erpFormConfigService, verificaNotaFiscal, hasChangeService, buildFormField) {
|
|
@@ -11197,7 +11203,7 @@
|
|
|
11197
11203
|
this.transportadoraAdvancedDisplayFields = ["id", "codigo", "pessoa.nome", "pessoa.cpfCnpj"];
|
|
11198
11204
|
this.transportadoraLookupSeparator = " - ";
|
|
11199
11205
|
this.transgeniaLookupDisplayFields = ["codigo", "descricao"];
|
|
11200
|
-
this.transgeniaAdvancedDisplayFields = ["id", "codigo", "descricao", "familia", "tipoParticipante"];
|
|
11206
|
+
this.transgeniaAdvancedDisplayFields = ["id", "codigo", "descricao", "familia", "tipoParticipante", "situacao"];
|
|
11201
11207
|
this.transgeniaLookupSeparator = " - ";
|
|
11202
11208
|
this.disableButtonSave = false;
|
|
11203
11209
|
this.disableOrdersButtons = true;
|
|
@@ -12361,6 +12367,7 @@
|
|
|
12361
12367
|
};
|
|
12362
12368
|
RecebimentoFormComponent.prototype.geraFiltroTransgenia = function () {
|
|
12363
12369
|
var buildString = "empresa.id eq '" + this.formGroup.get('filial').value.empresa.id + "'";
|
|
12370
|
+
buildString += "and situacao eq '" + Situacao.ATIVO + "'";
|
|
12364
12371
|
var familia = this.getFamiliaProduto();
|
|
12365
12372
|
if (familia) {
|
|
12366
12373
|
buildString += " and ";
|