Commit graph

2339 commits

Author SHA1 Message Date
Patrick Gansterer
dae4d075fe Add UI to manage the financial transaction types and classes 2017-12-09 11:51:23 +01:00
Patrick Gansterer
924f346b4c Show the financial transaction type if there are more than one type #367 2017-12-09 11:51:23 +01:00
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
Patrick Gansterer
dc94e98138 Add folders to the documents plugin 2017-11-21 10:12:13 +01:00
wvengen
611a29fe2d Continue development after release 2017-11-10 18:56:49 +01:00
wvengen
d7420a13d2 Bumped new version: 4.6.0 2017-11-10 18:55:45 +01:00
wvengen
6f6e0e561a Fix deployment note in README 2017-11-10 17:06:20 +01:00
wvengen
33aa1c4b4a Localeapp roundtrip 2017-11-10 17:06:20 +01:00
Patrick Gansterer
816f699f69 Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +01:00
wvengen
5e4f3fb730
Fix setup for development with docker (PR #523) 2017-11-10 17:02:07 +01:00
acracia
3b18dc7532 Add translations for Spanish 2017-11-06 20:12:03 +01:00
Patrick Gansterer
f261272c7e Fix size of receive_button in list of finished orders 2017-11-06 14:15:15 +01:00
Patrick Gansterer
9d588f70cc Fix group_order for stock order 2017-10-29 20:44:05 +01:00
Patrick Gansterer
f77f2fcbfd Localeapp roundtrip 2017-10-29 01:17:49 +02:00
Patrick Gansterer
f08715cda3 Fix Task.next_unassigned_tasks_for() for non-periodic tasks 2017-10-29 00:06:05 +02:00
Patrick Gansterer
f209f4907e Add a parameter for financial_link to Ordergroup.add_financial_transaction 2017-10-28 21:46:13 +02:00
Patrick Gansterer
9f2e5bb992 Add missing German translations 2017-10-28 21:34:15 +02:00
Patrick Gansterer
47e4a9afdf Show only 2 tasks of the same periodic_task_group at dashboard 2017-10-28 20:17:45 +02:00
Patrick Gansterer
ad96159336 Sort the task at dashboard by due_date 2017-10-28 20:17:45 +02:00
Patrick Gansterer
2d641b683a Show links to details beside the header to save space 2017-10-28 20:17:45 +02:00
Patrick Gansterer
53bb096046 Add FinancialLinks
For now this is only usefull for plugins, since there is no UI.
2017-10-28 20:17:16 +02:00
Patrick Gansterer
75deec9f06 Add custom fields to invoice, odergroup, supplier and user 2017-10-28 20:16:47 +02:00
Patrick Gansterer
72b5a5ca82 Add option to show account balance instead of available funds
Some foodcoops do not use the accounting feature of the foodsoft, which
results in wrong calculation of the available credit. To avoid
confusions show the current account balance instead.
2017-10-28 20:16:25 +02:00
wvengen
f5bea41ccf
Remove Capistrano (#491, PR #521) 2017-10-28 19:50:02 +02:00
wvengen
c35205c1b0 Update doc line 2017-10-27 23:23:46 +02:00
wvengen
8a5c130875 Bundle update 2017-10-27 23:21:31 +02:00
wvengen
b49bfb0d8c Localeapp roundtrip + fixes
This includes an overdue synchronization of plugin locales. To make
translation easier for non-developers, we keep the strings at localeapp,
which puts everything in one file. All plugins enabled by default are
therefore included in Foodsoft's locales.
2017-10-27 22:37:32 +02:00
Patrick Gansterer
6989e2f4f7 Add view for unpaid invoices 2017-10-26 21:27:26 +02:00
Patrick Gansterer
0de7fc0da5 Add a wiki page for the Dashboard 2017-10-26 21:23:51 +02:00
Patrick Gansterer
cef951e421 Remove unused function from Page model 2017-10-26 21:23:51 +02:00
Patrick Gansterer
db46f189be Ensure that WikiCloth does not show Edit links 2017-10-26 21:23:51 +02:00
Patrick Gansterer
da1ebe915c Use deface in wiki plugin 2017-10-26 21:23:51 +02:00
Patrick Gansterer
8e593f8629 Support receiving of signed multipart mails in messages plugin 2017-10-19 14:58:26 +02:00
Patrick Gansterer
564492afe4 Add an option to automatically finish an order 2017-10-12 21:14:29 +02:00
Patrick Gansterer
c3927e4013 Enable documents plugin by default 2017-10-12 20:46:39 +02:00
Patrick Gansterer
8a9d7a91c9 Add whitelisting for documents 2017-10-12 20:46:39 +02:00
Patrick Gansterer
957b347b04 Ensure correct extension when downloading documents 2017-10-12 20:46:39 +02:00
Patrick Gansterer
7d112516a1 Fix error code when opening an invalid group order 2017-10-12 01:28:26 +02:00
Patrick Gansterer
bce9d9a8c2 Use Mail::Address to create email addresses with display names
This class escapes special characters in addresses correctly.
2017-10-12 01:19:19 +02:00
Patrick Gansterer
f509f85327 Save the timestamp of the last mail to supplier and confirm resending it 2017-10-11 23:48:27 +02:00
Patrick Gansterer
9a3ab1458e Use short syntax for the translations in DocumentsController 2017-10-11 01:37:40 +02:00
Patrick Gansterer
f27bbc2ffa Add a button to send the order to the supplier 2017-10-10 23:45:37 +02:00
Patrick Gansterer
b4ce8c31cc Use only the HTML format during rendering of error responses 2017-10-10 20:24:50 +02:00
Patrick Gansterer
499758edc4 Convert received mail to default encoding
This fixes a problem when the received mail does not use UTF-8 as encoding.
2017-10-10 18:01:32 +02:00
Patrick Gansterer
380bd62168 Bundle update #470 2017-10-09 22:23:23 +02:00
Patrick Gansterer
e9b346f02c Use Rails.logger for the SMTP server too 2017-10-09 16:42:01 +02:00
Patrick Gansterer
a6dd7c731a Use only one thread for receiving mails to avoid concurrency problems 2017-10-09 16:41:09 +02:00
Patrick Gansterer
08ac3aa539 Log problems with RCPT TO commands when receiving mails 2017-10-09 16:39:07 +02:00
Patrick Gansterer
0b79fe4f41 Set Return-Path in emails only if To is a String 2017-10-09 11:47:27 +02:00
Patrick Gansterer
8111e3cc59 Call the ExceptionNotifier for erros in FoodsoftMailReceiver 2017-10-09 10:32:32 +02:00