|
|
@@ -133,6 +133,20 @@ export class InvestmentProposalsComponent implements OnInit {
|
|
|
}, 1000);
|
|
|
}
|
|
|
|
|
|
+ create_investment_proposal() {
|
|
|
+ this.formInvestmentProposal.resetFormData();
|
|
|
+
|
|
|
+ Swal.fire({
|
|
|
+ allowOutsideClick: false,
|
|
|
+ icon: "info",
|
|
|
+ text: "Espere por favor..."
|
|
|
+ });
|
|
|
+ Swal.showLoading();
|
|
|
+ setTimeout(() => {
|
|
|
+ this.router.navigate(["/investment-proposal/general-info"], {});
|
|
|
+ }, 1000);
|
|
|
+ }
|
|
|
+
|
|
|
// Verifica permisos para mostrar boton de edicion y/o envio a revision,
|
|
|
// segun los permisos del usuario y el estado de la propuesta
|
|
|
can_modify_or_send_to_review(status: string) {
|