foodsoft/app/controllers
Patrick Gansterer e7657b987f Update model to support financial transactions #367
This change introduces two new data types to group the financial
transactions. Now every transaction has a "type", which itself belongs
to a "class".
Types should be used add structured information to an transaction, instead
of writing it into the notice textfield. E.g. this could be used to have
different types depending on the source of money (cash vs. bank transfer).
Classes are shown as different columns in the tables and will be uses to
group transactions of specific types. They should be used if not the whole
amount of ordergroup should be used to order food. E.g. if there is a
deposit or membership fee, which is independent of the normal credit.
This will allow us to implement additional features based on classes in
the future. E.g. the sum of transactions in the "membership fee" class
must be positive to allow food orders or show a big warning if it is bellow
a certain value.
2017-12-09 11:51:23 +01:00
..
admin Log mail delivery errors to database and add an UI for it 2017-10-02 16:02:39 +02:00
finance Update model to support financial transactions #367 2017-12-09 11:51:23 +01:00
foodcoop Add deleted_at for User 2016-03-04 19:03:52 +01:00
application_controller.rb Add Discourse SSO to allow login into Discourse via Foodsoft 2017-10-01 00:48:05 +02:00
article_categories_controller.rb small i18n/translation fixes 2013-04-10 14:07:59 +02:00
articles_controller.rb Fix sync ignored article count 2016-04-16 21:15:53 +02:00
deliveries_controller.rb migrate to Rails 4.0 (closes foodcoops#214) 2014-02-24 12:46:28 +01:00
errors_controller.rb Use only the HTML format during rendering of error responses 2017-10-10 20:24:50 +02:00
feedback_controller.rb Fix mailer warnings 2015-01-13 18:02:30 +01:00
group_order_articles_controller.rb Use more boolean comparators where it makes sense 2015-01-14 22:56:32 +01:00
group_orders_controller.rb Fix error code when opening an invalid group order 2017-10-12 01:28:26 +02:00
home_controller.rb Show only 2 tasks of the same periodic_task_group at dashboard 2017-10-28 20:17:45 +02:00
invites_controller.rb Add config option to disable the invites 2016-03-06 13:56:33 +01:00
login_controller.rb Add deleted_at for User 2016-03-04 19:03:52 +01:00
order_articles_controller.rb Use more boolean comparators where it makes sense 2015-01-14 22:56:32 +01:00
order_comments_controller.rb Refactoring of order comments. 2011-06-19 20:47:27 +02:00
orders_controller.rb Add an option to automatically finish an order 2017-10-12 21:14:29 +02:00
sessions_controller.rb Add Discourse plugin 2017-09-22 13:58:00 +02:00
stock_takings_controller.rb Merge remote-tracking branch 'bennibu/rails3' into rails3 2013-04-04 00:29:50 +02:00
stockit_controller.rb Fix new stock article failing 2016-05-20 21:30:56 +02:00
styles_controller.rb allow foodcoops to add custom css 2014-09-02 13:35:45 +02:00
suppliers_controller.rb Fix listing of shared suppliers 2017-03-04 13:17:46 +01:00
tasks_controller.rb Sort workgroups of tasks by name 2017-08-20 01:08:47 +02:00
users_controller.rb Show only undeleted users in user select input fields (PR #486) 2017-08-21 11:27:02 +02:00