Commit graph

6 commits

Author SHA1 Message Date
Karl Erik Õunapuu
2645654aef Create System / Admin payment log 2020-02-04 21:10:06 +02:00
Karl Erik Õunapuu
6418924faf Cover EveryPay / BankLink payments with tests 2020-02-04 15:13:51 +02:00
Karl Erik Õunapuu
b6469f3dfe Move payment method fetching logic to Model, rewrite tests for EveryPay component 2020-02-03 20:05:05 +02:00
Artur Beljajev
8faa6d55ea Improve tests
- Remove unnecessary fixtures
- Remove unnecessary teardown steps
- Improve readability
2019-06-20 16:41:12 +03:00
Artur Beljajev
a97728c0f3 Refactor and improve invoices
- `runner 'Invoice.cancel_overdue_invoices'` in `schedule.rb` is
changed to `rake 'invoices:cancel_overdue'`.
- `invoices.payment_term` database column is removed and its value is
hardcoded in UI.
- `invoices.paid_at` is removed as unused
- `invoices.due_date` column's type is now `date`.
- `Invoice#invoice_items` renamed to `Invoice#items` and `Invoice`
interface to get a list of items is unified.
- Default date format in UI.
- Default translations are used.
- Tests improved.
- Specs converted to tests and removed along with factories.
- Database structure improved.
2019-03-14 15:39:24 +02:00
Maciej Szlosarczyk
d92004cbe0
Rename Payments to PaymentOrders 2018-04-30 09:30:34 +03:00