Tom Carchrae
02328eba2b
fix missing translation
2019-02-20 22:26:51 +01:00
Patrick Gansterer
63e1541aa3
Use the default locale when sending mails to suppliers
2019-02-05 23:32:00 +01:00
Patrick Gansterer
d925533366
Fix rendering of stock order in OrderByGroups
2019-02-05 23:31:45 +01:00
Patrick Gansterer
b029fb98d6
Show sums for financial transaction types for ordergroups
2019-02-05 23:31:16 +01:00
Patrick Gansterer
5dab748fe3
Move sending of PDF into new ActiveSupport::Concern
2019-02-02 12:30:42 +01:00
Tom Carchrae
e5f64cff8c
units cannot show html in tooltip
2019-01-18 18:26:11 +01:00
Patrick Gansterer
52323b98b8
Fix create_collection in FinancialTransactionsController
2019-01-17 20:27:43 +01:00
Patrick Gansterer
a4f5b8fb33
Do not show deleted users as members of groups ( fixes #587 )
2019-01-15 05:20:58 +01:00
Patrick Gansterer
8d1dbe1448
Remove mail workaround after upgrade to 2.7
2019-01-15 05:08:03 +01:00
Patrick Gansterer
71fd6f2a24
Add CSV download for ordergroups
2019-01-15 04:50:32 +01:00
Patrick Gansterer
389f205a6b
Add set_balance to FinancialTransactions#new_collection ( fixes #438 )
...
A new checkbox will allow user to set the balance to a given ABSOLUTE value
in addition to changing it by a RELATIVE value. This can be used if the
balance is tracked outside of foodsoft and should be syncroniced or for
setting the balance to zero for multiple ordergroups.
2019-01-15 04:44:16 +01:00
Patrick Gansterer
abe847c0ee
Add and inherit from ApplicationRecord to match Rails 5.0 style
2019-01-15 04:40:05 +01:00
Patrick Gansterer
8c6d48da86
Avoid ActionView::MissingTemplate occurred in sessions#new
...
Some browser request /:foodcoop/login with the HTTP-Accept-Header set
to "image/webp,image/*;q=0.8", which leads to an internal server error
due to a not existing template. Call respond_to to allow only html and
respond with the correct "406 Not Acceptable" HTTP status code.
2019-01-15 04:18:47 +01:00
Tom Carchrae
7e88798778
big speedup in syncing via caching/reducing queries ( #610 )
2019-01-15 02:56:21 +01:00
Tom Carchrae
31689dfb75
allow override of default limit (<200) on articles on shared suppliers ( #609 )
2019-01-15 02:55:12 +01:00
Tom Carchrae
a66a44bdcf
error was on incorrect property
2019-01-14 21:01:30 +01:00
wvengen
554be093b9
API v1 navigation endpoint
2018-10-13 20:41:47 +02:00
wvengen
9c5a5d9492
API v1 config endpoint
2018-10-13 20:41:47 +02:00
wvengen
110c7cc3e9
API v1 user endpoint
2018-10-13 20:41:47 +02:00
wvengen
fd96b6ccc1
Prepare for API v1 (PR #570 )
2018-10-13 20:16:35 +02:00
Patrick Gansterer
4137992032
fix auto_close_and_send_min_quantity
2018-10-12 15:47:32 +02:00
Patrick Gansterer
4eef0f07d5
Fix internal server error at invoices
2018-10-12 15:47:16 +02:00
Patrick Gansterer
903086ab97
Add import route for bank_transactions
2018-10-12 15:47:02 +02:00
Patrick Gansterer
0bb0536903
Add short name to FinancialTransactionType
2018-10-12 13:33:41 +02:00
Patrick Gansterer
707501e3f8
Add edit functionality for financial links
2018-10-12 13:18:23 +02:00
Patrick Gansterer
f0a55fb951
Add model and views for bank accounts
2018-10-11 22:29:15 +02:00
Martin Ortbauer
4b1e9a6f53
improve usability when ordering (PR #552 )
...
also show box with links to currently open orders after the order has been saved
2018-10-11 22:15:00 +02:00
Patrick Gansterer
6cc02cb563
Add format helper for currency
2018-10-11 21:56:46 +02:00
Patrick Gansterer
66e9629858
Fix balancing with financial_transaction_types
2018-06-11 15:54:18 +02:00
Patrick Gansterer
91e8eb4950
Add missing brackets to the Message-ID of emails
2018-06-11 15:51:33 +02:00
Patrick Gansterer
ac11ba1cc1
Add pickups role
2018-01-25 18:09:29 +01:00
Patrick Gansterer
4c41a99fde
Fix pickup view for orders without pickup data ( #537 )
2017-12-09 18:38:36 +01:00
Patrick Gansterer
209ad615b4
Add view to sort orders by pickup day
2017-12-09 12:56:34 +01:00
Patrick Gansterer
bd49a64cd7
Make the download button of orders reusable
2017-12-09 12:25:29 +01:00
Patrick Gansterer
3e156bbbf3
Rewrite OrderPdfs to support multiple orders at once
2017-12-09 12:22:37 +01:00
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
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
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
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