Closed vinifarias closed 5 years ago
Do the file names should be start with a capitalized letter?
Yes :disappointed: @fanny , this is the only way to import the modules without making a complex configuration.
Oh, nice guy! Great work!
Please, remember to mark the functionalities finished in the issues.
Ok!
This PR adds some functions of the project.
The responsibility to call and use the transactions is just for
Queries.hs
, in this way the functions implemented inFilter.hs
andHelper.hs
can be coded in the simplest way possible because they don't have to use IO operations.Maping of features to haskell functions:
getTransactionsByYear year
getTransactionsByYearAndMonth year month
getRevenueValue year month
getExpenseValue year month
getRemainsValue year month
getFinalBalance year month
getMaxBalance year month
getMinBalance year month
getAvgRevenues year
getAvgExpenses year
getAvgRemains year
getCashFlow year month