Git Product home page Git Product logo

macope's Introduction

macope's People

Contributors

dependabot[bot] avatar gallib avatar laravel-shift avatar

Watchers

 avatar

macope's Issues

Split categorization

Add a selector to choose if a categorization concern an income or an expense, this choice must be mandatory.

Update amount, a value < 0 is not required anymore if the categorization concern an expense

Ignore categories

Add the ability to ignore some categories.

These categories must not be visible on expenses/incomes pages

Order by alphabetical

Order by alphabetical order the select on categories, type categories and categorizations

Apply new categorization to existing journal entries

When we create a new categorization, there is no option to apply the newly created categorization to existing entries.

Even better, add below the form a list of journal entries created by the rule we are writing

Split yearly billing

Yearly billing must be splitted in 2 parts: expenses and incomes.

To do so:

  • Create a new route/controller/view : incomes
  • Rename yearly billing route/controller/view in expenses

Split getYearlyBilling (service/query) in two for expenses/incomes

SQL error on yearly billing

There is an SQL error on yearly billing page:

SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'macope.type_categories.name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select `categories`.`name` as `category_name`, `type_categories`.`name` as `type_category_name`, YEAR(journal_entries.date) as year, MONTH(journal_entries.date) as month, SUM(journal_entries.credit) as credit, SUM(journal_entries.debit) as debit from `journal_entries` inner join `categories` on `categories`.`id` = `journal_entries`.`category_id` inner join `type_categories` on `type_categories`.`id` = `categories`.`type_category_id` where year(`journal_entries`.`date`) = 2017 group by categories.name, YEAR(journal_entries.date), MONTH(journal_entries.date))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.