@senior-agronegocio/angular-components 0.0.9871 → 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 +338 -518
- 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/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/services/financial/agro-financial.service.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 +1 -10
- package/esm2015/services/i18n/es-CO.js +3 -12
- package/esm2015/services/i18n/pt-BR.js +261 -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/services/financial/agro-financial.service.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 +1 -10
- package/esm5/services/i18n/es-CO.js +3 -12
- package/esm5/services/i18n/pt-BR.js +261 -272
- package/esm5/services/producer-invoice/producer-invoice.service.js +2 -2
- package/fesm2015/senior-agronegocio-angular-components.js +326 -497
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +339 -519
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +3 -3
- 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 +0 -9
- package/services/i18n/es-CO.d.ts +1 -10
- package/services/i18n/pt-BR.d.ts +259 -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",
|
|
@@ -1077,7 +1066,6 @@
|
|
|
1077
1066
|
"agro.angular_components.change_request_event_summary": "Weight Change",
|
|
1078
1067
|
"agro.angular_components.ticket_maintenance_header": "Ticket Maintenance",
|
|
1079
1068
|
"agro.angular_components.invoice_creating_event": "Invoice Issuance",
|
|
1080
|
-
"agro.angular_components.invoice_close_event": "Invoice Closing",
|
|
1081
1069
|
"agro.angular_components.balance_entry_control_event": "Balance Entry/Exit",
|
|
1082
1070
|
"agro.angular_components.event_origin_label": "Event origin",
|
|
1083
1071
|
"agro.angular_components.event_details_header": "Event Details",
|
|
@@ -1310,14 +1298,6 @@
|
|
|
1310
1298
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": "Cidasc Load - Measure per hectare",
|
|
1311
1299
|
"agro.angular_components.PRESCRIPTION_DATA_LOAD": "Prescription data load",
|
|
1312
1300
|
"agro.angular_components.agronomic_prescription_origin_event": "Agronomic Prescription",
|
|
1313
|
-
"agro.angular_components.number_or_series": "Número ou série",
|
|
1314
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": "Adicionar nota fiscal",
|
|
1315
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": "Nenhuma nota fiscal disponível para este produtor",
|
|
1316
|
-
"agro.angular_components.number": "Número",
|
|
1317
|
-
"agro.angular_components.series": "Série",
|
|
1318
|
-
"agro.angular_components.itens": "Itens",
|
|
1319
|
-
"agro.angular_components.quantity": "Quantidade",
|
|
1320
|
-
"agro.angular_components.issuance_date": "Data de emissão",
|
|
1321
1301
|
"agro.angular_components.no_accounts_found_title": "No accounts found",
|
|
1322
1302
|
"agro.angular_components.no_accounts_found_description": "No accounts were found for the selected producer.",
|
|
1323
1303
|
"agro.angular_components.details": "Details",
|
|
@@ -1373,7 +1353,6 @@
|
|
|
1373
1353
|
"agro.angular_components.change_request_event_summary": "Cambio de \nPesaje",
|
|
1374
1354
|
"agro.angular_components.ticket_maintenance_header": "Mantenimiento de ticket",
|
|
1375
1355
|
"agro.angular_components.invoice_creating_event": "Emisión de Factura",
|
|
1376
|
-
"agro.angular_components.invoice_close_event": "Cierre de Factura",
|
|
1377
1356
|
"agro.angular_components.balance_entry_control_event": "Entrada/salida balanza",
|
|
1378
1357
|
"agro.angular_components.event_origin_label": "Origen del evento",
|
|
1379
1358
|
"agro.angular_components.event_details_header": "Detalles del Evento",
|
|
@@ -1506,7 +1485,7 @@
|
|
|
1506
1485
|
"agro.angular_components.save": "Guardar",
|
|
1507
1486
|
"agro.angular_components.select": "Seleccione",
|
|
1508
1487
|
"agro.angular_components.updated_by": "Actualizado por",
|
|
1509
|
-
error_invalid: "Valor inválido",
|
|
1488
|
+
"error_invalid": "Valor inválido",
|
|
1510
1489
|
"agro.angular_components.choose_label": "Elegir",
|
|
1511
1490
|
"agro.angular_components.remove_label": "Eliminar",
|
|
1512
1491
|
"agro.angular_components.cancel_label": "Cancelar",
|
|
@@ -1590,13 +1569,13 @@
|
|
|
1590
1569
|
"agro.angular_components.ORIGINATION_CREATE_EFFECTIVE_CONFIRMATION": "Confirmación efectiva",
|
|
1591
1570
|
"agro.angular_components.ORIGINATION_CREATE_PROVISIONAL_BALANCE": "Saldo provisional",
|
|
1592
1571
|
"agro.angular_components.CLOSE_INVOICE_TRANSFER": "Cierre de factura",
|
|
1593
|
-
"agro.angular_components.INVOICE_CLOSE_INVOICE": "Cierre de factura",
|
|
1594
1572
|
"agro.angular_components.REOPEN_INVOICE_TRANSFER": "Reapertura de factura",
|
|
1595
1573
|
"agro.angular_components.TRANSFER_CREATE_FINANCIAL_TITLE": "Creación de título financiero",
|
|
1596
1574
|
"agro.angular_components.TRANSFER_CANCEL_FINANCIAL_TITLE": "Cancelación de título financiero",
|
|
1597
1575
|
"agro.angular_components.TRANSFER_CREATE_SERVICE_INVOICE": "Emisión de NF de servicio",
|
|
1598
1576
|
"agro.angular_components.TRANSFER_CANCEL_SERVICE_INVOICE": "Cancelación de NF de servicio",
|
|
1599
1577
|
"agro.angular_components.REOPEN_INVOICE_FIXATION": "Reapertura de factura",
|
|
1578
|
+
"agro.angular_components.INVOICE_CLOSE_INVOICE": "Solicitud de cancelación de la factura",
|
|
1600
1579
|
"agro.angular_components.CIDASC_INTEGRATION": "Envío a Cidasc",
|
|
1601
1580
|
"agro.angular_components.CIDASC_CANCELLATION": "Cancelación de Receta",
|
|
1602
1581
|
"agro.angular_components.CIDASC_DATA_LOAD_CULTURE": "Carga Cidasc - Cultivo",
|
|
@@ -1606,14 +1585,6 @@
|
|
|
1606
1585
|
"agro.angular_components.CIDASC_DATA_LOAD_COMPOSED_MEASURE_UNIT": "Carga Cidasc - Medida por hectárea",
|
|
1607
1586
|
"agro.angular_components.PRESCRIPTION_DATA_LOAD": "Carga de datos de la Nueva Receta",
|
|
1608
1587
|
"agro.angular_components.agronomic_prescription_origin_event": "Recetario Agronómico",
|
|
1609
|
-
"agro.angular_components.number_or_series": "Número ou série",
|
|
1610
|
-
"agro.angular_components.panel_title_external_invoice_add_external_invoice": "Adicionar nota fiscal",
|
|
1611
|
-
"agro.angular_components.add_pj_invoice_modal_no_invoices_found": "Nenhuma nota fiscal disponível para este produtor",
|
|
1612
|
-
"agro.angular_components.number": "Número",
|
|
1613
|
-
"agro.angular_components.series": "Série",
|
|
1614
|
-
"agro.angular_components.itens": "Itens",
|
|
1615
|
-
"agro.angular_components.quantity": "Quantidade",
|
|
1616
|
-
"agro.angular_components.issuance_date": "Data de emissão",
|
|
1617
1588
|
"agro.angular_components.no_accounts_found_title": "Ninguna cuenta encontrada",
|
|
1618
1589
|
"agro.angular_components.no_accounts_found_description": "No se encontraron cuentas para el productor seleccionado.",
|
|
1619
1590
|
"agro.angular_components.details": "Detalles",
|
|
@@ -4313,13 +4284,14 @@
|
|
|
4313
4284
|
var map = new Map();
|
|
4314
4285
|
var resolvePath = function (source, path) {
|
|
4315
4286
|
var e_2, _a;
|
|
4316
|
-
var parts = path.split(
|
|
4287
|
+
var parts = path.split('.');
|
|
4317
4288
|
var value = source;
|
|
4318
4289
|
try {
|
|
4319
4290
|
for (var parts_1 = __values(parts), parts_1_1 = parts_1.next(); !parts_1_1.done; parts_1_1 = parts_1.next()) {
|
|
4320
4291
|
var p = parts_1_1.value;
|
|
4321
|
-
if (value == null)
|
|
4292
|
+
if (value == null) {
|
|
4322
4293
|
return undefined;
|
|
4294
|
+
}
|
|
4323
4295
|
value = value[p];
|
|
4324
4296
|
}
|
|
4325
4297
|
}
|
|
@@ -4341,7 +4313,7 @@
|
|
|
4341
4313
|
try {
|
|
4342
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()) {
|
|
4343
4315
|
var k = keys_1_1.value;
|
|
4344
|
-
var rootName = k.toString().split(
|
|
4316
|
+
var rootName = k.toString().split('.')[0];
|
|
4345
4317
|
groupedData[rootName] = resolvePath(item, k);
|
|
4346
4318
|
}
|
|
4347
4319
|
}
|
|
@@ -4559,7 +4531,6 @@
|
|
|
4559
4531
|
}
|
|
4560
4532
|
};
|
|
4561
4533
|
AgroUnitConverter.prototype.isTemperatureUnit = function (unit) {
|
|
4562
|
-
console.log(this.TEMPERATURE_UNITS.includes(unit));
|
|
4563
4534
|
return this.TEMPERATURE_UNITS.includes(unit);
|
|
4564
4535
|
};
|
|
4565
4536
|
AgroUnitConverter.prototype.convertScalableUnits = function (valor, from, to) {
|
|
@@ -5693,7 +5664,7 @@
|
|
|
5693
5664
|
{ label: "agro.angular_components.ticket_event", value: EventOperation.TICKET },
|
|
5694
5665
|
{ label: "agro.angular_components.provisional_event", value: EventOperation.PROVISIONAL },
|
|
5695
5666
|
{
|
|
5696
|
-
label: "agro.angular_components.
|
|
5667
|
+
label: "agro.angular_components.CREATE_INVOICE_FIXATION",
|
|
5697
5668
|
value: EventOperation.CREATE_INVOICE,
|
|
5698
5669
|
subLabelField: InputFields.AGRO_INVOICE_TYPE,
|
|
5699
5670
|
},
|
|
@@ -5865,8 +5836,8 @@
|
|
|
5865
5836
|
FormDateError_data2: 'agro.angular_components.end_invalid_date'
|
|
5866
5837
|
};
|
|
5867
5838
|
|
|
5868
|
-
var
|
|
5869
|
-
function
|
|
5839
|
+
var AgroEntityService = /** @class */ (function () {
|
|
5840
|
+
function AgroEntityService(http, messageService, entityUrl, actionsUrl, queriesUrl, translate) {
|
|
5870
5841
|
this.http = http;
|
|
5871
5842
|
this.messageService = messageService;
|
|
5872
5843
|
this.entityUrl = entityUrl;
|
|
@@ -5881,41 +5852,41 @@
|
|
|
5881
5852
|
this.translate = translate;
|
|
5882
5853
|
this.defaultCatch = this.defaultCatch.bind(this);
|
|
5883
5854
|
}
|
|
5884
|
-
|
|
5855
|
+
AgroEntityService.prototype.getListQueryParams = function (listParams) {
|
|
5885
5856
|
var ten = 10;
|
|
5886
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;
|
|
5887
5858
|
var params = new http.HttpParams();
|
|
5888
5859
|
params = params.append('size', String(size));
|
|
5889
5860
|
params = params.append('offset', String(page));
|
|
5890
|
-
if (sort
|
|
5861
|
+
if (sort === null || sort === void 0 ? void 0 : sort.length) {
|
|
5891
5862
|
params = params.append('orderby', sort.map(this.getBodyFilters()).join(', '));
|
|
5892
5863
|
}
|
|
5893
5864
|
if (filterQuery) {
|
|
5894
5865
|
params = params.append('filter', filterQuery);
|
|
5895
5866
|
}
|
|
5896
|
-
if (displayFields
|
|
5867
|
+
if (displayFields === null || displayFields === void 0 ? void 0 : displayFields.length) {
|
|
5897
5868
|
params = params.append('displayfields', displayFields.join());
|
|
5898
5869
|
}
|
|
5899
5870
|
return params;
|
|
5900
5871
|
};
|
|
5901
|
-
|
|
5872
|
+
AgroEntityService.prototype.getBodyParams = function (listParams) {
|
|
5902
5873
|
var ten = 10;
|
|
5903
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;
|
|
5904
5875
|
var bodyParams = {};
|
|
5905
5876
|
bodyParams.size = size;
|
|
5906
5877
|
bodyParams.offset = page;
|
|
5907
|
-
if (sort
|
|
5878
|
+
if (sort === null || sort === void 0 ? void 0 : sort.length) {
|
|
5908
5879
|
bodyParams.orderBy = sort.map(this.getBodyFilters()).join(', ');
|
|
5909
5880
|
}
|
|
5910
5881
|
if (filterQuery) {
|
|
5911
5882
|
bodyParams.filter = filterQuery;
|
|
5912
5883
|
}
|
|
5913
|
-
if (displayFields
|
|
5884
|
+
if (displayFields === null || displayFields === void 0 ? void 0 : displayFields.length) {
|
|
5914
5885
|
bodyParams.displayfields = displayFields.join();
|
|
5915
5886
|
}
|
|
5916
5887
|
return bodyParams;
|
|
5917
5888
|
};
|
|
5918
|
-
|
|
5889
|
+
AgroEntityService.prototype.getBodyFilters = function () {
|
|
5919
5890
|
return function (s) {
|
|
5920
5891
|
var order = '';
|
|
5921
5892
|
if (s.order === 1) {
|
|
@@ -5927,10 +5898,10 @@
|
|
|
5927
5898
|
return "" + s.field + order;
|
|
5928
5899
|
};
|
|
5929
5900
|
};
|
|
5930
|
-
|
|
5901
|
+
AgroEntityService.prototype.defaultCatch = function (errorMsgs) {
|
|
5931
5902
|
var _this = this;
|
|
5932
5903
|
if (errorMsgs === void 0) { errorMsgs = []; }
|
|
5933
|
-
var
|
|
5904
|
+
var unauthorized401 = 401;
|
|
5934
5905
|
errorMsgs = __spread(errorMsgs);
|
|
5935
5906
|
var zero = 0;
|
|
5936
5907
|
return operators.catchError(function (err) {
|
|
@@ -5938,7 +5909,7 @@
|
|
|
5938
5909
|
var errorMessage = errorMsgs.find(function (eMsg) { return eMsg.status === (err === null || err === void 0 ? void 0 : err.status) || zero; });
|
|
5939
5910
|
var summary = err.status ? String(err.status) : 'Error';
|
|
5940
5911
|
var detail = _this.getErrorMessage(err);
|
|
5941
|
-
if (err.status ===
|
|
5912
|
+
if (err.status === unauthorized401) {
|
|
5942
5913
|
summary = _this.translate.instant('agro.angular_components.error_unauthorized_title');
|
|
5943
5914
|
detail = _this.translate.instant('agro.angular_components.error_unauthorized_description');
|
|
5944
5915
|
}
|
|
@@ -5955,8 +5926,9 @@
|
|
|
5955
5926
|
return rxjs.throwError(err);
|
|
5956
5927
|
});
|
|
5957
5928
|
};
|
|
5958
|
-
|
|
5959
|
-
|
|
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) {
|
|
5960
5932
|
return err.error.message;
|
|
5961
5933
|
}
|
|
5962
5934
|
if (err.statusText) {
|
|
@@ -5967,35 +5939,39 @@
|
|
|
5967
5939
|
}
|
|
5968
5940
|
return 'Error';
|
|
5969
5941
|
};
|
|
5970
|
-
|
|
5942
|
+
AgroEntityService.prototype.list = function (listParams, errorMessage) {
|
|
5971
5943
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5972
5944
|
return this.http
|
|
5973
5945
|
.get(this.entityUrl, { params: this.getListQueryParams(listParams) })
|
|
5974
5946
|
.pipe(this.defaultCatch(errorMessage));
|
|
5975
5947
|
};
|
|
5976
|
-
|
|
5948
|
+
AgroEntityService.prototype.get = function (id, errorMessage) {
|
|
5977
5949
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5978
5950
|
return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
5979
5951
|
};
|
|
5980
|
-
|
|
5952
|
+
AgroEntityService.prototype.insert = function (entity, errorMessage) {
|
|
5981
5953
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5982
5954
|
return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch(errorMessage));
|
|
5983
5955
|
};
|
|
5984
|
-
|
|
5956
|
+
AgroEntityService.prototype.update = function (id, entity, errorMessage) {
|
|
5985
5957
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5986
5958
|
return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch(errorMessage));
|
|
5987
5959
|
};
|
|
5988
|
-
|
|
5960
|
+
AgroEntityService.prototype.delete = function (id, errorMessage) {
|
|
5989
5961
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5990
5962
|
return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
5991
5963
|
};
|
|
5992
|
-
|
|
5964
|
+
AgroEntityService.prototype.listCustomFilter = function (listParams, action, errorMessage) {
|
|
5993
5965
|
if (errorMessage === void 0) { errorMessage = []; }
|
|
5994
5966
|
return this.http
|
|
5995
5967
|
.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams))
|
|
5996
5968
|
.pipe(this.defaultCatch(errorMessage));
|
|
5997
5969
|
};
|
|
5998
|
-
|
|
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;
|
|
5999
5975
|
}());
|
|
6000
5976
|
|
|
6001
5977
|
var EventControlItemService = /** @class */ (function (_super) {
|
|
@@ -6021,7 +5997,7 @@
|
|
|
6021
5997
|
core.Injectable()
|
|
6022
5998
|
], EventControlItemService);
|
|
6023
5999
|
return EventControlItemService;
|
|
6024
|
-
}(
|
|
6000
|
+
}(AgroEntityService));
|
|
6025
6001
|
|
|
6026
6002
|
var PaginatorStorageService = /** @class */ (function () {
|
|
6027
6003
|
function PaginatorStorageService() {
|
|
@@ -6109,7 +6085,7 @@
|
|
|
6109
6085
|
core.Injectable()
|
|
6110
6086
|
], EventControlService);
|
|
6111
6087
|
return EventControlService;
|
|
6112
|
-
}(
|
|
6088
|
+
}(AgroEntityService));
|
|
6113
6089
|
|
|
6114
6090
|
var ProducerInvoice = /** @class */ (function () {
|
|
6115
6091
|
function ProducerInvoice() {
|
|
@@ -6145,144 +6121,6 @@
|
|
|
6145
6121
|
return ProducerInvoice;
|
|
6146
6122
|
}());
|
|
6147
6123
|
|
|
6148
|
-
var AgroEntityService = /** @class */ (function () {
|
|
6149
|
-
function AgroEntityService(http, messageService, entityUrl, actionsUrl, queriesUrl, translate) {
|
|
6150
|
-
this.http = http;
|
|
6151
|
-
this.messageService = messageService;
|
|
6152
|
-
this.entityUrl = entityUrl;
|
|
6153
|
-
this.actionsUrl = actionsUrl;
|
|
6154
|
-
this.queriesUrl = queriesUrl;
|
|
6155
|
-
this.translate = translate;
|
|
6156
|
-
this.http = http;
|
|
6157
|
-
this.messageService = messageService;
|
|
6158
|
-
this.entityUrl = entityUrl;
|
|
6159
|
-
this.actionsUrl = actionsUrl;
|
|
6160
|
-
this.queriesUrl = queriesUrl;
|
|
6161
|
-
this.translate = translate;
|
|
6162
|
-
this.defaultCatch = this.defaultCatch.bind(this);
|
|
6163
|
-
}
|
|
6164
|
-
AgroEntityService.prototype.getListQueryParams = function (listParams) {
|
|
6165
|
-
var ten = 10;
|
|
6166
|
-
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;
|
|
6167
|
-
var params = new http.HttpParams();
|
|
6168
|
-
params = params.append('size', String(size));
|
|
6169
|
-
params = params.append('offset', String(page));
|
|
6170
|
-
if (sort && sort.length) {
|
|
6171
|
-
params = params.append('orderby', sort.map(this.getBodyFilters()).join(', '));
|
|
6172
|
-
}
|
|
6173
|
-
if (filterQuery) {
|
|
6174
|
-
params = params.append('filter', filterQuery);
|
|
6175
|
-
}
|
|
6176
|
-
if (displayFields && displayFields.length) {
|
|
6177
|
-
params = params.append('displayfields', displayFields.join());
|
|
6178
|
-
}
|
|
6179
|
-
return params;
|
|
6180
|
-
};
|
|
6181
|
-
AgroEntityService.prototype.getBodyParams = function (listParams) {
|
|
6182
|
-
var ten = 10;
|
|
6183
|
-
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;
|
|
6184
|
-
var bodyParams = {};
|
|
6185
|
-
bodyParams.size = size;
|
|
6186
|
-
bodyParams.offset = page;
|
|
6187
|
-
if (sort && sort.length) {
|
|
6188
|
-
bodyParams.orderBy = sort.map(this.getBodyFilters()).join(', ');
|
|
6189
|
-
}
|
|
6190
|
-
if (filterQuery) {
|
|
6191
|
-
bodyParams.filter = filterQuery;
|
|
6192
|
-
}
|
|
6193
|
-
if (displayFields && displayFields.length) {
|
|
6194
|
-
bodyParams.displayfields = displayFields.join();
|
|
6195
|
-
}
|
|
6196
|
-
return bodyParams;
|
|
6197
|
-
};
|
|
6198
|
-
AgroEntityService.prototype.getBodyFilters = function () {
|
|
6199
|
-
return function (s) {
|
|
6200
|
-
var order = '';
|
|
6201
|
-
if (s.order === 1) {
|
|
6202
|
-
order = ' asc';
|
|
6203
|
-
}
|
|
6204
|
-
if (s.order === -1) {
|
|
6205
|
-
order = ' desc';
|
|
6206
|
-
}
|
|
6207
|
-
return "" + s.field + order;
|
|
6208
|
-
};
|
|
6209
|
-
};
|
|
6210
|
-
AgroEntityService.prototype.defaultCatch = function (errorMsgs) {
|
|
6211
|
-
var _this = this;
|
|
6212
|
-
if (errorMsgs === void 0) { errorMsgs = []; }
|
|
6213
|
-
var unauthorized_401 = 401;
|
|
6214
|
-
// errorMsgs = [...errorMsgs, ...DefaultErrorMessages];
|
|
6215
|
-
errorMsgs = __spread(errorMsgs);
|
|
6216
|
-
var zero = 0;
|
|
6217
|
-
return operators.catchError(function (err) {
|
|
6218
|
-
if (err) {
|
|
6219
|
-
var errorMessage = errorMsgs.find(function (eMsg) { return eMsg.status === (err === null || err === void 0 ? void 0 : err.status) || zero; });
|
|
6220
|
-
var summary = err.status ? String(err.status) : 'Error';
|
|
6221
|
-
var detail = _this.getErrorMessage(err);
|
|
6222
|
-
if (err.status === unauthorized_401) {
|
|
6223
|
-
summary = _this.translate.instant('agro.angular_components.error_unauthorized_title');
|
|
6224
|
-
detail = _this.translate.instant('agro.angular_components.error_unauthorized_description');
|
|
6225
|
-
}
|
|
6226
|
-
if (errorMessage) {
|
|
6227
|
-
summary = errorMessage.summary ? _this.translate.instant(errorMessage.summary) : summary;
|
|
6228
|
-
detail = errorMessage.detail ? _this.translate.instant(errorMessage.detail) : detail;
|
|
6229
|
-
}
|
|
6230
|
-
_this.messageService.add({
|
|
6231
|
-
severity: 'error',
|
|
6232
|
-
summary: summary,
|
|
6233
|
-
detail: detail,
|
|
6234
|
-
});
|
|
6235
|
-
}
|
|
6236
|
-
return rxjs.throwError(err);
|
|
6237
|
-
});
|
|
6238
|
-
};
|
|
6239
|
-
AgroEntityService.prototype.getErrorMessage = function (err) {
|
|
6240
|
-
if (err.error && err.error.message) {
|
|
6241
|
-
return err.error.message;
|
|
6242
|
-
}
|
|
6243
|
-
if (err.statusText) {
|
|
6244
|
-
return err.statusText;
|
|
6245
|
-
}
|
|
6246
|
-
if (err.message) {
|
|
6247
|
-
return err.message;
|
|
6248
|
-
}
|
|
6249
|
-
return 'Error';
|
|
6250
|
-
};
|
|
6251
|
-
AgroEntityService.prototype.list = function (listParams, errorMessage) {
|
|
6252
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6253
|
-
return this.http
|
|
6254
|
-
.get(this.entityUrl, { params: this.getListQueryParams(listParams) })
|
|
6255
|
-
.pipe(this.defaultCatch(errorMessage));
|
|
6256
|
-
};
|
|
6257
|
-
AgroEntityService.prototype.get = function (id, errorMessage) {
|
|
6258
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6259
|
-
return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
6260
|
-
};
|
|
6261
|
-
AgroEntityService.prototype.insert = function (entity, errorMessage) {
|
|
6262
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6263
|
-
return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch(errorMessage));
|
|
6264
|
-
};
|
|
6265
|
-
AgroEntityService.prototype.update = function (id, entity, errorMessage) {
|
|
6266
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6267
|
-
return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch(errorMessage));
|
|
6268
|
-
};
|
|
6269
|
-
AgroEntityService.prototype.delete = function (id, errorMessage) {
|
|
6270
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6271
|
-
return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch(errorMessage));
|
|
6272
|
-
};
|
|
6273
|
-
AgroEntityService.prototype.listCustomFilter = function (listParams, action, errorMessage) {
|
|
6274
|
-
if (errorMessage === void 0) { errorMessage = []; }
|
|
6275
|
-
return this.http
|
|
6276
|
-
.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams))
|
|
6277
|
-
.pipe(this.defaultCatch(errorMessage));
|
|
6278
|
-
};
|
|
6279
|
-
AgroEntityService.prototype.insertBulk = function (entities) {
|
|
6280
|
-
var body = entities ? { entities: entities } : {};
|
|
6281
|
-
return this.http.post(this.entityUrl + "/bulk", body).pipe(this.defaultCatch());
|
|
6282
|
-
};
|
|
6283
|
-
return AgroEntityService;
|
|
6284
|
-
}());
|
|
6285
|
-
|
|
6286
6124
|
var ProducerInvoiceService = /** @class */ (function (_super) {
|
|
6287
6125
|
__extends(ProducerInvoiceService, _super);
|
|
6288
6126
|
function ProducerInvoiceService(http, messageService, translate) {
|
|
@@ -6934,7 +6772,7 @@
|
|
|
6934
6772
|
EventControlBoardComponent = __decorate([
|
|
6935
6773
|
core.Component({
|
|
6936
6774
|
selector: "event-control-board",
|
|
6937
|
-
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",
|
|
6938
6776
|
providers: [{ provide: core.LOCALE_ID, useValue: "pt-BR" }],
|
|
6939
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}"]
|
|
6940
6778
|
})
|
|
@@ -6970,7 +6808,7 @@
|
|
|
6970
6808
|
core.Injectable()
|
|
6971
6809
|
], E001pesService);
|
|
6972
6810
|
return E001pesService;
|
|
6973
|
-
}(
|
|
6811
|
+
}(AgroEntityService));
|
|
6974
6812
|
|
|
6975
6813
|
var E001pesModule = /** @class */ (function () {
|
|
6976
6814
|
function E001pesModule() {
|
|
@@ -7012,7 +6850,7 @@
|
|
|
7012
6850
|
core.Injectable()
|
|
7013
6851
|
], E001TnsService);
|
|
7014
6852
|
return E001TnsService;
|
|
7015
|
-
}(
|
|
6853
|
+
}(AgroEntityService));
|
|
7016
6854
|
|
|
7017
6855
|
var E001TnsModule = /** @class */ (function () {
|
|
7018
6856
|
function E001TnsModule() {
|
|
@@ -7056,7 +6894,7 @@
|
|
|
7056
6894
|
core.Injectable()
|
|
7057
6895
|
], E012famService);
|
|
7058
6896
|
return E012famService;
|
|
7059
|
-
}(
|
|
6897
|
+
}(AgroEntityService));
|
|
7060
6898
|
|
|
7061
6899
|
var E070EmpService = /** @class */ (function (_super) {
|
|
7062
6900
|
__extends(E070EmpService, _super);
|
|
@@ -7083,7 +6921,7 @@
|
|
|
7083
6921
|
core.Injectable()
|
|
7084
6922
|
], E070EmpService);
|
|
7085
6923
|
return E070EmpService;
|
|
7086
|
-
}(
|
|
6924
|
+
}(AgroEntityService));
|
|
7087
6925
|
|
|
7088
6926
|
var E070EmpModule = /** @class */ (function () {
|
|
7089
6927
|
function E070EmpModule() {
|
|
@@ -7132,7 +6970,7 @@
|
|
|
7132
6970
|
core.Injectable()
|
|
7133
6971
|
], E070FilService);
|
|
7134
6972
|
return E070FilService;
|
|
7135
|
-
}(
|
|
6973
|
+
}(AgroEntityService));
|
|
7136
6974
|
|
|
7137
6975
|
var E070FilModule = /** @class */ (function () {
|
|
7138
6976
|
function E070FilModule() {
|
|
@@ -7179,7 +7017,7 @@
|
|
|
7179
7017
|
core.Injectable()
|
|
7180
7018
|
], E075DerService);
|
|
7181
7019
|
return E075DerService;
|
|
7182
|
-
}(
|
|
7020
|
+
}(AgroEntityService));
|
|
7183
7021
|
|
|
7184
7022
|
var E075DerModule = /** @class */ (function () {
|
|
7185
7023
|
function E075DerModule() {
|
|
@@ -7226,7 +7064,7 @@
|
|
|
7226
7064
|
core.Injectable()
|
|
7227
7065
|
], E205depService);
|
|
7228
7066
|
return E205depService;
|
|
7229
|
-
}(
|
|
7067
|
+
}(AgroEntityService));
|
|
7230
7068
|
|
|
7231
7069
|
var EventControlModule = /** @class */ (function () {
|
|
7232
7070
|
function EventControlModule() {
|
|
@@ -7290,7 +7128,7 @@
|
|
|
7290
7128
|
core.Injectable()
|
|
7291
7129
|
], ExternalInvoiceService);
|
|
7292
7130
|
return ExternalInvoiceService;
|
|
7293
|
-
}(
|
|
7131
|
+
}(AgroEntityService));
|
|
7294
7132
|
|
|
7295
7133
|
var ExternalInvoiceModule = /** @class */ (function () {
|
|
7296
7134
|
function ExternalInvoiceModule() {
|
|
@@ -7332,7 +7170,7 @@
|
|
|
7332
7170
|
core.Injectable()
|
|
7333
7171
|
], InvoiceService);
|
|
7334
7172
|
return InvoiceService;
|
|
7335
|
-
}(
|
|
7173
|
+
}(AgroEntityService));
|
|
7336
7174
|
|
|
7337
7175
|
var InvoiceModule = /** @class */ (function () {
|
|
7338
7176
|
function InvoiceModule() {
|
|
@@ -7376,7 +7214,7 @@
|
|
|
7376
7214
|
core.Injectable()
|
|
7377
7215
|
], OriginationService);
|
|
7378
7216
|
return OriginationService;
|
|
7379
|
-
}(
|
|
7217
|
+
}(AgroEntityService));
|
|
7380
7218
|
|
|
7381
7219
|
var OriginationModule = /** @class */ (function () {
|
|
7382
7220
|
function OriginationModule() {
|
|
@@ -7418,7 +7256,7 @@
|
|
|
7418
7256
|
core.Injectable()
|
|
7419
7257
|
], RuralEstateService);
|
|
7420
7258
|
return RuralEstateService;
|
|
7421
|
-
}(
|
|
7259
|
+
}(AgroEntityService));
|
|
7422
7260
|
|
|
7423
7261
|
var RuralEstateModule = /** @class */ (function () {
|
|
7424
7262
|
function RuralEstateModule() {
|
|
@@ -7495,7 +7333,7 @@
|
|
|
7495
7333
|
core.Injectable()
|
|
7496
7334
|
], TicketService);
|
|
7497
7335
|
return TicketService;
|
|
7498
|
-
}(
|
|
7336
|
+
}(AgroEntityService));
|
|
7499
7337
|
|
|
7500
7338
|
var TicketModule = /** @class */ (function () {
|
|
7501
7339
|
function TicketModule() {
|
|
@@ -7549,7 +7387,7 @@
|
|
|
7549
7387
|
core.Injectable()
|
|
7550
7388
|
], TransferService);
|
|
7551
7389
|
return TransferService;
|
|
7552
|
-
}(
|
|
7390
|
+
}(AgroEntityService));
|
|
7553
7391
|
|
|
7554
7392
|
var TransferModule = /** @class */ (function () {
|
|
7555
7393
|
function TransferModule() {
|
|
@@ -7598,7 +7436,7 @@
|
|
|
7598
7436
|
core.Injectable()
|
|
7599
7437
|
], FixationService);
|
|
7600
7438
|
return FixationService;
|
|
7601
|
-
}(
|
|
7439
|
+
}(AgroEntityService));
|
|
7602
7440
|
|
|
7603
7441
|
var FixationModule = /** @class */ (function () {
|
|
7604
7442
|
function FixationModule() {
|
|
@@ -7736,13 +7574,14 @@
|
|
|
7736
7574
|
|
|
7737
7575
|
var INVOICE_ITEMS = 'invoiceItems.*';
|
|
7738
7576
|
var ModalInvoicePjBase = /** @class */ (function () {
|
|
7739
|
-
function ModalInvoicePjBase(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
7577
|
+
function ModalInvoicePjBase(translate, invoiceService, localeService, kilogramPipe, messageService, datePipe) {
|
|
7740
7578
|
var _this = this;
|
|
7741
7579
|
this.translate = translate;
|
|
7742
7580
|
this.invoiceService = invoiceService;
|
|
7743
7581
|
this.localeService = localeService;
|
|
7744
7582
|
this.kilogramPipe = kilogramPipe;
|
|
7745
7583
|
this.messageService = messageService;
|
|
7584
|
+
this.datePipe = datePipe;
|
|
7746
7585
|
this.buttonPriority = angularComponents.ButtonPriority;
|
|
7747
7586
|
this.dontHaveAnyInvoice = false;
|
|
7748
7587
|
this.gridLoading = true;
|
|
@@ -7759,7 +7598,7 @@
|
|
|
7759
7598
|
filterQuery: '',
|
|
7760
7599
|
};
|
|
7761
7600
|
this.gridFieldValuesMap = {
|
|
7762
|
-
issuanceDate: function (row) { return
|
|
7601
|
+
issuanceDate: function (row) { return _this.datePipe.transform(row.issuanceDate, 'dd/MM/yyyy', 'pt-BR'); },
|
|
7763
7602
|
invoiceItems: function (row) { return row.totalItems || 0; },
|
|
7764
7603
|
quantity: function (row) { return _this.kilogramPipe.transform(row.totalItemsQuantity || 0); },
|
|
7765
7604
|
};
|
|
@@ -7923,7 +7762,8 @@
|
|
|
7923
7762
|
{ type: AgroInvoiceService },
|
|
7924
7763
|
{ type: angularComponents.LocaleService },
|
|
7925
7764
|
{ type: KilogramPipe },
|
|
7926
|
-
{ type: primeng.MessageService }
|
|
7765
|
+
{ type: primeng.MessageService },
|
|
7766
|
+
{ type: common.DatePipe }
|
|
7927
7767
|
]; };
|
|
7928
7768
|
ModalInvoicePjBase = __decorate([
|
|
7929
7769
|
core.Directive()
|
|
@@ -7958,13 +7798,14 @@
|
|
|
7958
7798
|
|
|
7959
7799
|
var ModalInvoicePjForOriginationComponent = /** @class */ (function (_super) {
|
|
7960
7800
|
__extends(ModalInvoicePjForOriginationComponent, _super);
|
|
7961
|
-
function ModalInvoicePjForOriginationComponent(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
7962
|
-
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;
|
|
7963
7803
|
_this.translate = translate;
|
|
7964
7804
|
_this.invoiceService = invoiceService;
|
|
7965
7805
|
_this.localeService = localeService;
|
|
7966
7806
|
_this.kilogramPipe = kilogramPipe;
|
|
7967
7807
|
_this.messageService = messageService;
|
|
7808
|
+
_this.datePipe = datePipe;
|
|
7968
7809
|
_this.whenSelectInvoices = new core.EventEmitter();
|
|
7969
7810
|
return _this;
|
|
7970
7811
|
}
|
|
@@ -7981,18 +7822,19 @@
|
|
|
7981
7822
|
{ field: 'issuanceDate', header: this.translate.instant('agro.angular_components.issuance_date') },
|
|
7982
7823
|
];
|
|
7983
7824
|
};
|
|
7984
|
-
ModalInvoicePjForOriginationComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
7985
|
-
throw new Error('Method not implemented.');
|
|
7986
|
-
};
|
|
7987
7825
|
ModalInvoicePjForOriginationComponent.prototype.adaptResult = function (result) {
|
|
7988
7826
|
return Promise.resolve(result);
|
|
7989
7827
|
};
|
|
7828
|
+
ModalInvoicePjForOriginationComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
7829
|
+
throw new Error('Method not implemented.');
|
|
7830
|
+
};
|
|
7990
7831
|
ModalInvoicePjForOriginationComponent.ctorParameters = function () { return [
|
|
7991
7832
|
{ type: LibTranslationService },
|
|
7992
7833
|
{ type: AgroInvoiceService },
|
|
7993
7834
|
{ type: angularComponents.LocaleService },
|
|
7994
7835
|
{ type: KilogramPipe },
|
|
7995
|
-
{ type: primeng.MessageService }
|
|
7836
|
+
{ type: primeng.MessageService },
|
|
7837
|
+
{ type: common.DatePipe }
|
|
7996
7838
|
]; };
|
|
7997
7839
|
__decorate([
|
|
7998
7840
|
core.Input()
|
|
@@ -8003,7 +7845,7 @@
|
|
|
8003
7845
|
ModalInvoicePjForOriginationComponent = __decorate([
|
|
8004
7846
|
core.Component({
|
|
8005
7847
|
selector: 's-modal-invoice-pj-for-origination',
|
|
8006
|
-
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",
|
|
8007
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}"]
|
|
8008
7850
|
})
|
|
8009
7851
|
], ModalInvoicePjForOriginationComponent);
|
|
@@ -8049,57 +7891,33 @@
|
|
|
8049
7891
|
|
|
8050
7892
|
var ModalInvoicePjForTransferComponent = /** @class */ (function (_super) {
|
|
8051
7893
|
__extends(ModalInvoicePjForTransferComponent, _super);
|
|
8052
|
-
function ModalInvoicePjForTransferComponent(translate, invoiceService, localeService, kilogramPipe, messageService) {
|
|
8053
|
-
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;
|
|
8054
7896
|
_this.translate = translate;
|
|
8055
7897
|
_this.invoiceService = invoiceService;
|
|
8056
7898
|
_this.localeService = localeService;
|
|
8057
7899
|
_this.kilogramPipe = kilogramPipe;
|
|
8058
7900
|
_this.messageService = messageService;
|
|
8059
|
-
_this.
|
|
7901
|
+
_this.datePipe = datePipe;
|
|
8060
7902
|
return _this;
|
|
8061
7903
|
}
|
|
8062
|
-
ModalInvoicePjForTransferComponent.prototype.ngOnInit = function () {
|
|
8063
|
-
this.defineGridColumns();
|
|
8064
|
-
_super.prototype.ngOnInit.call(this);
|
|
8065
|
-
};
|
|
8066
|
-
ModalInvoicePjForTransferComponent.prototype.defineGridColumns = function () {
|
|
8067
|
-
this.gridColumns = [
|
|
8068
|
-
{ field: 'number', header: this.translate.instant('agro.angular_components.number') },
|
|
8069
|
-
{ field: 'series', header: this.translate.instant('agro.angular_components.series') },
|
|
8070
|
-
{ field: 'invoiceItems', header: this.translate.instant('agro.angular_components.itens'), sortable: false },
|
|
8071
|
-
{ field: 'quantity', header: this.translate.instant('agro.angular_components.quantity'), sortable: false },
|
|
8072
|
-
{ field: 'issuanceDate', header: this.translate.instant('agro.angular_components.issuance_date') },
|
|
8073
|
-
];
|
|
8074
|
-
};
|
|
8075
|
-
ModalInvoicePjForTransferComponent.prototype.beforeAdd = function (selectedInvoices) {
|
|
8076
|
-
throw new Error('Method not implemented.');
|
|
8077
|
-
};
|
|
8078
|
-
ModalInvoicePjForTransferComponent.prototype.adaptResult = function (result) {
|
|
8079
|
-
return Promise.resolve(result);
|
|
8080
|
-
};
|
|
8081
7904
|
ModalInvoicePjForTransferComponent.ctorParameters = function () { return [
|
|
8082
7905
|
{ type: LibTranslationService },
|
|
8083
7906
|
{ type: AgroInvoiceService },
|
|
8084
7907
|
{ type: angularComponents.LocaleService },
|
|
8085
7908
|
{ type: KilogramPipe },
|
|
8086
|
-
{ type: primeng.MessageService }
|
|
7909
|
+
{ type: primeng.MessageService },
|
|
7910
|
+
{ type: common.DatePipe }
|
|
8087
7911
|
]; };
|
|
8088
|
-
__decorate([
|
|
8089
|
-
core.Input()
|
|
8090
|
-
], ModalInvoicePjForTransferComponent.prototype, "options", void 0);
|
|
8091
|
-
__decorate([
|
|
8092
|
-
core.Output()
|
|
8093
|
-
], ModalInvoicePjForTransferComponent.prototype, "whenSelectInvoices", void 0);
|
|
8094
7912
|
ModalInvoicePjForTransferComponent = __decorate([
|
|
8095
7913
|
core.Component({
|
|
8096
7914
|
selector: 's-modal-invoice-pj-for-transfer',
|
|
8097
|
-
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",
|
|
8098
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}"]
|
|
8099
7917
|
})
|
|
8100
7918
|
], ModalInvoicePjForTransferComponent);
|
|
8101
7919
|
return ModalInvoicePjForTransferComponent;
|
|
8102
|
-
}(
|
|
7920
|
+
}(ModalInvoicePjForOriginationComponent));
|
|
8103
7921
|
|
|
8104
7922
|
var ModalInvoicePjForTransferModule = /** @class */ (function () {
|
|
8105
7923
|
function ModalInvoicePjForTransferModule() {
|
|
@@ -8117,8 +7935,8 @@
|
|
|
8117
7935
|
|
|
8118
7936
|
var ModalInvoicePjForFixationComponent = /** @class */ (function (_super) {
|
|
8119
7937
|
__extends(ModalInvoicePjForFixationComponent, _super);
|
|
8120
|
-
function ModalInvoicePjForFixationComponent(translationService, invoiceService, localeService, kilogramPipe, currencyPipe, producerInvoiceService, messageService) {
|
|
8121
|
-
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;
|
|
8122
7940
|
_this.translationService = translationService;
|
|
8123
7941
|
_this.invoiceService = invoiceService;
|
|
8124
7942
|
_this.localeService = localeService;
|
|
@@ -8126,6 +7944,7 @@
|
|
|
8126
7944
|
_this.currencyPipe = currencyPipe;
|
|
8127
7945
|
_this.producerInvoiceService = producerInvoiceService;
|
|
8128
7946
|
_this.messageService = messageService;
|
|
7947
|
+
_this.datePipe = datePipe;
|
|
8129
7948
|
_this.whenSelectInvoices = new core.EventEmitter();
|
|
8130
7949
|
return _this;
|
|
8131
7950
|
}
|
|
@@ -8159,7 +7978,7 @@
|
|
|
8159
7978
|
return rxjs.of(rxjs.EMPTY).toPromise();
|
|
8160
7979
|
};
|
|
8161
7980
|
ModalInvoicePjForFixationComponent.prototype.open = function () {
|
|
8162
|
-
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) {
|
|
8163
7982
|
this.messageService.add({
|
|
8164
7983
|
severity: 'warn',
|
|
8165
7984
|
summary: this.translate.instant('agro.fixation.max_linked_invoices'),
|
|
@@ -8305,7 +8124,8 @@
|
|
|
8305
8124
|
{ type: KilogramPipe },
|
|
8306
8125
|
{ type: common.CurrencyPipe },
|
|
8307
8126
|
{ type: ProducerInvoiceService },
|
|
8308
|
-
{ type: primeng.MessageService }
|
|
8127
|
+
{ type: primeng.MessageService },
|
|
8128
|
+
{ type: common.DatePipe }
|
|
8309
8129
|
]; };
|
|
8310
8130
|
__decorate([
|
|
8311
8131
|
core.Input()
|
|
@@ -8316,7 +8136,7 @@
|
|
|
8316
8136
|
ModalInvoicePjForFixationComponent = __decorate([
|
|
8317
8137
|
core.Component({
|
|
8318
8138
|
selector: 's-modal-invoice-pj-for-fixation',
|
|
8319
|
-
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",
|
|
8320
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}"]
|
|
8321
8141
|
})
|
|
8322
8142
|
], ModalInvoicePjForFixationComponent);
|