Commit graph

13 commits

Author SHA1 Message Date
Alex Sherman
235ef9ba3e Add paid flag to email subject, check receipt date in tests 2021-05-28 14:05:45 +05:00
Alex Sherman
37fdf8ad49 Fix processing of transactions not related to registrar 2021-05-18 17:35:20 +05:00
Oleg Hasjanov
1294a05870 refactoring: separate methods from bank_transaction model to concern 2021-04-22 16:02:03 +03:00
Oleg Hasjanov
a1c38fb1cc refactoring 2021-04-21 14:04:47 +03:00
Oleg Hasjanov
40368aaa62 added non canceled method for check paid invoices 2021-04-21 12:56:36 +03:00
Oleg Hasjanov
8f3f5f7302 added test for transaction with binded invoice which already paid 2021-04-20 16:17:40 +03:00
Karl Erik Õunapuu
3decec8b02
Test valid invoice sums when created by bank transaction 2020-09-09 17:30:19 +03:00
Karl Erik Õunapuu
1a56fcf179
Test balance reloading after bank transfer without invoice 2020-09-08 13:49:20 +03:00
Karl Erik Õunapuu
64def385b0 Replace LHV JKS store with P12 2020-07-27 12:09:29 +03:00
Karl Erik Õunapuu
2645654aef Create System / Admin payment log 2020-02-04 21:10:06 +02:00
Artur Beljajev
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
1dc6ef7ddf Process payments automatically
Closes #1232
2019-08-26 13:58:21 +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