registre

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculPlatiFacuteAnaf

func CalculPlatiFacuteAnaf(declaratii []declaratii.Declaratie, filterYear string) float64

func CalculeazaCheltuieliDeductibile

func CalculeazaCheltuieliDeductibile(cheltuieli []types.Cheltuiala) float64

func CalculeazaIncasariBrut

func CalculeazaIncasariBrut(incasari []types.FacturaPlusExtraIncasari) float64

func CreeazaRegistruFiscal

func CreeazaRegistruFiscal(
	aniInregistrati []string,
	incasari []types.FacturaPlusExtraIncasari,
	cheltuieli []types.Cheltuiala,
	filterYear string) []types.RegistruFiscal

func CreeazaRegistruInventar

func CreeazaRegistruInventar(cheltuieli []types.Cheltuiala) []types.RegistruInventar

func CreeazaRegistruJurnal

func CreeazaRegistruJurnal(incasari []types.FacturaPlusExtraIncasari, cheltuieli []types.Cheltuiala) []types.RegistruJurnal

func GetCurrentUser added in v0.0.5

func GetCurrentUser(currentUserPath string) auth.Account

func HandleRegistre

func HandleRegistre(app fiber.App, store session.Store)

Types

type Filepath

type Filepath struct {
	Path string `query:"path"`
}

type PlatiStat

type PlatiStat struct {
	CASPensie    float64 `json:"cas_pensie"`
	CASSSanatate float64 `json:"cass_sanatate"`
	ImpozitVenit float64 `json:"impozit_venit"`
	Total        float64 `json:"total"`
}

func CalculeazaPlatiCatreStat

func CalculeazaPlatiCatreStat(venitNet float64, anul string) PlatiStat

type ReportYear

type ReportYear struct {
	Anul string `query:"anul"`
}

Jump to

Keyboard shortcuts

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