internetee-registry/app
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
..
api/repp Merge branch 'master' into update-ruby-to-2-4 2018-08-27 17:07:49 +03:00
assets Support IE11 2018-10-27 16:18:29 +03:00
controllers Refactor and improve invoices 2019-03-14 15:39:24 +02:00
helpers Generate <body> CSS class for every action for better styling 2018-08-17 15:39:06 +03:00
jobs Rename notifications.body to text 2018-08-23 22:33:30 +03:00
mailers Remove additional logger messages 2018-09-20 13:47:19 +03:00
models Refactor and improve invoices 2019-03-14 15:39:24 +02:00
presenters Rename class to avoid any future collisions 2018-08-31 14:26:06 +03:00
services Refactor and improve invoices 2019-03-14 15:39:24 +02:00
validators Fix rubocop issues that are new to Ruby 2.4 2018-08-17 11:03:01 +03:00
views Refactor and improve invoices 2019-03-14 15:39:24 +02:00