Commit graph

7 commits

Author SHA1 Message Date
Alex Sherman
76a0b80f85 Add test rake job for processing dummy payment 2021-05-31 15:33:55 +05:00
Alex Sherman
313731232e Move jobs from Que to ActiveJob 2021-04-12 17:22:35 +05:00
Alex Sherman
43b3033991 Fix namespaces for Zeitwerk class loader 2021-03-05 19:09:24 +05:00
Karl Erik Õunapuu
310e0adac8 Pass whole Customer object to Directo 2020-07-30 17:08:19 +03:00
Karl Erik Õunapuu
21543d8416 Better naming for variables 2020-03-06 15:17:01 +02:00
Karl Erik Õunapuu
3f92640ad2 Move registrar directo logic to concern, touch up translations 2020-03-02 17:38:03 +02: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