apropiacionHelper

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddApropiacion deprecated

func AddApropiacion(data models.Apropiacion) map[string]interface{}

AddApropiacion ... Add apropiacion to mongo and postgres tr.

Deprecated: Depende de PLAN_CUENTAS_CRUD (ya no está en servicio)

func AprobarPresupuesto deprecated

func AprobarPresupuesto(vigencia, unidadejecutora int) (res map[string]interface{})

AprobarPresupuesto retorna res siempre y cuando el tipo sea success

Deprecated: Depende de PLAN_CUENTAS_CRUD (ya no está en servicio)

func CalcularSaldoApropiacion

func CalcularSaldoApropiacion(rubroParam string, unidadEParam, vigenciaParam int) (res map[string]float64)

CalcularSaldoApropiacion .... Return Apropiation's balance by Rubro's code , ue and year.

func CompareApropiationNodes

func CompareApropiationNodes(nodesToCompare *map[string]float64, ue, vigencia int) (compareFlag bool)

CompareApropiationNodes return tru if nodes to compare have the same balance.

func ConstruirArbolRubroApropiacion

func ConstruirArbolRubroApropiacion(ueStr string, vigenciaStr string, raiz string, nivel string) (resultado map[string]interface{}, err interface{})

ConstruirArbolRubroApropiacion construir abrol rubro apropiacion

func PresupuestoAprobado deprecated

func PresupuestoAprobado(vigencia, unidadejecutora int) bool

PresupuestoAprobado retorna true si la apropiacion esta aprobada, retorna falso en caso contrario

Deprecated: Depende de PLAN_CUENTAS_CRUD (ya no está en servicio)

func PutApropiacion deprecated

func PutApropiacion(data map[string]interface{}, idStr, valStr, vigStr string) map[string]interface{}

PutApropiacion ... Modify the Apr Value if these Apr isn't Aproved

Deprecated: Depende de PLAN_CUENTAS_CRUD (ya no está en servicio)

Types

This section is empty.

Jump to

Keyboard shortcuts

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