necesidadhelper

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrearConsecutivoNecesidad added in v1.0.0

func CrearConsecutivoNecesidad(vigencia int) (id int, outputError map[string]interface{})

func EvaluarMovimiento added in v0.1.0

func EvaluarMovimiento(necesidad necesidad_models.Necesidad) (resultado bool, outputError map[string]interface{})

EvaluarMovimiento, A partir de la necesidad se determina si hay fondos para crubir la necesidad evaluando si es por inversion o funcionamiento

func GetIdProcesoNecesidad added in v1.0.0

func GetIdProcesoNecesidad() (id int, outputError map[string]interface{})

func GetTrNecesidad

func GetTrNecesidad(id string) (trnecesidad models.TrNecesidad, outErr map[string]interface{})

GetTrNecesidad obtiene necesidad de crud apí con sus objetos relacionados

func InterceptorMovimientoNecesidad added in v0.1.0

func InterceptorMovimientoNecesidad(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})

InterceptorMovimientoNecesidad, toma la necesidad y su id para determinar si se debe solo actualizar o si es para aprobar y en tal caso hacer un movimiento con esta informacion de la necesidad

func PostTrNecesidad

func PostTrNecesidad(trnecesidad models.TrNecesidad) (out models.TrNecesidad, outErr map[string]interface{})

PostTrNecesidad insertar la necesidad completa

func PutNecesidadService added in v0.1.0

func PutNecesidadService(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})

func RealizarMovimiento added in v0.1.0

func RealizarMovimiento(necesidad necesidad_models.Necesidad) (outputError map[string]interface{})

RealizarMovimiento, toma la informacion de la necesidad para poder generar y estructurar el movimiento

func SolicitudConsecutivo added in v1.0.0

func SolicitudConsecutivo(vigencia int, proceso int) (respconsecutivo models_consecutivos.Consecutivo, outputError map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL