@senior-agronegocio/angular-components 0.0.9870 → 0.0.9872
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/senior-agronegocio-angular-components.umd.js +356 -525
- package/bundles/senior-agronegocio-angular-components.umd.js.map +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js +2 -2
- package/bundles/senior-agronegocio-angular-components.umd.min.js.map +1 -1
- package/components/event-control-board/service/e001pes/e001pes.service.d.ts +2 -2
- package/components/event-control-board/service/e001tns/e001tns.service.d.ts +2 -2
- package/components/event-control-board/service/e012fam/e012fam.service.d.ts +2 -2
- package/components/event-control-board/service/e070emp/e070emp.service.d.ts +2 -2
- package/components/event-control-board/service/e070fil/e070fil.service.d.ts +2 -2
- package/components/event-control-board/service/e075der/e075der.service.d.ts +2 -2
- package/components/event-control-board/service/e205dep/e205dep.service.d.ts +2 -2
- package/components/event-control-board/service/event-control/event-control.service.d.ts +2 -2
- package/components/event-control-board/service/event-control-item/event-control-item.service.d.ts +2 -2
- package/components/event-control-board/service/external-invoice/external-invoice.service.d.ts +2 -2
- package/components/event-control-board/service/fixation-entity/fixation.service.d.ts +2 -2
- package/components/event-control-board/service/invoice/invoice.service.d.ts +2 -2
- package/components/event-control-board/service/origination/origination.service.d.ts +2 -2
- package/components/event-control-board/service/rural-estate/rural-estate.service.d.ts +2 -2
- package/components/event-control-board/service/ticket/ticket.service.d.ts +2 -2
- package/components/event-control-board/service/transfer/transfer.service.d.ts +2 -2
- package/components/financial-title-table/services/financial/agro-financial.service.d.ts +1 -1
- package/components/financial-title-table/services/financial/enums.d.ts +1 -1
- package/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.d.ts +8 -7
- package/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.d.ts +8 -6
- package/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.d.ts +8 -17
- package/components/modal-invoice-pj/modal-invoice-pj-base.class.d.ts +9 -7
- package/components/modal-invoice-pj/modal-shared-imports.d.ts +4 -7
- package/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.d.ts +1 -1
- package/esm2015/common/agro-logics.class.js +6 -5
- package/esm2015/common/agro-unit-converter.class.js +1 -2
- package/esm2015/components/event-control-board/common/event-control-constants.js +2 -2
- package/esm2015/components/event-control-board/event-control-board.component.js +2 -2
- package/esm2015/components/event-control-board/service/e001pes/e001pes.service.js +3 -3
- package/esm2015/components/event-control-board/service/e001tns/e001tns.service.js +3 -3
- package/esm2015/components/event-control-board/service/e012fam/e012fam.service.js +3 -3
- package/esm2015/components/event-control-board/service/e070emp/e070emp.service.js +3 -3
- package/esm2015/components/event-control-board/service/e070fil/e070fil.service.js +3 -3
- package/esm2015/components/event-control-board/service/e075der/e075der.service.js +3 -3
- package/esm2015/components/event-control-board/service/e205dep/e205dep.service.js +3 -3
- package/esm2015/components/event-control-board/service/event-control/event-control.service.js +3 -3
- package/esm2015/components/event-control-board/service/event-control-item/event-control-item.service.js +3 -3
- package/esm2015/components/event-control-board/service/external-invoice/external-invoice.service.js +3 -3
- package/esm2015/components/event-control-board/service/fixation-entity/fixation.service.js +3 -3
- package/esm2015/components/event-control-board/service/invoice/invoice.service.js +3 -3
- package/esm2015/components/event-control-board/service/origination/origination.service.js +3 -3
- package/esm2015/components/event-control-board/service/rural-estate/rural-estate.service.js +3 -3
- package/esm2015/components/event-control-board/service/ticket/ticket.service.js +3 -3
- package/esm2015/components/event-control-board/service/transfer/transfer.service.js +3 -3
- package/esm2015/components/financial-title-table/financial-title-table.component.js +5 -3
- package/esm2015/components/financial-title-table/services/financial/agro-financial.service.js +11 -6
- package/esm2015/components/financial-title-table/services/financial/enums.js +2 -2
- package/esm2015/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.js +15 -13
- package/esm2015/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +13 -10
- package/esm2015/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.js +13 -36
- package/esm2015/components/modal-invoice-pj/modal-invoice-pj-base.class.js +13 -10
- package/esm2015/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.js +2 -2
- package/esm2015/services/agro-entity-service.js +132 -0
- package/esm2015/services/i18n/en-US.js +2 -10
- package/esm2015/services/i18n/es-CO.js +4 -12
- package/esm2015/services/i18n/pt-BR.js +262 -272
- package/esm2015/services/producer-invoice/producer-invoice.service.js +2 -2
- package/esm5/common/agro-logics.class.js +6 -5
- package/esm5/common/agro-unit-converter.class.js +1 -2
- package/esm5/components/event-control-board/common/event-control-constants.js +2 -2
- package/esm5/components/event-control-board/event-control-board.component.js +2 -2
- package/esm5/components/event-control-board/service/e001pes/e001pes.service.js +3 -3
- package/esm5/components/event-control-board/service/e001tns/e001tns.service.js +3 -3
- package/esm5/components/event-control-board/service/e012fam/e012fam.service.js +3 -3
- package/esm5/components/event-control-board/service/e070emp/e070emp.service.js +3 -3
- package/esm5/components/event-control-board/service/e070fil/e070fil.service.js +3 -3
- package/esm5/components/event-control-board/service/e075der/e075der.service.js +3 -3
- package/esm5/components/event-control-board/service/e205dep/e205dep.service.js +3 -3
- package/esm5/components/event-control-board/service/event-control/event-control.service.js +3 -3
- package/esm5/components/event-control-board/service/event-control-item/event-control-item.service.js +3 -3
- package/esm5/components/event-control-board/service/external-invoice/external-invoice.service.js +3 -3
- package/esm5/components/event-control-board/service/fixation-entity/fixation.service.js +3 -3
- package/esm5/components/event-control-board/service/invoice/invoice.service.js +3 -3
- package/esm5/components/event-control-board/service/origination/origination.service.js +3 -3
- package/esm5/components/event-control-board/service/rural-estate/rural-estate.service.js +3 -3
- package/esm5/components/event-control-board/service/ticket/ticket.service.js +3 -3
- package/esm5/components/event-control-board/service/transfer/transfer.service.js +3 -3
- package/esm5/components/financial-title-table/financial-title-table.component.js +6 -3
- package/esm5/components/financial-title-table/services/financial/agro-financial.service.js +12 -7
- package/esm5/components/financial-title-table/services/financial/enums.js +2 -2
- package/esm5/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.js +15 -13
- package/esm5/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +13 -10
- package/esm5/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.js +13 -36
- package/esm5/components/modal-invoice-pj/modal-invoice-pj-base.class.js +13 -10
- package/esm5/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.js +2 -2
- package/esm5/services/agro-entity-service.js +143 -0
- package/esm5/services/i18n/en-US.js +2 -10
- package/esm5/services/i18n/es-CO.js +4 -12
- package/esm5/services/i18n/pt-BR.js +262 -272
- package/esm5/services/producer-invoice/producer-invoice.service.js +2 -2
- package/fesm2015/senior-agronegocio-angular-components.js +342 -503
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +357 -526
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/{components/event-control-board/service/entity-service.d.ts → services/agro-entity-service.d.ts} +3 -13
- package/services/i18n/en-US.d.ts +1 -9
- package/services/i18n/es-CO.d.ts +2 -10
- package/services/i18n/pt-BR.d.ts +260 -270
- package/services/producer-invoice/producer-invoice.service.d.ts +1 -1
- package/esm2015/components/event-control-board/service/entity-service.js +0 -127
- package/esm2015/services/entity-service.js +0 -132
- package/esm5/components/event-control-board/service/entity-service.js +0 -138
- package/esm5/services/entity-service.js +0 -143
- package/services/entity-service.d.ts +0 -73
|
@@ -751,277 +751,266 @@
|
|
|
751
751
|
}());
|
|
752
752
|
|
|
753
753
|
var ptBR = {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
error_invalid:
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
'agro.angular_components.number_or_series': 'Número',
|
|
1015
|
-
'agro.angular_components.panel_title_external_invoice_add_external_invoice': 'Adicionar nota fiscal',
|
|
1016
|
-
'agro.angular_components.add_pj_invoice_modal_no_invoices_found': 'Nenhuma nota fiscal disponível para este produtor',
|
|
1017
|
-
'agro.angular_components.number': 'Número',
|
|
1018
|
-
'agro.angular_components.series': 'Série',
|
|
1019
|
-
'agro.angular_components.itens': 'Itens',
|
|
1020
|
-
'agro.angular_components.quantity': 'Quantidade',
|
|
1021
|
-
'agro.angular_components.issuance_date': 'Data de emissão',
|
|
1022
|
-
'agro.angular_components.no_register_found_for_external_invoices_summary': 'Nenhuma nota encontrada',
|
|
1023
|
-
'agro.angular_components.total_value': 'Valor total',
|
|
1024
|
-
'agro.angular_components.value_linked': 'Valor vinculado',
|
|
754
|
+
"agro.angular_components.table_empty_description": "Altere os filtros acima para gerar outros resultados de busca",
|
|
755
|
+
"agro.angular_components.nothing_found": "Nenhum registro encontrado",
|
|
756
|
+
"agro.angular_components.panel_title_events_events": "Eventos",
|
|
757
|
+
"agro.angular_components.refresh": "Atualizar",
|
|
758
|
+
"agro.angular_components.event_control_header": "Consulta de eventos/integrações",
|
|
759
|
+
"agro.angular_components.no": "Não",
|
|
760
|
+
"agro.angular_components.yes": "Sim",
|
|
761
|
+
"agro.angular_components.event_modal_title": "Reprocessamento de Eventos",
|
|
762
|
+
"agro.angular_components.event_modal": "Deseja reprocessar o evento?",
|
|
763
|
+
"agro.angular_components.reprocess_event": "Reprocessar evento",
|
|
764
|
+
"agro.angular_components.events_close": "Fechar",
|
|
765
|
+
"agro.angular_components.event_error_message": "Mensagem de erro",
|
|
766
|
+
"agro.angular_components.last_update_date": "Última atualização",
|
|
767
|
+
"agro.angular_components.show_event_details": "Detalhes do evento",
|
|
768
|
+
"agro.angular_components.pending": "Pendente",
|
|
769
|
+
"agro.angular_components.processing": "Processando",
|
|
770
|
+
"agro.angular_components.panel_title_events_ended_with_error": "Falha",
|
|
771
|
+
"agro.angular_components.tickets": "Tickets",
|
|
772
|
+
"agro.angular_components.rural_estate": "Imóvel Rural",
|
|
773
|
+
"agro.angular_components.change_request_event_summary": "Alteração de \nPesagem",
|
|
774
|
+
"agro.angular_components.ticket_maintenance_header": "Manutenção de ticket",
|
|
775
|
+
"agro.angular_components.invoice_creating_event": "Emissão de NF",
|
|
776
|
+
"agro.angular_components.balance_entry_control_event": "Entrada/saída balança",
|
|
777
|
+
"agro.angular_components.event_origin_label": "Origem do evento",
|
|
778
|
+
"agro.angular_components.event_details_header": "Detalhes do Evento",
|
|
779
|
+
"agro.angular_components.registers_found": "{total} registro(s) encontrado(s)",
|
|
780
|
+
"agro.angular_components.change_request_event": "Alteração de Pesagem",
|
|
781
|
+
"agro.angular_components.status_label": "Status",
|
|
782
|
+
"agro.angular_components.panel_title_events_completed_successfully": "Sucesso",
|
|
783
|
+
"agro.angular_components.supplier": "Fornecedor",
|
|
784
|
+
"agro.angular_components.ticket": "Ticket",
|
|
785
|
+
"agro.angular_components.company": "Empresa",
|
|
786
|
+
"agro.angular_components.label_branch": "Filial",
|
|
787
|
+
"agro.angular_components.event_sidebar_title": "Evento {eventNumber}",
|
|
788
|
+
"agro.angular_components.reprocessing_event_message_title": "Reprocessando Evento",
|
|
789
|
+
"agro.angular_components.reprocessing_event_message_description": "O evento selecionado está sendo reprocessado.",
|
|
790
|
+
"agro.angular_components.error_reprocessing_event_message_title": "Erro ao reprocessar evento",
|
|
791
|
+
"agro.angular_components.error_reprocessing_event_message_description": "Houve um erro ao reprocessar o evento. Tente novamente mais tarde.",
|
|
792
|
+
"agro.angular_components.actions": "Ações",
|
|
793
|
+
"agro.angular_components.add": "Adicionar",
|
|
794
|
+
"agro.angular_components.at_date": "Na data",
|
|
795
|
+
"agro.angular_components.at_time": "Na hora",
|
|
796
|
+
"agro.angular_components.cancel": "Cancelar",
|
|
797
|
+
"agro.angular_components.clear": "Limpar",
|
|
798
|
+
"agro.angular_components.created_by": "Criado por",
|
|
799
|
+
"agro.angular_components.delete": "Excluir",
|
|
800
|
+
"agro.angular_components.delete_confirmation_message": "Tem certeza que deseja excluir este item?",
|
|
801
|
+
"agro.angular_components.delete_confirmation_title": "Confirmação de exclusão",
|
|
802
|
+
"agro.angular_components.deleted_message_content": "Item excluído com sucesso",
|
|
803
|
+
"agro.angular_components.deleted_message_title": "Exclusão realizada",
|
|
804
|
+
"agro.angular_components.e_070_emp_cod_emp": "Código da empresa",
|
|
805
|
+
"agro.angular_components.e_070_emp_created_by": "Criado por",
|
|
806
|
+
"agro.angular_components.e_070_emp_created_date": "Data de criação",
|
|
807
|
+
"agro.angular_components.e_070_emp_id": "Id",
|
|
808
|
+
"agro.angular_components.e_070_emp_last_modified_by": "Última modificação por",
|
|
809
|
+
"agro.angular_components.e_070_emp_last_modified_date": "Data da última modificação",
|
|
810
|
+
"agro.angular_components.e_070_emp_nom_emp": "Nome da empresa",
|
|
811
|
+
"agro.angular_components.e_070_emp_sig_emp": "Nome fantasia / Sigla da empresa",
|
|
812
|
+
"agro.angular_components.e_070_fil_cid_fil": "Cidade",
|
|
813
|
+
"agro.angular_components.e_070_fil_cod_fil": "Código da filial",
|
|
814
|
+
"agro.angular_components.e_070_fil_created_by": "Criado por",
|
|
815
|
+
"agro.angular_components.e_070_fil_created_date": "Data de criação",
|
|
816
|
+
"agro.angular_components.e_070_fil_id": "Id",
|
|
817
|
+
"agro.angular_components.e_070_fil_last_modified_by": "Última modificação por",
|
|
818
|
+
"agro.angular_components.e_070_fil_last_modified_date": "Data da última modificação",
|
|
819
|
+
"agro.angular_components.e_070_fil_nom_fil": "Nome da filial",
|
|
820
|
+
"agro.angular_components.e_070_fil_num_cgc": "CNPJ",
|
|
821
|
+
"agro.angular_components.e_070_fil_num_fon": "Numero Telefone",
|
|
822
|
+
"agro.angular_components.e_070_fil_sig_fil": "Nome fantasia da filial",
|
|
823
|
+
"agro.angular_components.edit": "Editar",
|
|
824
|
+
"agro.angular_components.error_forbidden_description": "Você não tem permissão para acessar este recurso",
|
|
825
|
+
"agro.angular_components.error_forbidden_title": "Acesso negado",
|
|
826
|
+
"agro.angular_components.error_invalid": "Valor inválido",
|
|
827
|
+
"agro.angular_components.error_max_length": "O valor máximo de caracteres é {0}",
|
|
828
|
+
"agro.angular_components.error_max_value": "O valor máximo é {0}",
|
|
829
|
+
"agro.angular_components.error_min_length": "O valor mínimo de caracteres é {valor}",
|
|
830
|
+
"agro.angular_components.error_min_value": "O valor mínimo é {0}",
|
|
831
|
+
"agro.angular_components.error_not_found_description": "O recurso solicitado não foi encontrado",
|
|
832
|
+
"agro.angular_components.error_not_found_title": "Não encontrado",
|
|
833
|
+
"agro.angular_components.error_required": "Campo obrigatório",
|
|
834
|
+
"agro.angular_components.error_server_description": "Ocorreu um erro ao processar sua solicitação. Por favor, tente novamente",
|
|
835
|
+
"agro.angular_components.error_server_title": "Erro no servidor",
|
|
836
|
+
"agro.angular_components.error_server_try_again": "Tente novamente",
|
|
837
|
+
"agro.angular_components.error_unauthorized_description": "Você não está autorizado a acessar este recurso",
|
|
838
|
+
"agro.angular_components.error_unauthorized_title": "Não autorizado",
|
|
839
|
+
"agro.angular_components.event_control": "Controle de eventos",
|
|
840
|
+
"agro.angular_components.event_control_created_by": "Criado por",
|
|
841
|
+
"agro.angular_components.event_control_created_date": "Data de criação",
|
|
842
|
+
"agro.angular_components.event_control_e_070_emp": "Empresa",
|
|
843
|
+
"agro.angular_components.event_control_e_070_emp_search_title": "Selecione a empresa",
|
|
844
|
+
"agro.angular_components.event_control_e_070_fil": "Filial",
|
|
845
|
+
"agro.angular_components.event_control_e_070_fil_search_title": "Selecione a filial",
|
|
846
|
+
"agro.angular_components.event_control_empty_state_description": "Nenhum registro encontrado",
|
|
847
|
+
"agro.angular_components.event_control_empty_state_title": "Nenhum registro encontrado",
|
|
848
|
+
"agro.angular_components.event_control_event_origin": "Origem do evento",
|
|
849
|
+
"agro.angular_components.event_control_event_origin_placeholder": "Selecione a origem do evento",
|
|
850
|
+
"agro.angular_components.event_control_external_id": "Id externo",
|
|
851
|
+
"agro.angular_components.event_control_form_general_title": "Geral",
|
|
852
|
+
"agro.angular_components.event_control_form_title": "Controle de eventos",
|
|
853
|
+
"agro.angular_components.event_control_id": "Id da entidade",
|
|
854
|
+
"agro.angular_components.event_control_item": "Itens do controle de eventos",
|
|
855
|
+
"agro.angular_components.event_control_item_created_by": "Criado por",
|
|
856
|
+
"agro.angular_components.event_control_item_created_date": "Data de criação",
|
|
857
|
+
"agro.angular_components.event_control_item_empty_state_description": "Nenhum registro encontrado",
|
|
858
|
+
"agro.angular_components.event_control_item_empty_state_title": "Nenhum registro encontrado",
|
|
859
|
+
"agro.angular_components.event_control_item_event_control": "eventControlId",
|
|
860
|
+
"agro.angular_components.event_control_item_event_control_search_title": "Selecione o controle de eventos",
|
|
861
|
+
"agro.angular_components.event_control_item_event_group": "Grupo do evento",
|
|
862
|
+
"agro.angular_components.event_control_item_event_operation": "Tipo da operação do evento",
|
|
863
|
+
"agro.angular_components.event_control_item_event_operation_placeholder": "Selecione o tipo da operação do evento",
|
|
864
|
+
"agro.angular_components.event_control_item_form_general_title": "Geral",
|
|
865
|
+
"agro.angular_components.event_control_item_form_title": "Itens do controle de eventos",
|
|
866
|
+
"agro.angular_components.event_control_item_id": "Id da entidade",
|
|
867
|
+
"agro.angular_components.event_control_item_last_modified_by": "Última modificação por",
|
|
868
|
+
"agro.angular_components.event_control_item_last_modified_date": "Data da última modificação",
|
|
869
|
+
"agro.angular_components.event_control_item_list_grid_title": "Itens do controle de eventos",
|
|
870
|
+
"agro.angular_components.event_control_item_list_title": "Itens do controle de eventos",
|
|
871
|
+
"agro.angular_components.event_control_item_message": "Mensagem de evento",
|
|
872
|
+
"agro.angular_components.event_control_item_param": "Parâmetros do evento",
|
|
873
|
+
"agro.angular_components.event_control_item_request": "Solicitação recebida",
|
|
874
|
+
"agro.angular_components.event_control_item_response": "Resposta enviada",
|
|
875
|
+
"agro.angular_components.event_control_item_sequence": "Sequência do evento",
|
|
876
|
+
"agro.angular_components.event_control_item_status": "Status do evento",
|
|
877
|
+
"agro.angular_components.event_control_item_status_placeholder": "Selecione o status do evento",
|
|
878
|
+
"agro.angular_components.event_control_last_modified_by": "Última modificação por",
|
|
879
|
+
"agro.angular_components.event_control_last_modified_date": "Data da última modificação",
|
|
880
|
+
"agro.angular_components.event_control_list_grid_title": "Controle de eventos",
|
|
881
|
+
"agro.angular_components.event_control_list_title": "Controle de eventos",
|
|
882
|
+
"agro.angular_components.event_operation_change_request": "Solicitação de alteração",
|
|
883
|
+
"agro.angular_components.event_operation_change_response": "Resposta de alteração",
|
|
884
|
+
"agro.angular_components.event_operation_effective": "Efetivo",
|
|
885
|
+
"agro.angular_components.event_operation_effective_confirmation": "Confirmação de efetivação",
|
|
886
|
+
"agro.angular_components.event_operation_invoice_closing": "Fechamento de nota fiscal",
|
|
887
|
+
"agro.angular_components.event_operation_invoice_creating": "Criação de nota fiscal",
|
|
888
|
+
"agro.angular_components.event_operation_invoice_installments": "Parcelamento de no",
|
|
889
|
+
"agro.angular_components.event_operation_provesional": "Saldo Provisório",
|
|
890
|
+
"agro.angular_components.event_operation_remove_provisional": "Remoção de Saldo provisório",
|
|
891
|
+
"agro.angular_components.event_operation_ticket": "Ticket",
|
|
892
|
+
"agro.angular_components.event_origin_balance_entry_control": "Controle de lançamento de saldo",
|
|
893
|
+
"agro.angular_components.event_origin_change_request": "Solicitação de alteração",
|
|
894
|
+
"agro.angular_components.event_origin_invoice": "Invoice",
|
|
895
|
+
"agro.angular_components.event_origin_ticket": "Ticket",
|
|
896
|
+
"agro.angular_components.event_status_canceled": "Cancelado",
|
|
897
|
+
"agro.angular_components.event_status_failed": "Falha",
|
|
898
|
+
"agro.angular_components.event_status_pending": "Pendente",
|
|
899
|
+
"agro.angular_components.event_status_processing": "Processado",
|
|
900
|
+
"agro.angular_components.event_status_success": "Sucesso",
|
|
901
|
+
"agro.angular_components.filter": "Filtrar",
|
|
902
|
+
"agro.angular_components.filters": "Filtros",
|
|
903
|
+
"agro.angular_components.list_grid_empty_field": "Nenhum registro encontrado",
|
|
904
|
+
"agro.angular_components.product_header_title": "Eventos",
|
|
905
|
+
"agro.angular_components.save": "Salvar",
|
|
906
|
+
"agro.angular_components.select": "Selecione",
|
|
907
|
+
"agro.angular_components.updated_by": "Atualizado por",
|
|
908
|
+
"error_invalid": "Valor inválido",
|
|
909
|
+
"agro.angular_components.choose_label": "Escolha",
|
|
910
|
+
"agro.angular_components.remove_label": "Remover",
|
|
911
|
+
"agro.angular_components.cancel_label": "Cancelar",
|
|
912
|
+
"agro.angular_components.success_tooltip": "Sucesso",
|
|
913
|
+
"agro.angular_components.menu_agro_events": "Eventos do Agro",
|
|
914
|
+
"agro.angular_components.date": "Data",
|
|
915
|
+
"agro.angular_components.label_code_branch": "Código da filial",
|
|
916
|
+
"agro.angular_components.label_code_company": "Código da empresa",
|
|
917
|
+
"agro.angular_components.label_code_deposit": "Código do depósito",
|
|
918
|
+
"agro.angular_components.label_code": "Código",
|
|
919
|
+
"agro.angular_components.label_company": "Empresa",
|
|
920
|
+
"platform.backend.agro_origination_entry_control": "Controle entrada/saída via balança",
|
|
921
|
+
"platform.backend.agro_origination_entry_exit_query": "Consulta entrada/saída",
|
|
922
|
+
"platform.backend.agro_origination_links": "Ligações",
|
|
923
|
+
"agro.angular_components.fantasy_name": "Nome fantasia",
|
|
924
|
+
"platform.backend.agro_origination_operation_versus_transaction_link": "Ligação operação x transação",
|
|
925
|
+
"platform.backend.menu_event_control": "Consulta de eventos/integrações",
|
|
926
|
+
"agro.angular_components.company_search_label": "Consultar Empresa",
|
|
927
|
+
"agro.angular_components.company_tooltip": "Selecione uma empresa para prosseguir",
|
|
928
|
+
"agro.angular_components.branch_search_label": "Consultar Filial",
|
|
929
|
+
"agro.angular_components.branch_tooltip": "Encontre as filiais da empresa",
|
|
930
|
+
"agro.angular_components.dash": "-",
|
|
931
|
+
"agro.angular_components.ticket_tooltip": "Adicione o número do ticket para especificar na busca",
|
|
932
|
+
"agro.angular_components.ticket_search_label": "Consultar Ticket",
|
|
933
|
+
"agro.grain_classification.ticket_search_label": "Consultar Ticket",
|
|
934
|
+
"agro.angular_components.kilogram_unit_label": "KG",
|
|
935
|
+
"agro.angular_components.event_list_header": "Lista de Eventos",
|
|
936
|
+
"agro.angular_components.ticket_event": "Emissão do Ticket",
|
|
937
|
+
"agro.angular_components.provisional_event": "Saldo provisório",
|
|
938
|
+
"agro.angular_components.effective_event": "Saldo efetivo",
|
|
939
|
+
"agro.angular_components.effective_confirmation_event": "Confirmação saldo efetivo",
|
|
940
|
+
"agro.angular_components.remove_provisional_event": "Remover Saldo Provisório",
|
|
941
|
+
"agro.angular_components.canceled": "Cancelado",
|
|
942
|
+
"agro.angular_components.label_number": "Ticket",
|
|
943
|
+
"agro.grain_classification.label_number": "Ticket",
|
|
944
|
+
"agro.angular_components.cnpj": "CNPJ",
|
|
945
|
+
"agro.angular_components.label_city": "Cidade",
|
|
946
|
+
"agro.angular_components.menu_event_control": "Consulta de eventos/integrações",
|
|
947
|
+
"agro.angular_components.transfer_origin_event": "Transferência entre Produtores",
|
|
948
|
+
"agro.angular_components.generation_of_invoice_installments": "Geração das parcelas da nota fiscal",
|
|
949
|
+
"agro.angular_components.invoice_canceled": "Fechamento da nota fiscal",
|
|
950
|
+
"agro.angular_components.CANCEL_INVOICE": "Cancelamento de nota fiscal",
|
|
951
|
+
"agro.angular_components.EFFECTIVE_CONFIRMATION": "Confirmação efetiva",
|
|
952
|
+
"agro.angular_components.CHANGE_REQUEST": "Solicitação de alteração",
|
|
953
|
+
"agro.angular_components.CHANGE_RESPONSE": "Resposta da solicitação de alteração",
|
|
954
|
+
"agro.angular_components.PROCESS_FIXATION": "Processa a fixação",
|
|
955
|
+
"agro.angular_components.TRANSFER_CREATE_INCOMING_INVOICE": "Emissão NF de entrada",
|
|
956
|
+
"agro.angular_components.TRANSFER_CREATE_OUTGOING_INVOICE": "Emissão NF de saída",
|
|
957
|
+
"agro.angular_components.TRANSFER_PRODUCER_BALANCE": "Transferência de saldo entre produtores",
|
|
958
|
+
"agro.angular_components.control_code": "Identificador",
|
|
959
|
+
"agro.angular_components.fixation_event": "Fixação",
|
|
960
|
+
"agro.angular_components.FINISH_FINANCIAL_FIXATION": "Emissão/Baixa de títulos",
|
|
961
|
+
"agro.angular_components.FINISH_PRODUCER_NET_VALUE_FIXATION": "Atualização de saldos",
|
|
962
|
+
"agro.angular_components.CONCLUDE_FIXATION": "Conclusão da fixação",
|
|
963
|
+
"agro.angular_components.CANCEL_FINANCIAL_FIXATION": "Cancela emissão de títulos",
|
|
964
|
+
"agro.angular_components.CANCEL_PRODUCER_NET_VALUE_FIXATION": "Reverte atualização de saldos",
|
|
965
|
+
"agro.angular_components.CANCEL_FIXATION": "Cancela fixação",
|
|
966
|
+
"agro.angular_components.cancel_fixation_title": "Cancelar fixação",
|
|
967
|
+
"agro.angular_components.cancel_fixation_description": "Tem certeza que deseja cancelar a fixação?",
|
|
968
|
+
"agro.angular_components.error_cancel_fixation_message_title": "Erro ao cancelar fixação",
|
|
969
|
+
"agro.angular_components.error_cancel_fixation_message_description": "Houve um erro ao cancelar a fixação. Tente novamente mais tarde.",
|
|
970
|
+
"agro.angular_components.cancel_fixation_message_title": "Cancelamento de fixação",
|
|
971
|
+
"agro.angular_components.cancel_fixation_message_description": "O processo de cancelamento da fixação foi iniciado com sucesso.",
|
|
972
|
+
"agro.angular_components.warn_cancel_fixation_message_title": "Cancelamento de fixação",
|
|
973
|
+
"agro.angular_components.warn_cancel_fixation_message_description": "Não é permitido cancelar a fixação de compra imediata.",
|
|
974
|
+
"agro.angular_components.warn_immediate_cancel_fixation_message_description": "Não é possível cancelar uma fixação realizada via compra imediata.",
|
|
975
|
+
"agro.angular_components.cancel_fixation_event": "Cancelamento de fixação",
|
|
976
|
+
"agro.angular_components.invoice_type_INCOMING": "Entrada",
|
|
977
|
+
"agro.angular_components.invoice_type_COMPLEMENT": "Complementar",
|
|
978
|
+
"agro.angular_components.invoice_type_ADJUSTMENT": "Ajuste",
|
|
979
|
+
"agro.angular_components.invoice_type_OUTGOING": "Saída",
|
|
980
|
+
"agro.angular_components.invoice_type_RETURN": "Devolução",
|
|
981
|
+
"agro.angular_components.invoice_type_SERVICE": "Serviço",
|
|
982
|
+
"agro.angular_components.invoice_type_SYMBOLIC_RETURN": "Devolução simbólica",
|
|
983
|
+
"agro.angular_components.cancel_reason": "Motivo do cancelamento",
|
|
984
|
+
"agro.angular_components.TRANSFER_CANCEL_INCOMING_INVOICE": "Cancelamento de NF de entrada",
|
|
985
|
+
"agro.angular_components.TRANSFER_CANCEL_OUTGOING_INVOICE": "Cancelamento de NF de saída ",
|
|
986
|
+
"agro.angular_components.TRANSFER_REVERSE_PRODUCER_BALANCE": "Estorno dos saldos de produtores",
|
|
987
|
+
"agro.angular_components.TRANSFER_CONCLUDE_CANCEL": "Conclusão do cancelamento",
|
|
988
|
+
"agro.angular_components.transfer_cancellation_event": "Cancelamento de transferência",
|
|
989
|
+
"agro.angular_components.CREATE_INVOICE_FIXATION": "Emissão de NF",
|
|
990
|
+
"agro.angular_components.CANCEL_INVOICE_FIXATION": "Cancelamento de NF",
|
|
991
|
+
"agro.angular_components.ORIGINATION_CREATE_INVOICE": "Emissão de NF",
|
|
992
|
+
"agro.angular_components.ORIGINATION_CREATE_EFFECTIVE_BALANCE": "Emissão de saldo efetivo",
|
|
993
|
+
"agro.angular_components.PRODUCER_NET_VALUE_EFFECTIVE_BALANCE_CONFIRMATION": "Confirmação de saldo efetivo",
|
|
994
|
+
"agro.angular_components.CLOSE_INVOICE_FIXATION": "Fechamento de NF",
|
|
995
|
+
"agro.angular_components.INVOICE_CLOSE_INVOICE": "Solicitação de cancelamento da NF",
|
|
996
|
+
"agro.angular_components.ORIGINATION_CREATE_EFFECTIVE_CONFIRMATION": "Confirmação efetiva",
|
|
997
|
+
"agro.angular_components.ORIGINATION_CREATE_PROVISIONAL_BALANCE": "Saldo provisório",
|
|
998
|
+
"agro.angular_components.CLOSE_INVOICE_TRANSFER": "Fechamento de NF",
|
|
999
|
+
"agro.angular_components.REOPEN_INVOICE_TRANSFER": "Reabertura da NF",
|
|
1000
|
+
"agro.angular_components.TRANSFER_CREATE_FINANCIAL_TITLE": "Criação de título financeiro",
|
|
1001
|
+
"agro.angular_components.TRANSFER_CANCEL_FINANCIAL_TITLE": "Cancelamento de título financeiro",
|
|
1002
|
+
"agro.angular_components.TRANSFER_CREATE_SERVICE_INVOICE": "Emissão NF de serviço",
|
|
1003
|
+
"agro.angular_components.TRANSFER_CANCEL_SERVICE_INVOICE": "Cancelamento de NF de serviço",
|
|
1004
|
+
"agro.angular_components.REOPEN_INVOICE_FIXATION": "Reabertura da NF",
|
|
1005
|
+
"agro.angular_components.CIDASC_INTEGRATION": "Envio ao Cidasc",
|
|
1006
|
+
"agro.angular_components.CIDASC_CANCELLATION": "Cancelamento do Receituário",
|
|
1007
|
+
"agro.angular_components.CIDASC_DATA_LOAD_CULTURE": "Carga Cidasc - Cultura",
|
|
1008
|
+
"agro.angular_components.CIDASC_DATA_LOAD_PEST": "Carga Cidasc - Praga",
|
|
1009
|
+
"agro.angular_components.CIDASC_DATA_LOAD_PRODUCT": "Carga Cidasc - Produto",
|
|
1010
|
+
"agro.angular_components.CIDASC_DATA_LOAD_MEASURE_UNIT": "Carga Cidasc - Unidade de medida",
|
|
1011
|
+
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": "Carga Cidasc - Medida por hectare",
|
|
1012
|
+
"agro.angular_components.PRESCRIPTION_DATA_LOAD": "Carga de dados do NovoReceituário",
|
|
1013
|
+
"agro.angular_components.agronomic_prescription_origin_event": "Receituário Agronômico",
|
|
1025
1014
|
"agro.angular_components.no_accounts_found_title": "Nenhuma conta encontrada",
|
|
1026
1015
|
"agro.angular_components.no_accounts_found_description": "Não foram encontradas contas para o produtor selecionado.",
|
|
1027
1016
|
"agro.angular_components.details": "Detalhes",
|
|
@@ -1051,6 +1040,7 @@
|
|
|
1051
1040
|
"agro.angular_components.error_loading_accounts_description": "Ocorreu um erro ao carregar as contas do produtor. Tente novamente mais tarde.",
|
|
1052
1041
|
"agro.angular_components.close": "Fechar",
|
|
1053
1042
|
"agro.angular_components.value_paid": "Valor a pagar",
|
|
1043
|
+
"agro.angular_components.timeout_request_error": "Tempo de requisição excedida. Tente novamente mais tarde.",
|
|
1054
1044
|
};
|
|
1055
1045
|
|
|
1056
1046
|
var enUS = {
|
|
@@ -1076,7 +1066,6 @@
|
|
|
1076
1066
|
"agro.angular_components.change_request_event_summary": "Weight Change",
|
|
1077
1067
|
"agro.angular_components.ticket_maintenance_header": "Ticket Maintenance",
|
|
1078
1068
|
"agro.angular_components.invoice_creating_event": "Invoice Issuance",
|
|
1079
|
-
"agro.angular_components.invoice_close_event": "Invoice Closing",
|
|
1080
1069
|
"agro.angular_components.balance_entry_control_event": "Balance Entry/Exit",
|
|
1081
1070
|
"agro.angular_components.event_origin_label": "Event origin",
|
|
1082
1071
|
"agro.angular_components.event_details_header": "Event Details",
|
|
@@ -1309,14 +1298,6 @@
|
|
|
1309
1298
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": "Cidasc Load - Measure per hectare",
|
|
1310
1299
|
"agro.angular_components.PRESCRIPTION_DATA_LOAD": "Prescription data load",
|
|
1311
1300
|
"agro.angular_components.agronomic_prescription_origin_event": "Agronomic Prescription",
|
|
1312
|
-
"agro.angular_components.number_or_series": "Número ou série",
|
|
1313
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": "Adicionar nota fiscal",
|
|
1314
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": "Nenhuma nota fiscal disponível para este produtor",
|
|
1315
|
-
"agro.angular_components.number": "Número",
|
|
1316
|
-
"agro.angular_components.series": "Série",
|
|
1317
|
-
"agro.angular_components.itens": "Itens",
|
|
1318
|
-
"agro.angular_components.quantity": "Quantidade",
|
|
1319
|
-
"agro.angular_components.issuance_date": "Data de emissão",
|
|
1320
1301
|
"agro.angular_components.no_accounts_found_title": "No accounts found",
|
|
1321
1302
|
"agro.angular_components.no_accounts_found_description": "No accounts were found for the selected producer.",
|
|
1322
1303
|
"agro.angular_components.details": "Details",
|
|
@@ -1346,6 +1327,7 @@
|
|
|
1346
1327
|
"agro.angular_components.error_loading_accounts_description": "An error occurred while loading the producer's accounts. Please try again later.",
|
|
1347
1328
|
"agro.angular_components.close": "Close",
|
|
1348
1329
|
"agro.angular_components.value_paid": "Value to pay",
|
|
1330
|
+
"agro.angular_components.timeout_request_error": "Request timeout. Please try again later.",
|
|
1349
1331
|
};
|
|
1350
1332
|
|
|
1351
1333
|
var esCO = {
|
|
@@ -1371,7 +1353,6 @@
|
|
|
1371
1353
|
"agro.angular_components.change_request_event_summary": "Cambio de \nPesaje",
|
|
1372
1354
|
"agro.angular_components.ticket_maintenance_header": "Mantenimiento de ticket",
|
|
1373
1355
|
"agro.angular_components.invoice_creating_event": "Emisión de Factura",
|
|
1374
|
-
"agro.angular_components.invoice_close_event": "Cierre de Factura",
|
|
1375
1356
|
"agro.angular_components.balance_entry_control_event": "Entrada/salida balanza",
|
|
1376
1357
|
"agro.angular_components.event_origin_label": "Origen del evento",
|
|
1377
1358
|
"agro.angular_components.event_details_header": "Detalles del Evento",
|
|
@@ -1504,7 +1485,7 @@
|
|
|
1504
1485
|
"agro.angular_components.save": "Guardar",
|
|
1505
1486
|
"agro.angular_components.select": "Seleccione",
|
|
1506
1487
|
"agro.angular_components.updated_by": "Actualizado por",
|
|
1507
|
-
error_invalid: "Valor inválido",
|
|
1488
|
+
"error_invalid": "Valor inválido",
|
|
1508
1489
|
"agro.angular_components.choose_label": "Elegir",
|
|
1509
1490
|
"agro.angular_components.remove_label": "Eliminar",
|
|
1510
1491
|
"agro.angular_components.cancel_label": "Cancelar",
|
|
@@ -1588,13 +1569,13 @@
|
|
|
1588
1569
|
"agro.angular_components.ORIGINATION_CREATE_EFFECTIVE_CONFIRMATION": "Confirmación efectiva",
|
|
1589
1570
|
"agro.angular_components.ORIGINATION_CREATE_PROVISIONAL_BALANCE": "Saldo provisional",
|
|
1590
1571
|
"agro.angular_components.CLOSE_INVOICE_TRANSFER": "Cierre de factura",
|
|
1591
|
-
"agro.angular_components.INVOICE_CLOSE_INVOICE": "Cierre de factura",
|
|
1592
1572
|
"agro.angular_components.REOPEN_INVOICE_TRANSFER": "Reapertura de factura",
|
|
1593
1573
|
"agro.angular_components.TRANSFER_CREATE_FINANCIAL_TITLE": "Creación de título financiero",
|
|
1594
1574
|
"agro.angular_components.TRANSFER_CANCEL_FINANCIAL_TITLE": "Cancelación de título financiero",
|
|
1595
1575
|
"agro.angular_components.TRANSFER_CREATE_SERVICE_INVOICE": "Emisión de NF de servicio",
|
|
1596
1576
|
"agro.angular_components.TRANSFER_CANCEL_SERVICE_INVOICE": "Cancelación de NF de servicio",
|
|
1597
1577
|
"agro.angular_components.REOPEN_INVOICE_FIXATION": "Reapertura de factura",
|
|
1578
|
+
"agro.angular_components.INVOICE_CLOSE_INVOICE": "Solicitud de cancelación de la factura",
|
|
1598
1579
|
"agro.angular_components.CIDASC_INTEGRATION": "Envío a Cidasc",
|
|
1599
1580
|
"agro.angular_components.CIDASC_CANCELLATION": "Cancelación de Receta",
|
|
1600
1581
|
"agro.angular_components.CIDASC_DATA_LOAD_CULTURE": "Carga Cidasc - Cultivo",
|
|
@@ -1604,14 +1585,6 @@
|
|
|
1604
1585
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": "Carga Cidasc - Medida por hectárea",
|
|
1605
1586
|
"agro.angular_components.PRESCRIPTION_DATA_LOAD": "Carga de datos de la Nueva Receta",
|
|
1606
1587
|
"agro.angular_components.agronomic_prescription_origin_event": "Recetario Agronómico",
|
|
1607
|
-
"agro.angular_components.number_or_series": "Número ou série",
|
|
1608
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": "Adicionar nota fiscal",
|
|
1609
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": "Nenhuma nota fiscal disponível para este produtor",
|
|
1610
|
-
"agro.angular_components.number": "Número",
|
|
1611
|
-
"agro.angular_components.series": "Série",
|
|
1612
|
-
"agro.angular_components.itens": "Itens",
|
|
1613
|
-
"agro.angular_components.quantity": "Quantidade",
|
|
1614
|
-
"agro.angular_components.issuance_date": "Data de emissão",
|
|
1615
1588
|
"agro.angular_components.no_accounts_found_title": "Ninguna cuenta encontrada",
|
|
1616
1589
|
"agro.angular_components.no_accounts_found_description": "No se encontraron cuentas para el productor seleccionado.",
|
|
1617
1590
|
"agro.angular_components.details": "Detalles",
|
|
@@ -1641,6 +1614,7 @@
|
|
|
1641
1614
|
"agro.angular_components.error_loading_accounts_description": "Ocurrió un error al cargar las cuentas del productor. Intente nuevamente más tarde.",
|
|
1642
1615
|
"agro.angular_components.close": "Cerrar",
|
|
1643
1616
|
"agro.angular_components.value_paid": "Valor a pagar",
|
|
1617
|
+
"agro.angular_components.timeout_request_error": "Tiempo de solicitud excedido. Intente nuevamente más tarde.",
|
|
1644
1618
|
};
|
|
1645
1619
|
|
|
1646
1620
|
|
|
@@ -4310,13 +4284,14 @@
|
|
|
4310
4284
|
var map = new Map();
|
|
4311
4285
|
var resolvePath = function (source, path) {
|
|
4312
4286
|
var e_2, _a;
|
|
4313
|
-
var parts = path.split(
|
|
4287
|
+
var parts = path.split('.');
|
|
4314
4288
|
var value = source;
|
|
4315
4289
|
try {
|
|
4316
4290
|
for (var parts_1 = __values(parts), parts_1_1 = parts_1.next(); !parts_1_1.done; parts_1_1 = parts_1.next()) {
|
|
4317
4291
|
var p = parts_1_1.value;
|
|
4318
|
-
if (value == null)
|
|
4292
|
+
if (value == null) {
|
|
4319
4293
|
return undefined;
|
|
4294
|
+
}
|
|
4320
4295
|
value = value[p];
|
|
4321
4296
|
}
|
|
4322
4297
|
}
|
|
@@ -4338,7 +4313,7 @@
|
|
|
4338
4313
|
try {
|
|
4339
4314
|
for (var keys_1 = (e_3 = void 0, __values(keys)), keys_1_1 = keys_1.next(); !keys_1_1.done; keys_1_1 = keys_1.next()) {
|
|
4340
4315
|
var k = keys_1_1.value;
|
|
4341
|
-
var rootName = k.toString().split(
|
|
4316
|
+
var rootName = k.toString().split('.')[0];
|
|
4342
4317
|
groupedData[rootName] = resolvePath(item, k);
|
|
4343
4318
|
}
|
|
4344
4319
|
}
|
|
@@ -4556,7 +4531,6 @@
|
|
|
4556
4531
|
}
|
|
4557
4532
|
};
|
|
4558
4533
|
AgroUnitConverter.prototype.isTemperatureUnit = function (unit) {
|
|
4559
|
-
console.log(this.TEMPERATURE_UNITS.includes(unit));
|
|
4560
4534
|
return this.TEMPERATURE_UNITS.includes(unit);
|
|
4561
4535
|
};
|
|
4562
4536
|
AgroUnitConverter.prototype.convertScalableUnits = function (valor, from, to) {
|
|
@@ -5690,7 +5664,7 @@
|
|
|
5690
5664
|
{ label: "agro.angular_components.ticket_event", value: EventOperation.TICKET },
|
|
5691
5665
|
{ label: "agro.angular_components.provisional_event", value: EventOperation.PROVISIONAL },
|
|
5692
5666
|
{
|
|
5693
|
-
label: "agro.angular_components.
|
|
5667
|
+
label: "agro.angular_components.CREATE_INVOICE_FIXATION",
|
|
5694
5668
|
value: EventOperation.CREATE_INVOICE,
|
|
5695
5669
|
subLabelField: InputFields.AGRO_INVOICE_TYPE,
|
|
5696
5670
|
},
|
|
@@ -5862,8 +5836,8 @@
|
|
|
5862
5836
|
FormDateError_data2: 'agro.angular_components.end_invalid_date'
|
|
5863
5837
|
};
|
|
5864
5838
|
|
|
5865
|
-
var
|
|
5866
|
-
function
|
|
5839
|
+
var AgroEntityService = /** @class */ (function () {
|
|
5840
|
+
function AgroEntityService(http, messageService, entityUrl, actionsUrl, queriesUrl, translate) {
|
|
5867
5841
|
this.http = http;
|
|
5868
5842
|
this.messageService = messageService;
|
|
5869
5843
|
this.entityUrl = entityUrl;
|
|
@@ -5878,41 +5852,41 @@
|
|
|
5878
5852
|
this.translate = translate;
|
|
5879
5853
|
this.defaultCatch = this.defaultCatch.bind(this);
|
|
5880
5854
|
}
|
|
5881
|
-
|
|
5855
|
+
AgroEntityService.prototype.getListQueryParams = function (listParams) {
|
|
5882
5856
|
var ten = 10;
|
|
5883
5857
|
var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? ten : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? '' : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
|
|
5884
5858
|
var params = new http.HttpParams();
|
|
5885
5859
|
params = params.append('size', String(size));
|
|
5886
5860
|
params = params.append('offset', String(page));
|
|
5887
|
-
if (sort
|
|
5861
|
+
if (sort === null || sort === void 0 ? void 0 : sort.length) {
|
|
5888
5862
|
params = params.append('orderby', sort.map(this.getBodyFilters()).join(', '));
|
|
5889
5863
|
}
|
|
5890
5864
|
if (filterQuery) {
|
|
5891
5865
|
params = params.append('filter', filterQuery);
|
|
5892
5866
|
}
|
|
5893
|
-
if (displayFields
|
|
5867
|
+
if (displayFields === null || displayFields === void 0 ? void 0 : displayFields.length) {
|
|
5894
5868
|
params = params.append('displayfields', displayFields.join());
|
|
5895
5869
|
}
|
|
5896
5870
|
return params;
|
|
5897
5871
|
};
|
|
5898
|
-
|
|
5872
|
+
AgroEntityService.prototype.getBodyParams = function (listParams) {
|
|
5899
5873
|
var ten = 10;
|
|
5900
5874
|
var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? ten : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? '' : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
|
|
5901
5875
|
var bodyParams = {};
|
|
5902
5876
|
bodyParams.size = size;
|
|
5903
5877
|
bodyParams.offset = page;
|
|
5904
|
-
if (sort
|
|
5878
|
+
if (sort === null || sort === void 0 ? void 0 : sort.length) {
|
|
5905
5879
|
bodyParams.orderBy = sort.map(this.getBodyFilters()).join(', ');
|
|
5906
5880
|
}
|
|
5907
5881
|
if (filterQuery) {
|
|
5908
5882
|
bodyParams.filter = filterQuery;
|
|
5909
5883
|
}
|
|
5910
|
-
if (displayFields
|
|
5884
|
+
if (displayFields === null || displayFields === void 0 ? void 0 : displayFields.length) {
|
|
5911
5885
|
bodyParams.displayfields = displayFields.join();
|
|
5912
5886
|
}
|
|
5913
5887
|
return bodyParams;
|
|
5914
5888
|
};
|
|
5915
|
-
|
|
5889
|
+
AgroEntityService.prototype.getBodyFilters = function () {
|
|
5916
5890
|
return function (s) {
|
|
5917
5891
|
var order = '';
|
|
5918
5892
|
if (s.order === 1) {
|
|
@@ -5924,10 +5898,10 @@
|
|
|
5924
5898
|
return "" + s.field + order;
|
|
5925
5899
|
};
|
|
5926
5900
|
};
|
|
5927
|
-
|
|
5901
|
+
AgroEntityService.prototype.defaultCatch = function (errorMsgs) {
|
|
5928
5902
|
var _this = this;
|
|
5929
5903
|
if (errorMsgs === void 0) { errorMsgs = []; }
|
|
5930
|
-
var
|
|
5904
|
+
var unauthorized401 = 401;
|
|
5931
5905
|
errorMsgs = __spread(errorMsgs);
|
|
5932
5906
|
var zero = 0;
|
|
5933
5907
|
return operators.catchError(function (err) {
|
|
@@ -5935,7 +5909,7 @@
|
|
|
5935
5909
|
var errorMessage = errorMsgs.find(function (eMsg) { return eMsg.status === (err === null || err === void 0 ? void 0 : err.status) || zero; });
|
|
5936
5910
|
var summary = err.status ? String(err.status) : 'Error';
|
|
5937
5911
|
var detail = _this.getErrorMessage(err);
|
|
5938
|
-
if (err.status ===
|
|
5912
|
+
if (err.status === unauthorized401) {
|
|
5939
5913
|
summary = _this.translate.instant('agro.angular_components.error_unauthorized_title');
|
|
5940
5914
|
detail = _this.translate.instant('agro.angular_components.error_unauthorized_description');
|
|
5941
5915
|
}
|
|
@@ -5952,8 +5926,9 @@
|
|
|
5952
5926
|
return rxjs.throwError(err);
|
|
5953
5927
|
});
|
|
5954
5928
|
};
|
|
5955
|
-
|
|
5956
|
-
|
|
5929
|
+
AgroEntityService.prototype.getErrorMessage = function (err) {
|
|
5930
|
+
var _a;
|
|
5931
|
+
if ((_a = err === null || err === void 0 ? void 0 : err.error) === null || _a === void 0 ? void 0 : _a.message) {
|
|
5957
5932
|
return err.error.message;
|
|
5958
5933
|
}
|
|
5959
5934
|
if (err.statusText) {
|
|
@@ -5964,35 +5939,39 @@
|
|
|
5964
5939
|
}
|
|
5965
5940
|
return 'Error';
|
|
5966
5941
|
};
|
|
5967
|
-
|
|
5942
|
+
AgroEntityService.prototype.list = function (listParams, errorMessage) {
|
|
5968
5943
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5969
5944
|
return this.http
|
|
5970
5945
|
.get(this.entityUrl, { params: this.getListQueryParams(listParams) })
|
|
5971
5946
|
.pipe(this.defaultCatch(errorMessage));
|
|
5972
5947
|
};
|
|
5973
|
-
|
|
5948
|
+
AgroEntityService.prototype.get = function (id, errorMessage) {
|
|
5974
5949
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5975
5950
|
return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
5976
5951
|
};
|
|
5977
|
-
|
|
5952
|
+
AgroEntityService.prototype.insert = function (entity, errorMessage) {
|
|
5978
5953
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5979
5954
|
return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch(errorMessage));
|
|
5980
5955
|
};
|
|
5981
|
-
|
|
5956
|
+
AgroEntityService.prototype.update = function (id, entity, errorMessage) {
|
|
5982
5957
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5983
5958
|
return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch(errorMessage));
|
|
5984
5959
|
};
|
|
5985
|
-
|
|
5960
|
+
AgroEntityService.prototype.delete = function (id, errorMessage) {
|
|
5986
5961
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5987
5962
|
return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
5988
5963
|
};
|
|
5989
|
-
|
|
5964
|
+
AgroEntityService.prototype.listCustomFilter = function (listParams, action, errorMessage) {
|
|
5990
5965
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5991
5966
|
return this.http
|
|
5992
5967
|
.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams))
|
|
5993
5968
|
.pipe(this.defaultCatch(errorMessage));
|
|
5994
5969
|
};
|
|
5995
|
-
|
|
5970
|
+
AgroEntityService.prototype.insertBulk = function (entities) {
|
|
5971
|
+
var body = entities ? { entities: entities } : {};
|
|
5972
|
+
return this.http.post(this.entityUrl + "/bulk", body).pipe(this.defaultCatch());
|
|
5973
|
+
};
|
|
5974
|
+
return AgroEntityService;
|
|
5996
5975
|
}());
|
|
5997
5976
|
|
|
5998
5977
|
var EventControlItemService = /** @class */ (function (_super) {
|
|
@@ -6018,7 +5997,7 @@
|
|
|
6018
5997
|
core.Injectable()
|
|
6019
5998
|
], EventControlItemService);
|
|
6020
5999
|
return EventControlItemService;
|
|
6021
|
-
}(
|
|
6000
|
+
}(AgroEntityService));
|
|
6022
6001
|
|
|
6023
6002
|
var PaginatorStorageService = /** @class */ (function () {
|
|
6024
6003
|
function PaginatorStorageService() {
|
|
@@ -6106,7 +6085,7 @@
|
|
|
6106
6085
|
core.Injectable()
|
|
6107
6086
|
], EventControlService);
|
|
6108
6087
|
return EventControlService;
|
|
6109
|
-
}(
|
|
6088
|
+
}(AgroEntityService));
|
|
6110
6089
|
|
|
6111
6090
|
var ProducerInvoice = /** @class */ (function () {
|
|
6112
6091
|
function ProducerInvoice() {
|
|
@@ -6142,144 +6121,6 @@
|
|
|
6142
6121
|
return ProducerInvoice;
|
|
6143
6122
|
}());
|
|
6144
6123
|
|
|
6145
|
-
var AgroEntityService = /** @class */ (function () {
|
|
6146
|
-
function AgroEntityService(http, messageService, entityUrl, actionsUrl, queriesUrl, translate) {
|
|
6147
|
-
this.http = http;
|
|
6148
|
-
this.messageService = messageService;
|
|
6149
|
-
this.entityUrl = entityUrl;
|
|
6150
|
-
this.actionsUrl = actionsUrl;
|
|
6151
|
-
this.queriesUrl = queriesUrl;
|
|
6152
|
-
this.translate = translate;
|
|
6153
|
-
this.http = http;
|
|
6154
|
-
this.messageService = messageService;
|
|
6155
|
-
this.entityUrl = entityUrl;
|
|
6156
|
-
this.actionsUrl = actionsUrl;
|
|
6157
|
-
this.queriesUrl = queriesUrl;
|
|
6158
|
-
this.translate = translate;
|
|
6159
|
-
this.defaultCatch = this.defaultCatch.bind(this);
|
|
6160
|
-
}
|
|
6161
|
-
AgroEntityService.prototype.getListQueryParams = function (listParams) {
|
|
6162
|
-
var ten = 10;
|
|
6163
|
-
var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? ten : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? '' : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
|
|
6164
|
-
var params = new http.HttpParams();
|
|
6165
|
-
params = params.append('size', String(size));
|
|
6166
|
-
params = params.append('offset', String(page));
|
|
6167
|
-
if (sort && sort.length) {
|
|
6168
|
-
params = params.append('orderby', sort.map(this.getBodyFilters()).join(', '));
|
|
6169
|
-
}
|
|
6170
|
-
if (filterQuery) {
|
|
6171
|
-
params = params.append('filter', filterQuery);
|
|
6172
|
-
}
|
|
6173
|
-
if (displayFields && displayFields.length) {
|
|
6174
|
-
params = params.append('displayfields', displayFields.join());
|
|
6175
|
-
}
|
|
6176
|
-
return params;
|
|
6177
|
-
};
|
|
6178
|
-
AgroEntityService.prototype.getBodyParams = function (listParams) {
|
|
6179
|
-
var ten = 10;
|
|
6180
|
-
var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? ten : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? '' : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
|
|
6181
|
-
var bodyParams = {};
|
|
6182
|
-
bodyParams.size = size;
|
|
6183
|
-
bodyParams.offset = page;
|
|
6184
|
-
if (sort && sort.length) {
|
|
6185
|
-
bodyParams.orderBy = sort.map(this.getBodyFilters()).join(', ');
|
|
6186
|
-
}
|
|
6187
|
-
if (filterQuery) {
|
|
6188
|
-
bodyParams.filter = filterQuery;
|
|
6189
|
-
}
|
|
6190
|
-
if (displayFields && displayFields.length) {
|
|
6191
|
-
bodyParams.displayfields = displayFields.join();
|
|
6192
|
-
}
|
|
6193
|
-
return bodyParams;
|
|
6194
|
-
};
|
|
6195
|
-
AgroEntityService.prototype.getBodyFilters = function () {
|
|
6196
|
-
return function (s) {
|
|
6197
|
-
var order = '';
|
|
6198
|
-
if (s.order === 1) {
|
|
6199
|
-
order = ' asc';
|
|
6200
|
-
}
|
|
6201
|
-
if (s.order === -1) {
|
|
6202
|
-
order = ' desc';
|
|
6203
|
-
}
|
|
6204
|
-
return "" + s.field + order;
|
|
6205
|
-
};
|
|
6206
|
-
};
|
|
6207
|
-
AgroEntityService.prototype.defaultCatch = function (errorMsgs) {
|
|
6208
|
-
var _this = this;
|
|
6209
|
-
if (errorMsgs === void 0) { errorMsgs = []; }
|
|
6210
|
-
var unauthorized_401 = 401;
|
|
6211
|
-
// errorMsgs = [...errorMsgs, ...DefaultErrorMessages];
|
|
6212
|
-
errorMsgs = __spread(errorMsgs);
|
|
6213
|
-
var zero = 0;
|
|
6214
|
-
return operators.catchError(function (err) {
|
|
6215
|
-
if (err) {
|
|
6216
|
-
var errorMessage = errorMsgs.find(function (eMsg) { return eMsg.status === (err === null || err === void 0 ? void 0 : err.status) || zero; });
|
|
6217
|
-
var summary = err.status ? String(err.status) : 'Error';
|
|
6218
|
-
var detail = _this.getErrorMessage(err);
|
|
6219
|
-
if (err.status === unauthorized_401) {
|
|
6220
|
-
summary = _this.translate.instant('agro.angular_components.error_unauthorized_title');
|
|
6221
|
-
detail = _this.translate.instant('agro.angular_components.error_unauthorized_description');
|
|
6222
|
-
}
|
|
6223
|
-
if (errorMessage) {
|
|
6224
|
-
summary = errorMessage.summary ? _this.translate.instant(errorMessage.summary) : summary;
|
|
6225
|
-
detail = errorMessage.detail ? _this.translate.instant(errorMessage.detail) : detail;
|
|
6226
|
-
}
|
|
6227
|
-
_this.messageService.add({
|
|
6228
|
-
severity: 'error',
|
|
6229
|
-
summary: summary,
|
|
6230
|
-
detail: detail,
|
|
6231
|
-
});
|
|
6232
|
-
}
|
|
6233
|
-
return rxjs.throwError(err);
|
|
6234
|
-
});
|
|
6235
|
-
};
|
|
6236
|
-
AgroEntityService.prototype.getErrorMessage = function (err) {
|
|
6237
|
-
if (err.error && err.error.message) {
|
|
6238
|
-
return err.error.message;
|
|
6239
|
-
}
|
|
6240
|
-
if (err.statusText) {
|
|
6241
|
-
return err.statusText;
|
|
6242
|
-
}
|
|
6243
|
-
if (err.message) {
|
|
6244
|
-
return err.message;
|
|
6245
|
-
}
|
|
6246
|
-
return 'Error';
|
|
6247
|
-
};
|
|
6248
|
-
AgroEntityService.prototype.list = function (listParams, errorMessage) {
|
|
6249
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6250
|
-
return this.http
|
|
6251
|
-
.get(this.entityUrl, { params: this.getListQueryParams(listParams) })
|
|
6252
|
-
.pipe(this.defaultCatch(errorMessage));
|
|
6253
|
-
};
|
|
6254
|
-
AgroEntityService.prototype.get = function (id, errorMessage) {
|
|
6255
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6256
|
-
return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
6257
|
-
};
|
|
6258
|
-
AgroEntityService.prototype.insert = function (entity, errorMessage) {
|
|
6259
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6260
|
-
return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch(errorMessage));
|
|
6261
|
-
};
|
|
6262
|
-
AgroEntityService.prototype.update = function (id, entity, errorMessage) {
|
|
6263
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6264
|
-
return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch(errorMessage));
|
|
6265
|
-
};
|
|
6266
|
-
AgroEntityService.prototype.delete = function (id, errorMessage) {
|
|
6267
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6268
|
-
return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
6269
|
-
};
|
|
6270
|
-
AgroEntityService.prototype.listCustomFilter = function (listParams, action, errorMessage) {
|
|
6271
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6272
|
-
return this.http
|
|
6273
|
-
.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams))
|
|
6274
|
-
.pipe(this.defaultCatch(errorMessage));
|
|
6275
|
-
};
|
|
6276
|
-
AgroEntityService.prototype.insertBulk = function (entities) {
|
|
6277
|
-
var body = entities ? { entities: entities } : {};
|
|
6278
|
-
return this.http.post(this.entityUrl + "/bulk", body).pipe(this.defaultCatch());
|
|
6279
|
-
};
|
|
6280
|
-
return AgroEntityService;
|
|
6281
|
-
}());
|
|
6282
|
-
|
|
6283
6124
|
var ProducerInvoiceService = /** @class */ (function (_super) {
|
|
6284
6125
|
__extends(ProducerInvoiceService, _super);
|
|
6285
6126
|
function ProducerInvoiceService(http, messageService, translate) {
|
|
@@ -6931,7 +6772,7 @@
|
|
|
6931
6772
|
EventControlBoardComponent = __decorate([
|
|
6932
6773
|
core.Component({
|
|
6933
6774
|
selector: "event-control-board",
|
|
6934
|
-
template: "<ng-container *sLoadingState=\"gridLoading\">\r\n <p-panel>\r\n <p-header>\r\n {{ \"agro.angular_components.event_control_header\" | libTranslate }}\r\n </p-header>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12\">\r\n <s-button\r\n id=\"refresh-button\"\r\n [priority]=\"ButtonPriority.Primary\"\r\n iconClass=\"fa fa-refresh\"\r\n [label]=\"'agro.angular_components.refresh' | libTranslate\"\r\n (click)=\"onSearch()\"\r\n >\r\n </s-button>\r\n <s-button\r\n *ngIf=\"standalone && showCancelButton\"\r\n id=\"cancel-button-agro-events-lib\"\r\n iconClass=\"fa fa-times\"\r\n [label]=\"'agro.angular_components.cancel' | libTranslate\"\r\n (click)=\"openCancelModal()\"\r\n >\r\n </s-button>\r\n </div>\r\n </div>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12 ui-md-12\" *ngIf=\"!gridData || gridData?.length === 0\">\r\n <s-empty-state\r\n iconClass=\"fa fa-exclamation-triangle\"\r\n title=\"{{ 'agro.angular_components.nothing_found' | libTranslate }}\"\r\n [showPrimaryAction]=\"false\"\r\n description=\"{{ 'agro.angular_components.table_empty_description' | libTranslate }}\"\r\n >\r\n </s-empty-state>\r\n </div>\r\n <ng-container *ngIf=\"gridData?.length > 0\">\r\n <p-table\r\n stylelass=\"custom-table\"\r\n #eventControlTable\r\n [value]=\"gridDataResolved\"\r\n [columns]=\"gridColumns\"\r\n dataKey=\"id\"\r\n [lazy]=\"true\"\r\n [scrollable]=\"true\"\r\n [resizableColumns]=\"true\"\r\n [paginator]=\"!standalone\"\r\n [totalRecords]=\"gridTotalRecords\"\r\n [rows]=\"10\"\r\n [responsive]=\"true\"\r\n (onLazyLoad)=\"onGridChange($event)\"\r\n [sortOrder]=\"getSortOrder()\"\r\n [first]=\"getRowIndex()\"\r\n [lazyLoadOnInit]=\"false\"\r\n sortMode=\"multiple\"\r\n [rows]=\"getPageSize()\"\r\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\"\r\n >\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr>\r\n <ng-container *ngIf=\"!standalone\">\r\n <th *ngFor=\"let col of columns\" class=\"ui-lg-1 ui-md-1\" [pSortableColumn]=\"col.field\" scope=\"col\">\r\n <div class=\"senior-header\">\r\n <span class=\"senior-header-title\">{{ col.header }}</span>\r\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\r\n </div>\r\n </th>\r\n </ng-container>\r\n <th class=\"ui-lg-8 ui-md-7\" scope=\"col\">\r\n {{ \"agro.angular_components.panel_title_events_events\" | libTranslate }}\r\n </th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-rowData>\r\n <tr>\r\n <ng-container *ngIf=\"!standalone\">\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n {{ rowData.e070emp?.nomEmp }}\r\n </td>\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n {{ rowData.e070fil?.nomFil }}\r\n </td>\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n <ng-container [ngSwitch]=\"rowData.eventOrigin\">\r\n <span *ngSwitchCase=\"'BALANCE_ENTRY_CONTROL'\">\r\n {{ \"agro.angular_components.balance_entry_control_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TICKET'\">\r\n {{ \"agro.angular_components.ticket_maintenance_header\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TRANSFER'\">\r\n {{ \"agro.angular_components.transfer_origin_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'INVOICE'\">\r\n {{ \"agro.angular_components.invoice_creating_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'CHANGE_REQUEST'\">\r\n {{ \"agro.angular_components.change_request_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'FIXATION'\">\r\n {{ \"agro.angular_components.fixation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'CANCEL_FIXATION'\">\r\n {{ \"agro.angular_components.cancel_fixation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TRANSFER_CANCELLATION'\">\r\n {{ \"agro.angular_components.transfer_cancellation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'AGRONOMIC_PRESCRIPTION'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'PRESCRIPTION_INTEGRATION_HUB'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </span>\r\n </ng-container>\r\n </td>\r\n <td class=\"ui-lg-1 ui ui-md-1\">\r\n {{ rowData.controlCode || \"\" }}\r\n </td>\r\n </ng-container>\r\n <td class=\"ui-lg-8 ui-md-7\">\r\n <ng-container *ngFor=\"let group of rowData.groups\">\r\n <s-event-steps\r\n [steps]=\"group.steps || []\"\r\n [activeIndex]=\"group.activeIndex\"\r\n (stepSelected)=\"stepSelected($event)\"\r\n >\r\n </s-event-steps>\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template *ngIf=\"!standalone\" pTemplate=\"paginatorright\" class=\"custom-table\">\r\n <span>\r\n {{ \"agro.angular_components.registers_found\" | libTranslate: { total: gridTotalRecords } }}\r\n </span>\r\n </ng-template>\r\n </p-table>\r\n </ng-container>\r\n </div>\r\n </p-panel>\r\n</ng-container>\r\n<s-sidebar\r\n [visible]=\"showSidebar\"\r\n (visibleChange)=\"closeSidebar()\"\r\n header=\"{{ 'agro.angular_components.event_details_header' | libTranslate }}\"\r\n>\r\n <div class=\"ui-fluid\">\r\n <p-fieldset [legend]=\"sidebarTitle\" [toggleable]=\"false\">\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.event_origin_label\" | libTranslate }}</strong></span\r\n >\r\n <ng-container [ngSwitch]=\"selectedStep?.eventType\">\r\n <p *ngSwitchCase=\"'BALANCE_ENTRY_CONTROL'\">\r\n {{ \"agro.angular_components.balance_entry_control_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TICKET'\">\r\n {{ \"agro.angular_components.ticket_maintenance_header\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TRANSFER'\">\r\n {{ \"agro.angular_components.transfer_origin_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'INVOICE'\">\r\n {{ \"agro.angular_components.invoice_creating_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'CHANGE_REQUEST'\">\r\n {{ \"agro.angular_components.change_request_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'FIXATION'\">\r\n {{ \"agro.angular_components.fixation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'CANCEL_FIXATION'\">\r\n {{ \"agro.angular_components.cancel_fixation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TRANSFER_CANCELLATION'\">\r\n {{ \"agro.angular_components.transfer_cancellation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'AGRONOMIC_PRESCRIPTION'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'PRESCRIPTION_INTEGRATION_HUB'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </p>\r\n </ng-container>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"producerInvoice?.producerBalanceEntryControl.producer.e001pes.nomPes\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.supplier\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ producerInvoice?.producerBalanceEntryControl.producer.e001pes.nomPes }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"producerInvoice?.producerBalanceEntryControl.ruralEstate.name\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.rural_estate\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ producerInvoice?.producerBalanceEntryControl.ruralEstate.name }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"selectedStep?.controlCode\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.control_code\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.controlCode }}</p>\r\n </div>\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.status_label\" | libTranslate }}</strong></span\r\n >\r\n <ng-container [ngSwitch]=\"selectedStep?.item.status\">\r\n <p *ngSwitchCase=\"'SUCCESS'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Green\"\r\n text=\"{{ 'agro.angular_components.panel_title_events_completed_successfully' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'PROCESSING'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Orange\"\r\n text=\"{{ 'agro.angular_components.processing' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'FAILED'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Red\"\r\n text=\"{{ 'agro.angular_components.panel_title_events_ended_with_error' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'PENDING'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Gray\"\r\n text=\"{{ 'agro.angular_components.pending' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n </ng-container>\r\n </div>\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.last_update_date\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.item.lastModifiedDate | date: \"dd/MM/yyyy HH:mm:ss\" }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"selectedStep?.item.status === 'FAILED'\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.event_error_message\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.item.message || \"-\" }}</p>\r\n </div>\r\n </div>\r\n </p-fieldset>\r\n </div>\r\n <s-footer>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12 width-fit\">\r\n <s-button\r\n id=\"sidebar-close-button\"\r\n [priority]=\"ButtonPriority.Primary\"\r\n [label]=\"'agro.angular_components.events_close' | libTranslate\"\r\n [auxiliary]=\"false\"\r\n (click)=\"closeSidebar()\"\r\n >\r\n </s-button>\r\n <s-button\r\n *ngIf=\"showReprocessButton\"\r\n id=\"sidebar-reprocess-button\"\r\n [priority]=\"ButtonPriority.Secondary\"\r\n iconClass=\"fa fa-refresh\"\r\n [label]=\"'agro.angular_components.reprocess_event' | libTranslate\"\r\n [auxiliary]=\"false\"\r\n (click)=\"openModal()\"\r\n >\r\n </s-button>\r\n </div>\r\n </div>\r\n </s-footer>\r\n</s-sidebar>\r\n\r\n<p-dialog [header]=\"'agro.angular_components.event_modal_title' | libTranslate\" [(visible)]=\"displayModal\" [modal]=\"true\" class=\"dialog\">\r\n <div class=\"event-modal-text\">{{ \"agro.angular_components.event_modal\" | libTranslate }}</div>\r\n <p-footer>\r\n <div class=\"ui-dialog-buttonpane ui-widget-content ui-helper-clearfix\">\r\n <button\r\n id=\"modal-yes\"\r\n type=\"button\"\r\n pButton\r\n icon=\"fa fa-check\"\r\n (click)=\"confirmModal()\"\r\n label=\"{{ 'agro.angular_components.yes' | libTranslate }}\"\r\n class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only\"\r\n ></button>\r\n <button\r\n id=\"modal-no\"\r\n type=\"button\"\r\n pButton\r\n icon=\"fa fa-close\"\r\n (click)=\"cancelModal()\"\r\n label=\"{{ 'agro.angular_components.no' | libTranslate }}\"\r\n class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only\"\r\n ></button>\r\n </div>\r\n </p-footer>\r\n</p-dialog>\r\n",
|
|
6775
|
+
template: "<ng-container *sLoadingState=\"gridLoading\">\r\n <p-panel>\r\n <p-header>\r\n {{ \"agro.angular_components.event_control_header\" | libTranslate }}\r\n </p-header>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12\">\r\n <s-button\r\n id=\"refresh-button\"\r\n [priority]=\"ButtonPriority.Primary\"\r\n iconClass=\"fa fa-refresh\"\r\n [label]=\"'agro.angular_components.refresh' | libTranslate\"\r\n (click)=\"onSearch()\"\r\n >\r\n </s-button>\r\n <s-button\r\n *ngIf=\"standalone && showCancelButton\"\r\n id=\"cancel-button-agro-events-lib\"\r\n iconClass=\"fa fa-times\"\r\n [label]=\"'agro.angular_components.cancel' | libTranslate\"\r\n (click)=\"openCancelModal()\"\r\n >\r\n </s-button>\r\n </div>\r\n </div>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12 ui-md-12\" *ngIf=\"!gridData || gridData?.length === 0\">\r\n <s-empty-state\r\n iconClass=\"fa fa-exclamation-triangle\"\r\n title=\"{{ 'agro.angular_components.nothing_found' | libTranslate }}\"\r\n [showPrimaryAction]=\"false\"\r\n description=\"{{ 'agro.angular_components.table_empty_description' | libTranslate }}\"\r\n >\r\n </s-empty-state>\r\n </div>\r\n <ng-container *ngIf=\"gridData?.length > 0\">\r\n <p-table\r\n stylelass=\"custom-table\"\r\n #eventControlTable\r\n [value]=\"gridDataResolved\"\r\n [columns]=\"gridColumns\"\r\n dataKey=\"id\"\r\n [lazy]=\"true\"\r\n [scrollable]=\"true\"\r\n [resizableColumns]=\"true\"\r\n [paginator]=\"!standalone\"\r\n [totalRecords]=\"gridTotalRecords\"\r\n [rows]=\"10\"\r\n [responsive]=\"true\"\r\n (onLazyLoad)=\"onGridChange($event)\"\r\n [sortOrder]=\"getSortOrder()\"\r\n [first]=\"getRowIndex()\"\r\n [lazyLoadOnInit]=\"false\"\r\n sortMode=\"multiple\"\r\n [rows]=\"getPageSize()\"\r\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\"\r\n >\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr>\r\n <ng-container *ngIf=\"!standalone\">\r\n <th *ngFor=\"let col of columns\" class=\"ui-lg-1 ui-md-1\" [pSortableColumn]=\"col.field\" scope=\"col\">\r\n <div class=\"senior-header\">\r\n <span class=\"senior-header-title\">{{ col.header }}</span>\r\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\r\n </div>\r\n </th>\r\n </ng-container>\r\n <th class=\"ui-lg-8 ui-md-7\" scope=\"col\">\r\n {{ \"agro.angular_components.panel_title_events_events\" | libTranslate }}\r\n </th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-rowData>\r\n <tr>\r\n <ng-container *ngIf=\"!standalone\">\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n {{ rowData.e070emp?.nomEmp }}\r\n </td>\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n {{ rowData.e070fil?.nomFil }}\r\n </td>\r\n <td class=\"ui-lg-1 ui-md-1\">\r\n <ng-container [ngSwitch]=\"rowData.eventOrigin\">\r\n <span *ngSwitchCase=\"'BALANCE_ENTRY_CONTROL'\">\r\n {{ \"agro.angular_components.balance_entry_control_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TICKET'\">\r\n {{ \"agro.angular_components.ticket_maintenance_header\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TRANSFER'\">\r\n {{ \"agro.angular_components.transfer_origin_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'INVOICE'\">\r\n {{ \"agro.angular_components.CREATE_INVOICE_FIXATION\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'CHANGE_REQUEST'\">\r\n {{ \"agro.angular_components.change_request_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'FIXATION'\">\r\n {{ \"agro.angular_components.fixation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'CANCEL_FIXATION'\">\r\n {{ \"agro.angular_components.cancel_fixation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'TRANSFER_CANCELLATION'\">\r\n {{ \"agro.angular_components.transfer_cancellation_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'AGRONOMIC_PRESCRIPTION'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </span>\r\n <span *ngSwitchCase=\"'PRESCRIPTION_INTEGRATION_HUB'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </span>\r\n </ng-container>\r\n </td>\r\n <td class=\"ui-lg-1 ui ui-md-1\">\r\n {{ rowData.controlCode || \"\" }}\r\n </td>\r\n </ng-container>\r\n <td class=\"ui-lg-8 ui-md-7\">\r\n <ng-container *ngFor=\"let group of rowData.groups\">\r\n <s-event-steps\r\n [steps]=\"group.steps || []\"\r\n [activeIndex]=\"group.activeIndex\"\r\n (stepSelected)=\"stepSelected($event)\"\r\n >\r\n </s-event-steps>\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template *ngIf=\"!standalone\" pTemplate=\"paginatorright\" class=\"custom-table\">\r\n <span>\r\n {{ \"agro.angular_components.registers_found\" | libTranslate: { total: gridTotalRecords } }}\r\n </span>\r\n </ng-template>\r\n </p-table>\r\n </ng-container>\r\n </div>\r\n </p-panel>\r\n</ng-container>\r\n<s-sidebar\r\n [visible]=\"showSidebar\"\r\n (visibleChange)=\"closeSidebar()\"\r\n header=\"{{ 'agro.angular_components.event_details_header' | libTranslate }}\"\r\n>\r\n <div class=\"ui-fluid\">\r\n <p-fieldset [legend]=\"sidebarTitle\" [toggleable]=\"false\">\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.event_origin_label\" | libTranslate }}</strong></span\r\n >\r\n <ng-container [ngSwitch]=\"selectedStep?.eventType\">\r\n <p *ngSwitchCase=\"'BALANCE_ENTRY_CONTROL'\">\r\n {{ \"agro.angular_components.balance_entry_control_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TICKET'\">\r\n {{ \"agro.angular_components.ticket_maintenance_header\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TRANSFER'\">\r\n {{ \"agro.angular_components.transfer_origin_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'INVOICE'\">\r\n {{ \"agro.angular_components.CREATE_INVOICE_FIXATION\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'CHANGE_REQUEST'\">\r\n {{ \"agro.angular_components.change_request_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'FIXATION'\">\r\n {{ \"agro.angular_components.fixation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'CANCEL_FIXATION'\">\r\n {{ \"agro.angular_components.cancel_fixation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'TRANSFER_CANCELLATION'\">\r\n {{ \"agro.angular_components.transfer_cancellation_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'AGRONOMIC_PRESCRIPTION'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </p>\r\n <p *ngSwitchCase=\"'PRESCRIPTION_INTEGRATION_HUB'\">\r\n {{ \"agro.angular_components.agronomic_prescription_origin_event\" | libTranslate }}\r\n </p>\r\n </ng-container>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"producerInvoice?.producerBalanceEntryControl.producer.e001pes.nomPes\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.supplier\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ producerInvoice?.producerBalanceEntryControl.producer.e001pes.nomPes }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"producerInvoice?.producerBalanceEntryControl.ruralEstate.name\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.rural_estate\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ producerInvoice?.producerBalanceEntryControl.ruralEstate.name }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"selectedStep?.controlCode\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.control_code\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.controlCode }}</p>\r\n </div>\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.status_label\" | libTranslate }}</strong></span\r\n >\r\n <ng-container [ngSwitch]=\"selectedStep?.item.status\">\r\n <p *ngSwitchCase=\"'SUCCESS'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Green\"\r\n text=\"{{ 'agro.angular_components.panel_title_events_completed_successfully' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'PROCESSING'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Orange\"\r\n text=\"{{ 'agro.angular_components.processing' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'FAILED'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Red\"\r\n text=\"{{ 'agro.angular_components.panel_title_events_ended_with_error' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n <p *ngSwitchCase=\"'PENDING'\">\r\n <s-badge\r\n [color]=\"BadgeColors.Gray\"\r\n text=\"{{ 'agro.angular_components.pending' | libTranslate }}\"\r\n [selectable]=\"false\"\r\n >\r\n </s-badge>\r\n </p>\r\n </ng-container>\r\n </div>\r\n <div class=\"ui-g-4\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.last_update_date\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.item.lastModifiedDate | date: \"dd/MM/yyyy HH:mm:ss\" }}</p>\r\n </div>\r\n <div class=\"ui-g-4\" *ngIf=\"selectedStep?.item.status === 'FAILED'\">\r\n <span\r\n ><strong>{{ \"agro.angular_components.event_error_message\" | libTranslate }}</strong></span\r\n >\r\n <p>{{ selectedStep?.item.message || \"-\" }}</p>\r\n </div>\r\n </div>\r\n </p-fieldset>\r\n </div>\r\n <s-footer>\r\n <div class=\"ui-g\">\r\n <div class=\"ui-g-12 width-fit\">\r\n <s-button\r\n id=\"sidebar-close-button\"\r\n [priority]=\"ButtonPriority.Primary\"\r\n [label]=\"'agro.angular_components.events_close' | libTranslate\"\r\n [auxiliary]=\"false\"\r\n (click)=\"closeSidebar()\"\r\n >\r\n </s-button>\r\n <s-button\r\n *ngIf=\"showReprocessButton\"\r\n id=\"sidebar-reprocess-button\"\r\n [priority]=\"ButtonPriority.Secondary\"\r\n iconClass=\"fa fa-refresh\"\r\n [label]=\"'agro.angular_components.reprocess_event' | libTranslate\"\r\n [auxiliary]=\"false\"\r\n (click)=\"openModal()\"\r\n >\r\n </s-button>\r\n </div>\r\n </div>\r\n </s-footer>\r\n</s-sidebar>\r\n\r\n<p-dialog [header]=\"'agro.angular_components.event_modal_title' | libTranslate\" [(visible)]=\"displayModal\" [modal]=\"true\" class=\"dialog\">\r\n <div class=\"event-modal-text\">{{ \"agro.angular_components.event_modal\" | libTranslate }}</div>\r\n <p-footer>\r\n <div class=\"ui-dialog-buttonpane ui-widget-content ui-helper-clearfix\">\r\n <button\r\n id=\"modal-yes\"\r\n type=\"button\"\r\n pButton\r\n icon=\"fa fa-check\"\r\n (click)=\"confirmModal()\"\r\n label=\"{{ 'agro.angular_components.yes' | libTranslate }}\"\r\n class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only\"\r\n ></button>\r\n <button\r\n id=\"modal-no\"\r\n type=\"button\"\r\n pButton\r\n icon=\"fa fa-close\"\r\n (click)=\"cancelModal()\"\r\n label=\"{{ 'agro.angular_components.no' | libTranslate }}\"\r\n class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only\"\r\n ></button>\r\n </div>\r\n </p-footer>\r\n</p-dialog>\r\n",
|
|
6935
6776
|
providers: [{ provide: core.LOCALE_ID, useValue: "pt-BR" }],
|
|
6936
6777
|
styles: [".frozen{border-left:2px solid #ddd}.dialog{width:\"600px\";height:\"300px\";z-index:100000}:host ::ng-deep #cancel-button-agro-events-lib{background-color:#9c3a3a!important;border-color:#9c3a3a!important}:host ::ng-deep #cancel-button-agro-events-lib:hover{background-color:#642525!important}"]
|
|
6937
6778
|
})
|
|
@@ -6967,7 +6808,7 @@
|
|
|
6967
6808
|
core.Injectable()
|
|
6968
6809
|
], E001pesService);
|
|
6969
6810
|
return E001pesService;
|
|
6970
|
-
}(
|
|
6811
|
+
}(AgroEntityService));
|
|
6971
6812
|
|
|
6972
6813
|
var E001pesModule = /** @class */ (function () {
|
|
6973
6814
|
function E001pesModule() {
|
|
@@ -7009,7 +6850,7 @@
|
|
|
7009
6850
|
core.Injectable()
|
|
7010
6851
|
], E001TnsService);
|
|
7011
6852
|
return E001TnsService;
|
|
7012
|
-
}(
|
|
6853
|
+
}(AgroEntityService));
|
|
7013
6854
|
|
|
7014
6855
|
var E001TnsModule = /** @class */ (function () {
|
|
7015
6856
|
function E001TnsModule() {
|
|
@@ -7053,7 +6894,7 @@
|
|
|
7053
6894
|
core.Injectable()
|
|
7054
6895
|
], E012famService);
|
|
7055
6896
|
return E012famService;
|
|
7056
|
-
}(
|
|
6897
|
+
}(AgroEntityService));
|
|
7057
6898
|
|
|
7058
6899
|
var E070EmpService = /** @class */ (function (_super) {
|
|
7059
6900
|
__extends(E070EmpService, _super);
|
|
@@ -7080,7 +6921,7 @@
|
|
|
7080
6921
|
core.Injectable()
|
|
7081
6922
|
], E070EmpService);
|
|
7082
6923
|
return E070EmpService;
|
|
7083
|
-
}(
|
|
6924
|
+
}(AgroEntityService));
|
|
7084
6925
|
|
|
7085
6926
|
var E070EmpModule = /** @class */ (function () {
|
|
7086
6927
|
function E070EmpModule() {
|
|
@@ -7129,7 +6970,7 @@
|
|
|
7129
6970
|
core.Injectable()
|
|
7130
6971
|
], E070FilService);
|
|
7131
6972
|
return E070FilService;
|
|
7132
|
-
}(
|
|
6973
|
+
}(AgroEntityService));
|
|
7133
6974
|
|
|
7134
6975
|
var E070FilModule = /** @class */ (function () {
|
|
7135
6976
|
function E070FilModule() {
|
|
@@ -7176,7 +7017,7 @@
|
|
|
7176
7017
|
core.Injectable()
|
|
7177
7018
|
], E075DerService);
|
|
7178
7019
|
return E075DerService;
|
|
7179
|
-
}(
|
|
7020
|
+
}(AgroEntityService));
|
|
7180
7021
|
|
|
7181
7022
|
var E075DerModule = /** @class */ (function () {
|
|
7182
7023
|
function E075DerModule() {
|
|
@@ -7223,7 +7064,7 @@
|
|
|
7223
7064
|
core.Injectable()
|
|
7224
7065
|
], E205depService);
|
|
7225
7066
|
return E205depService;
|
|
7226
|
-
}(
|
|
7067
|
+
}(AgroEntityService));
|
|
7227
7068
|
|
|
7228
7069
|
var EventControlModule = /** @class */ (function () {
|
|
7229
7070
|
function EventControlModule() {
|
|
@@ -7287,7 +7128,7 @@
|
|
|
7287
7128
|
core.Injectable()
|
|
7288
7129
|
], ExternalInvoiceService);
|
|
7289
7130
|
return ExternalInvoiceService;
|
|
7290
|
-
}(
|
|
7131
|
+
}(AgroEntityService));
|
|
7291
7132
|
|
|
7292
7133
|
var ExternalInvoiceModule = /** @class */ (function () {
|
|
7293
7134
|
function ExternalInvoiceModule() {
|
|
@@ -7329,7 +7170,7 @@
|
|
|
7329
7170
|
core.Injectable()
|
|
7330
7171
|
], InvoiceService);
|
|
7331
7172
|
return InvoiceService;
|
|
7332
|
-
}(
|
|
7173
|
+
}(AgroEntityService));
|
|
7333
7174
|
|
|
7334
7175
|
var InvoiceModule = /** @class */ (function () {
|
|
7335
7176
|
function InvoiceModule() {
|
|
@@ -7373,7 +7214,7 @@
|
|
|
7373
7214
|
core.Injectable()
|
|
7374
7215
|
], OriginationService);
|
|
7375
7216
|
return OriginationService;
|
|
7376
|
-
}(
|
|
7217
|
+
}(AgroEntityService));
|
|
7377
7218
|
|
|
7378
7219
|
var OriginationModule = /** @class */ (function () {
|
|
7379
7220
|
function OriginationModule() {
|
|
@@ -7415,7 +7256,7 @@
|
|
|
7415
7256
|
core.Injectable()
|
|
7416
7257
|
], RuralEstateService);
|
|
7417
7258
|
return RuralEstateService;
|
|
7418
|
-
}(
|
|
7259
|
+
}(AgroEntityService));
|
|
7419
7260
|
|
|
7420
7261
|
var RuralEstateModule = /** @class */ (function () {
|
|
7421
7262
|
function RuralEstateModule() {
|
|
@@ -7492,7 +7333,7 @@
|
|
|
7492
7333
|
core.Injectable()
|
|
7493
7334
|
], TicketService);
|
|
7494
7335
|
return TicketService;
|
|
7495
|
-
}(
|
|
7336
|
+
}(AgroEntityService));
|
|
7496
7337
|
|
|
7497
7338
|
var TicketModule = /** @class */ (function () {
|
|
7498
7339
|
function TicketModule() {
|
|
@@ -7546,7 +7387,7 @@
|
|
|
7546
7387
|
core.Injectable()
|
|
7547
7388
|
], TransferService);
|
|
7548
7389
|
return TransferService;
|
|
7549
|
-
}(
|
|
7390
|
+
}(AgroEntityService));
|
|
7550
7391
|
|
|
7551
7392
|
var TransferModule = /** @class */ (function () {
|
|
7552
7393
|
function TransferModule() {
|
|
@@ -7595,7 +7436,7 @@
|
|
|
7595
7436
|
core.Injectable()
|
|
7596
7437
|
], FixationService);
|
|
7597
7438
|
return FixationService;
|
|
7598
|
-
}(
|
|
7439
|
+
}(AgroEntityService));
|
|
7599
7440
|
|
|
7600
7441
|
var FixationModule = /** @class */ (function () {
|
|
7601
7442
|
function FixationModule() {
|
|
@@ -7733,13 +7574,14 @@
|
|
|
7733
7574
|
|
|
7734
7575
|
var INVOICE_ITEMS = 'invoiceItems.*';
|
|
7735
7576
|
var ModalInvoicePjBase = /** @class */ (function () {
|
|
7736
|
-
function ModalInvoicePjBase(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
7577
|
+
function ModalInvoicePjBase(translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) {
|
|
7737
7578
|
var _this = this;
|
|
7738
7579
|
this.translate = translate;
|
|
7739
7580
|
this.invoiceService = invoiceService;
|
|
7740
7581
|
this.localeService = localeService;
|
|
7741
7582
|
this.kilogramPipe = kilogramPipe;
|
|
7742
7583
|
this.messageService = messageService;
|
|
7584
|
+
this.datePipe = datePipe;
|
|
7743
7585
|
this.buttonPriority = angularComponents.ButtonPriority;
|
|
7744
7586
|
this.dontHaveAnyInvoice = false;
|
|
7745
7587
|
this.gridLoading = true;
|
|
@@ -7756,7 +7598,7 @@
|
|
|
7756
7598
|
filterQuery: '',
|
|
7757
7599
|
};
|
|
7758
7600
|
this.gridFieldValuesMap = {
|
|
7759
|
-
issuanceDate: function (row) { return
|
|
7601
|
+
issuanceDate: function (row) { return _this.datePipe.transform(row.issuanceDate, 'dd/MM/yyyy', 'pt-BR'); },
|
|
7760
7602
|
invoiceItems: function (row) { return row.totalItems || 0; },
|
|
7761
7603
|
quantity: function (row) { return _this.kilogramPipe.transform(row.totalItemsQuantity || 0); },
|
|
7762
7604
|
};
|
|
@@ -7920,7 +7762,8 @@
|
|
|
7920
7762
|
{ type: AgroInvoiceService },
|
|
7921
7763
|
{ type: angularComponents.LocaleService },
|
|
7922
7764
|
{ type: KilogramPipe },
|
|
7923
|
-
{ type: primeng.MessageService }
|
|
7765
|
+
{ type: primeng.MessageService },
|
|
7766
|
+
{ type: common.DatePipe }
|
|
7924
7767
|
]; };
|
|
7925
7768
|
ModalInvoicePjBase = __decorate([
|
|
7926
7769
|
core.Directive()
|
|
@@ -7955,13 +7798,14 @@
|
|
|
7955
7798
|
|
|
7956
7799
|
var ModalInvoicePjForOriginationComponent = /** @class */ (function (_super) {
|
|
7957
7800
|
__extends(ModalInvoicePjForOriginationComponent, _super);
|
|
7958
|
-
function ModalInvoicePjForOriginationComponent(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
7959
|
-
var _this = _super.call(this, translate, invoiceService, localeService, kilogramPipe, messageService) || this;
|
|
7801
|
+
function ModalInvoicePjForOriginationComponent(translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) {
|
|
7802
|
+
var _this = _super.call(this, translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) || this;
|
|
7960
7803
|
_this.translate = translate;
|
|
7961
7804
|
_this.invoiceService = invoiceService;
|
|
7962
7805
|
_this.localeService = localeService;
|
|
7963
7806
|
_this.kilogramPipe = kilogramPipe;
|
|
7964
7807
|
_this.messageService = messageService;
|
|
7808
|
+
_this.datePipe = datePipe;
|
|
7965
7809
|
_this.whenSelectInvoices = new core.EventEmitter();
|
|
7966
7810
|
return _this;
|
|
7967
7811
|
}
|
|
@@ -7978,18 +7822,19 @@
|
|
|
7978
7822
|
{ field: 'issuanceDate', header: this.translate.instant('agro.angular_components.issuance_date') },
|
|
7979
7823
|
];
|
|
7980
7824
|
};
|
|
7981
|
-
ModalInvoicePjForOriginationComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
7982
|
-
throw new Error('Method not implemented.');
|
|
7983
|
-
};
|
|
7984
7825
|
ModalInvoicePjForOriginationComponent.prototype.adaptResult = function (result) {
|
|
7985
7826
|
return Promise.resolve(result);
|
|
7986
7827
|
};
|
|
7828
|
+
ModalInvoicePjForOriginationComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
7829
|
+
throw new Error('Method not implemented.');
|
|
7830
|
+
};
|
|
7987
7831
|
ModalInvoicePjForOriginationComponent.ctorParameters = function () { return [
|
|
7988
7832
|
{ type: LibTranslationService },
|
|
7989
7833
|
{ type: AgroInvoiceService },
|
|
7990
7834
|
{ type: angularComponents.LocaleService },
|
|
7991
7835
|
{ type: KilogramPipe },
|
|
7992
|
-
{ type: primeng.MessageService }
|
|
7836
|
+
{ type: primeng.MessageService },
|
|
7837
|
+
{ type: common.DatePipe }
|
|
7993
7838
|
]; };
|
|
7994
7839
|
__decorate([
|
|
7995
7840
|
core.Input()
|
|
@@ -8000,7 +7845,7 @@
|
|
|
8000
7845
|
ModalInvoicePjForOriginationComponent = __decorate([
|
|
8001
7846
|
core.Component({
|
|
8002
7847
|
selector: 's-modal-invoice-pj-for-origination',
|
|
8003
|
-
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.
|
|
7848
|
+
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.number' | libTranslate }}</label>\r\n <input\r\n type=\"text\"\r\n id=\"invoiceSearchInput\"\r\n pInputText\r\n [formControl]=\"searchValue\"\r\n [placeholder]=\"'' | libTranslate\"\r\n [required]=\"false\"\r\n />\r\n <div class=\"ui-g-12\">\r\n <p-table\r\n [(selection)]=\"selected\"\r\n [value]=\"gridData\"\r\n [columns]=\"gridColumns\"\r\n [scrollable]=\"true\"\r\n dataKey=\"externalInvoiceId\"\r\n [rows]=\"10\"\r\n [paginator]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n [totalRecords]=\"gridTotalRecords\"\r\n [lazy]=\"true\"\r\n (onLazyLoad)=\"updateGridData($event)\"\r\n [resizableColumns]=\"true\"\r\n *sLoadingState=\"gridLoading\"\r\n sortMode=\"multiple\"\r\n [selectionMode]=\"'multiple'\"\r\n >\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr>\r\n <th class=\"checkbox\" scope=\"col\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <ng-container *ngFor=\"let col of columns\">\r\n <th\r\n *ngIf=\"col.sortable === undefined || col.sortable\"\r\n [pSortableColumn]=\"col.field\"\r\n scope=\"col\"\r\n >\r\n {{ col.header }}\r\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\r\n </th>\r\n <th *ngIf=\"col.sortable === false || col.sortable === null\" scope=\"col\">\r\n {{ col.header }}\r\n </th>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\r\n <tr>\r\n <td class=\"checkbox\" tabindex=\"0\">\r\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\r\n </td>\r\n <td\r\n [pSelectableRow]=\"rowData\"\r\n [pSelectableRowIndex]=\"rowIndex\"\r\n *ngFor=\"let col of columns\"\r\n class=\"column\"\r\n tabindex=\"0\"\r\n >\r\n <ng-container>\r\n {{ gridFieldValuesMap[col.field] ? gridFieldValuesMap[col.field](rowData) :\r\n rowData[col.field] }}\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"paginatorright\">\r\n <span>{{ gridTotalRecords }} registros encontrados</span>\r\n </ng-template>\r\n </p-table>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"dontHaveAnyInvoice\">\r\n <s-empty-state\r\n iconClass=\"fa fa-exclamation-triangle\"\r\n title=\"{{ 'agro.angular_components.add_pj_invoice_modal_no_invoices_found' | libTranslate }}\"\r\n primaryActionLabel=\"{{ 'agro.angular_components.error_server_try_again' | libTranslate }}\"\r\n (primaryAction)=\"tryToSearchAgain()\"\r\n description=\"{{ 'agro.angular_components.no_register_found_for_external_invoices_summary' | libTranslate }}\"\r\n >\r\n </s-empty-state>\r\n </ng-container>\r\n\r\n <p-footer class=\"footer\" *ngIf=\"!dontHaveAnyInvoice\">\r\n <s-button\r\n [priority]=\"buttonPriority.Primary\"\r\n label=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [disabled]=\"!selected?.length\"\r\n (click)=\"add()\"\r\n (keydown.enter)=\"add()\"\r\n ></s-button>\r\n <s-button\r\n [priority]=\"buttonPriority.Link\"\r\n label=\"{{ 'agro.angular_components.cancel' | libTranslate }}\"\r\n (click)=\"cancel()\"\r\n (keydown.enter)=\"cancel()\"\r\n ></s-button>\r\n </p-footer>\r\n</p-dialog>\r\n",
|
|
8004
7849
|
styles: [".footer{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.add-invoice-modal{width:480px;max-width:480px}.add-invoice-modal input[type=text]{width:100%}.add-invoice-modal .ui-dialog{width:480px!important}.add-invoice-modal .ui-dialog .ui-dialog-content{min-height:175px}td.checkbox,th.checkbox{width:50px}td.column,th.column{min-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]
|
|
8005
7850
|
})
|
|
8006
7851
|
], ModalInvoicePjForOriginationComponent);
|
|
@@ -8046,57 +7891,33 @@
|
|
|
8046
7891
|
|
|
8047
7892
|
var ModalInvoicePjForTransferComponent = /** @class */ (function (_super) {
|
|
8048
7893
|
__extends(ModalInvoicePjForTransferComponent, _super);
|
|
8049
|
-
function ModalInvoicePjForTransferComponent(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
8050
|
-
var _this = _super.call(this, translate, invoiceService, localeService, kilogramPipe, messageService) || this;
|
|
7894
|
+
function ModalInvoicePjForTransferComponent(translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) {
|
|
7895
|
+
var _this = _super.call(this, translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) || this;
|
|
8051
7896
|
_this.translate = translate;
|
|
8052
7897
|
_this.invoiceService = invoiceService;
|
|
8053
7898
|
_this.localeService = localeService;
|
|
8054
7899
|
_this.kilogramPipe = kilogramPipe;
|
|
8055
7900
|
_this.messageService = messageService;
|
|
8056
|
-
_this.
|
|
7901
|
+
_this.datePipe = datePipe;
|
|
8057
7902
|
return _this;
|
|
8058
7903
|
}
|
|
8059
|
-
ModalInvoicePjForTransferComponent.prototype.ngOnInit = function () {
|
|
8060
|
-
this.defineGridColumns();
|
|
8061
|
-
_super.prototype.ngOnInit.call(this);
|
|
8062
|
-
};
|
|
8063
|
-
ModalInvoicePjForTransferComponent.prototype.defineGridColumns = function () {
|
|
8064
|
-
this.gridColumns = [
|
|
8065
|
-
{ field: 'number', header: this.translate.instant('agro.angular_components.number') },
|
|
8066
|
-
{ field: 'series', header: this.translate.instant('agro.angular_components.series') },
|
|
8067
|
-
{ field: 'invoiceItems', header: this.translate.instant('agro.angular_components.itens'), sortable: false },
|
|
8068
|
-
{ field: 'quantity', header: this.translate.instant('agro.angular_components.quantity'), sortable: false },
|
|
8069
|
-
{ field: 'issuanceDate', header: this.translate.instant('agro.angular_components.issuance_date') },
|
|
8070
|
-
];
|
|
8071
|
-
};
|
|
8072
|
-
ModalInvoicePjForTransferComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
8073
|
-
throw new Error('Method not implemented.');
|
|
8074
|
-
};
|
|
8075
|
-
ModalInvoicePjForTransferComponent.prototype.adaptResult = function (result) {
|
|
8076
|
-
return Promise.resolve(result);
|
|
8077
|
-
};
|
|
8078
7904
|
ModalInvoicePjForTransferComponent.ctorParameters = function () { return [
|
|
8079
7905
|
{ type: LibTranslationService },
|
|
8080
7906
|
{ type: AgroInvoiceService },
|
|
8081
7907
|
{ type: angularComponents.LocaleService },
|
|
8082
7908
|
{ type: KilogramPipe },
|
|
8083
|
-
{ type: primeng.MessageService }
|
|
7909
|
+
{ type: primeng.MessageService },
|
|
7910
|
+
{ type: common.DatePipe }
|
|
8084
7911
|
]; };
|
|
8085
|
-
__decorate([
|
|
8086
|
-
core.Input()
|
|
8087
|
-
], ModalInvoicePjForTransferComponent.prototype, "options", void 0);
|
|
8088
|
-
__decorate([
|
|
8089
|
-
core.Output()
|
|
8090
|
-
], ModalInvoicePjForTransferComponent.prototype, "whenSelectInvoices", void 0);
|
|
8091
7912
|
ModalInvoicePjForTransferComponent = __decorate([
|
|
8092
7913
|
core.Component({
|
|
8093
7914
|
selector: 's-modal-invoice-pj-for-transfer',
|
|
8094
|
-
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.
|
|
7915
|
+
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.number' | libTranslate }}</label>\r\n <input\r\n type=\"text\"\r\n id=\"invoiceSearchInput\"\r\n pInputText\r\n [formControl]=\"searchValue\"\r\n [placeholder]=\"'' | libTranslate\"\r\n [required]=\"false\"\r\n />\r\n <div class=\"ui-g-12\">\r\n <p-table\r\n [(selection)]=\"selected\"\r\n [value]=\"gridData\"\r\n [columns]=\"gridColumns\"\r\n [scrollable]=\"true\"\r\n dataKey=\"externalInvoiceId\"\r\n [rows]=\"10\"\r\n [paginator]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n [totalRecords]=\"gridTotalRecords\"\r\n [lazy]=\"true\"\r\n (onLazyLoad)=\"updateGridData($event)\"\r\n [resizableColumns]=\"true\"\r\n *sLoadingState=\"gridLoading\"\r\n sortMode=\"multiple\"\r\n [selectionMode]=\"'multiple'\"\r\n >\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr>\r\n <th class=\"checkbox\" scope=\"col\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <ng-container *ngFor=\"let col of columns\">\r\n <th\r\n *ngIf=\"col.sortable === undefined || col.sortable\"\r\n [pSortableColumn]=\"col.field\"\r\n scope=\"col\"\r\n >\r\n {{ col.header }}\r\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\r\n </th>\r\n <th *ngIf=\"col.sortable === false || col.sortable === null\" scope=\"col\">\r\n {{ col.header }}\r\n </th>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\r\n <tr>\r\n <td class=\"checkbox\" tabindex=\"0\">\r\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\r\n </td>\r\n <td\r\n [pSelectableRow]=\"rowData\"\r\n [pSelectableRowIndex]=\"rowIndex\"\r\n *ngFor=\"let col of columns\"\r\n class=\"column\"\r\n tabindex=\"0\"\r\n >\r\n <ng-container>\r\n {{ gridFieldValuesMap[col.field] ? gridFieldValuesMap[col.field](rowData) :\r\n rowData[col.field] }}\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"paginatorright\">\r\n <span>{{ gridTotalRecords }} registros encontrados</span>\r\n </ng-template>\r\n </p-table>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"dontHaveAnyInvoice\">\r\n <s-empty-state\r\n iconClass=\"fa fa-exclamation-triangle\"\r\n title=\"{{ 'agro.angular_components.add_pj_invoice_modal_no_invoices_found' | libTranslate }}\"\r\n primaryActionLabel=\"{{ 'agro.angular_components.error_server_try_again' | libTranslate }}\"\r\n (primaryAction)=\"tryToSearchAgain()\"\r\n description=\"{{ 'agro.angular_components.no_register_found_for_external_invoices_summary' | libTranslate }}\"\r\n >\r\n </s-empty-state>\r\n </ng-container>\r\n\r\n <p-footer class=\"footer\" *ngIf=\"!dontHaveAnyInvoice\">\r\n <s-button\r\n [priority]=\"buttonPriority.Primary\"\r\n label=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [disabled]=\"!selected?.length\"\r\n (click)=\"add()\"\r\n (keydown.enter)=\"add()\"\r\n ></s-button>\r\n <s-button\r\n [priority]=\"buttonPriority.Link\"\r\n label=\"{{ 'agro.angular_components.cancel' | libTranslate }}\"\r\n (click)=\"cancel()\"\r\n (keydown.enter)=\"cancel()\"\r\n ></s-button>\r\n </p-footer>\r\n</p-dialog>\r\n",
|
|
8095
7916
|
styles: [".footer{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.add-invoice-modal{width:480px;max-width:480px}.add-invoice-modal input[type=text]{width:100%}.add-invoice-modal .ui-dialog{width:480px!important}.add-invoice-modal .ui-dialog .ui-dialog-content{min-height:175px}td.checkbox,th.checkbox{width:50px}td.column,th.column{min-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]
|
|
8096
7917
|
})
|
|
8097
7918
|
], ModalInvoicePjForTransferComponent);
|
|
8098
7919
|
return ModalInvoicePjForTransferComponent;
|
|
8099
|
-
}(
|
|
7920
|
+
}(ModalInvoicePjForOriginationComponent));
|
|
8100
7921
|
|
|
8101
7922
|
var ModalInvoicePjForTransferModule = /** @class */ (function () {
|
|
8102
7923
|
function ModalInvoicePjForTransferModule() {
|
|
@@ -8114,8 +7935,8 @@
|
|
|
8114
7935
|
|
|
8115
7936
|
var ModalInvoicePjForFixationComponent = /** @class */ (function (_super) {
|
|
8116
7937
|
__extends(ModalInvoicePjForFixationComponent, _super);
|
|
8117
|
-
function ModalInvoicePjForFixationComponent(translationService, invoiceService, localeService, kilogramPipe, currencyPipe, producerInvoiceService, messageService) {
|
|
8118
|
-
var _this = _super.call(this, translationService, invoiceService, localeService, kilogramPipe, messageService) || this;
|
|
7938
|
+
function ModalInvoicePjForFixationComponent(translationService, invoiceService, localeService, kilogramPipe, currencyPipe, producerInvoiceService, messageService, datePipe) {
|
|
7939
|
+
var _this = _super.call(this, translationService, invoiceService, localeService, kilogramPipe, messageService, datePipe) || this;
|
|
8119
7940
|
_this.translationService = translationService;
|
|
8120
7941
|
_this.invoiceService = invoiceService;
|
|
8121
7942
|
_this.localeService = localeService;
|
|
@@ -8123,6 +7944,7 @@
|
|
|
8123
7944
|
_this.currencyPipe = currencyPipe;
|
|
8124
7945
|
_this.producerInvoiceService = producerInvoiceService;
|
|
8125
7946
|
_this.messageService = messageService;
|
|
7947
|
+
_this.datePipe = datePipe;
|
|
8126
7948
|
_this.whenSelectInvoices = new core.EventEmitter();
|
|
8127
7949
|
return _this;
|
|
8128
7950
|
}
|
|
@@ -8156,7 +7978,7 @@
|
|
|
8156
7978
|
return rxjs.of(rxjs.EMPTY).toPromise();
|
|
8157
7979
|
};
|
|
8158
7980
|
ModalInvoicePjForFixationComponent.prototype.open = function () {
|
|
8159
|
-
if (this.options.fixationItems.filter(function (item) { return item.requiredValue > item.totalValueInvoices; }).length
|
|
7981
|
+
if (this.options.fixationItems.filter(function (item) { return item.requiredValue > item.totalValueInvoices; }).length === 0) {
|
|
8160
7982
|
this.messageService.add({
|
|
8161
7983
|
severity: 'warn',
|
|
8162
7984
|
summary: this.translate.instant('agro.fixation.max_linked_invoices'),
|
|
@@ -8302,7 +8124,8 @@
|
|
|
8302
8124
|
{ type: KilogramPipe },
|
|
8303
8125
|
{ type: common.CurrencyPipe },
|
|
8304
8126
|
{ type: ProducerInvoiceService },
|
|
8305
|
-
{ type: primeng.MessageService }
|
|
8127
|
+
{ type: primeng.MessageService },
|
|
8128
|
+
{ type: common.DatePipe }
|
|
8306
8129
|
]; };
|
|
8307
8130
|
__decorate([
|
|
8308
8131
|
core.Input()
|
|
@@ -8313,7 +8136,7 @@
|
|
|
8313
8136
|
ModalInvoicePjForFixationComponent = __decorate([
|
|
8314
8137
|
core.Component({
|
|
8315
8138
|
selector: 's-modal-invoice-pj-for-fixation',
|
|
8316
|
-
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.
|
|
8139
|
+
template: "<p-dialog\r\n header=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [(visible)]=\"visible\"\r\n [modal]=\"true\"\r\n class=\"add-invoice-modal\"\r\n [closeOnEscape]=\"false\"\r\n (onHide)=\"cancelPooling()\"\r\n [dismissableMask]=\"false\"\r\n>\r\n <ng-container *ngIf=\"!dontHaveAnyInvoice\">\r\n <div class=\"ui-g\">\r\n <label for=\"invoiceSearchInput\">{{ 'agro.angular_components.number' | libTranslate }}</label>\r\n <input\r\n type=\"text\"\r\n id=\"invoiceSearchInput\"\r\n pInputText\r\n [formControl]=\"searchValue\"\r\n [placeholder]=\"'' | libTranslate\"\r\n [required]=\"false\"\r\n />\r\n <div class=\"ui-g-12\">\r\n <p-table\r\n [(selection)]=\"selected\"\r\n [value]=\"gridData\"\r\n [columns]=\"gridColumns\"\r\n [scrollable]=\"true\"\r\n dataKey=\"externalInvoiceId\"\r\n [rows]=\"10\"\r\n [paginator]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n [totalRecords]=\"gridTotalRecords\"\r\n [lazy]=\"true\"\r\n (onLazyLoad)=\"updateGridData($event)\"\r\n [resizableColumns]=\"true\"\r\n *sLoadingState=\"gridLoading\"\r\n sortMode=\"multiple\"\r\n [selectionMode]=\"'multiple'\"\r\n >\r\n <ng-template pTemplate=\"header\" let-columns>\r\n <tr>\r\n <th class=\"checkbox\" scope=\"col\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <ng-container *ngFor=\"let col of columns\">\r\n <th\r\n *ngIf=\"col.sortable === undefined || col.sortable\"\r\n [pSortableColumn]=\"col.field\"\r\n scope=\"col\"\r\n >\r\n {{ col.header }}\r\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\r\n </th>\r\n <th *ngIf=\"col.sortable === false || col.sortable === null\" scope=\"col\">\r\n {{ col.header }}\r\n </th>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\r\n <tr>\r\n <td class=\"checkbox\" tabindex=\"0\">\r\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\r\n </td>\r\n <td\r\n [pSelectableRow]=\"rowData\"\r\n [pSelectableRowIndex]=\"rowIndex\"\r\n *ngFor=\"let col of columns\"\r\n class=\"column\"\r\n tabindex=\"0\"\r\n >\r\n <ng-container>\r\n {{ gridFieldValuesMap[col.field] ? gridFieldValuesMap[col.field](rowData) :\r\n rowData[col.field] }}\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"paginatorright\">\r\n <span>{{ gridTotalRecords }} registros encontrados</span>\r\n </ng-template>\r\n </p-table>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"dontHaveAnyInvoice\">\r\n <s-empty-state\r\n iconClass=\"fa fa-exclamation-triangle\"\r\n title=\"{{ 'agro.angular_components.add_pj_invoice_modal_no_invoices_found' | libTranslate }}\"\r\n primaryActionLabel=\"{{ 'agro.angular_components.error_server_try_again' | libTranslate }}\"\r\n (primaryAction)=\"tryToSearchAgain()\"\r\n description=\"{{ 'agro.angular_components.no_register_found_for_external_invoices_summary' | libTranslate }}\"\r\n >\r\n </s-empty-state>\r\n </ng-container>\r\n\r\n <p-footer class=\"footer\" *ngIf=\"!dontHaveAnyInvoice\">\r\n <s-button\r\n [priority]=\"buttonPriority.Primary\"\r\n label=\"{{ 'agro.angular_components.panel_title_external_invoice_add_external_invoice' | libTranslate }}\"\r\n [disabled]=\"!selected?.length\"\r\n (click)=\"add()\"\r\n (keydown.enter)=\"add()\"\r\n ></s-button>\r\n <s-button\r\n [priority]=\"buttonPriority.Link\"\r\n label=\"{{ 'agro.angular_components.cancel' | libTranslate }}\"\r\n (click)=\"cancel()\"\r\n (keydown.enter)=\"cancel()\"\r\n ></s-button>\r\n </p-footer>\r\n</p-dialog>\r\n",
|
|
8317
8140
|
styles: [".footer{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.add-invoice-modal{width:480px;max-width:480px}.add-invoice-modal input[type=text]{width:100%}.add-invoice-modal .ui-dialog{width:480px!important}.add-invoice-modal .ui-dialog .ui-dialog-content{min-height:175px}td.checkbox,th.checkbox{width:50px}td.column,th.column{min-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]
|
|
8318
8141
|
})
|
|
8319
8142
|
], ModalInvoicePjForFixationComponent);
|
|
@@ -8364,7 +8187,7 @@
|
|
|
8364
8187
|
(function (QueryStatus) {
|
|
8365
8188
|
QueryStatus["PENDING"] = "PENDING";
|
|
8366
8189
|
QueryStatus["FINISHED"] = "FINISHED";
|
|
8367
|
-
QueryStatus["
|
|
8190
|
+
QueryStatus["ERROR"] = "ERROR";
|
|
8368
8191
|
})(QueryStatus || (QueryStatus = {}));
|
|
8369
8192
|
|
|
8370
8193
|
var AgroFinancialService = /** @class */ (function (_super) {
|
|
@@ -8402,13 +8225,18 @@
|
|
|
8402
8225
|
}
|
|
8403
8226
|
return (index + 1) * 1000;
|
|
8404
8227
|
});
|
|
8405
|
-
return rxjs.scheduled(delays, rxjs.asyncScheduler).pipe(operators.concatMap(function (delay) {
|
|
8228
|
+
return rxjs.scheduled(delays, rxjs.asyncScheduler).pipe(operators.concatMap(function (delay, index) {
|
|
8406
8229
|
return rxjs.timer(delay).pipe(operators.switchMap(function () { return _this.getListTitlesResponse({ requestId: requestId }); }), operators.tap(function (res) {
|
|
8407
|
-
if (res.status === QueryStatus.
|
|
8230
|
+
if (res.status === QueryStatus.ERROR) {
|
|
8408
8231
|
throw new Error(res.message);
|
|
8409
8232
|
}
|
|
8410
|
-
}));
|
|
8411
|
-
}), operators.scan(function (_, curr) { return curr; }, null), operators.filter(function (
|
|
8233
|
+
}), operators.map(function (res) { return ({ res: res, isLast: index === delays.length - 1 }); }));
|
|
8234
|
+
}), operators.scan(function (_, curr) { return curr; }, null), operators.filter(function (data) { return (data === null || data === void 0 ? void 0 : data.res.status) === QueryStatus.FINISHED || (data === null || data === void 0 ? void 0 : data.isLast); }), operators.take(1), operators.map(function (data) {
|
|
8235
|
+
if ((data === null || data === void 0 ? void 0 : data.isLast) && data.res.status === QueryStatus.PENDING) {
|
|
8236
|
+
throw new Error("agro.angular_components.timeout_request_error");
|
|
8237
|
+
}
|
|
8238
|
+
return data === null || data === void 0 ? void 0 : data.res;
|
|
8239
|
+
}), operators.takeUntil(this.pooling), operators.map(function (res) { return res === null || res === void 0 ? void 0 : res.result; }));
|
|
8412
8240
|
};
|
|
8413
8241
|
AgroFinancialService.ctorParameters = function () { return [
|
|
8414
8242
|
{ type: http.HttpClient },
|
|
@@ -8539,7 +8367,8 @@
|
|
|
8539
8367
|
.listTitles(input)
|
|
8540
8368
|
.pipe(operators.takeUntil(this.ngUnsubscribe), operators.catchError(function (err) {
|
|
8541
8369
|
_this.componentLoading = false;
|
|
8542
|
-
|
|
8370
|
+
var detailMsg = (err === null || err === void 0 ? void 0 : err.message) || "agro.angular_components.error_loading_accounts_description";
|
|
8371
|
+
_this.addMessage("warn", "agro.angular_components.error_loading_accounts_title", detailMsg);
|
|
8543
8372
|
throw err;
|
|
8544
8373
|
}))
|
|
8545
8374
|
.subscribe(function (list) {
|
|
@@ -8799,11 +8628,13 @@
|
|
|
8799
8628
|
FinancialTitleTableComponent.prototype.getFields = function (field, header, path, type, fieldOrderBy) {
|
|
8800
8629
|
return { field: field, path: path, type: type, header: this.translate.instant(header), orderBy: fieldOrderBy };
|
|
8801
8630
|
};
|
|
8802
|
-
FinancialTitleTableComponent.prototype.addMessage = function (severity, summary, detail, sticky) {
|
|
8631
|
+
FinancialTitleTableComponent.prototype.addMessage = function (severity, summary, detail, sticky, life) {
|
|
8803
8632
|
if (sticky === void 0) { sticky = false; }
|
|
8633
|
+
if (life === void 0) { life = 7000; }
|
|
8804
8634
|
this.messageService.add({
|
|
8805
8635
|
severity: severity,
|
|
8806
8636
|
sticky: sticky,
|
|
8637
|
+
life: life,
|
|
8807
8638
|
summary: this.translate.instant(summary),
|
|
8808
8639
|
detail: this.translate.instant(detail),
|
|
8809
8640
|
});
|