Documentation ¶
Index ¶
- func CalculPlatiFacuteAnaf(declaratii []declaratii.Declaratie, filterYear string) float64
- func CalculeazaCheltuieliDeductibile(cheltuieli []types.Cheltuiala) float64
- func CalculeazaIncasariBrut(incasari []types.FacturaPlusExtraIncasari) float64
- func CreeazaRegistruFiscal(aniInregistrati []string, incasari []types.FacturaPlusExtraIncasari, ...) []types.RegistruFiscal
- func CreeazaRegistruInventar(cheltuieli []types.Cheltuiala) []types.RegistruInventar
- func CreeazaRegistruJurnal(incasari []types.FacturaPlusExtraIncasari, cheltuieli []types.Cheltuiala) []types.RegistruJurnal
- func GetCurrentUser(currentUserPath string) auth.Account
- func GetPlatiCatreStatRounded(totalIncasariNet float64, filterYear string, ...) (map[string]string, float64, float64)
- func HandleRegistre(app fiber.App, store session.Store)
- type Filepath
- type PlatiStat
- type ReportYear
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 GetPlatiCatreStatRounded ¶ added in v1.0.1
func GetPlatiCatreStatRounded(totalIncasariNet float64, filterYear string, declaratii []declaratii.Declaratie) (map[string]string, float64, float64)
func HandleRegistre ¶
Types ¶
type PlatiStat ¶
type PlatiStat struct { CASPensie float64 `json:"cas_pensie"` CASSSanatate float64 `json:"cass_sanatate"` ImpozitVenit float64 `json:"impozit_venit"` Total float64 `json:"total"` }
type ReportYear ¶
type ReportYear struct {
Anul string `query:"anul"`
}
Click to show internal directories.
Click to hide internal directories.