Commit graph

29 commits

Author SHA1 Message Date
dinsmol
5ca81115ed fixed codeclimate error 2021-08-30 08:40:08 +03:00
dinsmol
e9750aee31 fixed test error 2021-08-29 23:15:07 +03:00
dinsmol
4770411cda refactored 2021-08-28 00:41:11 +03:00
dinsmol
dce074e326 fixed undefined method error 2021-08-28 00:29:01 +03:00
dinsmol
9dffb1fd31 fixed codeclimate errors 2021-08-27 00:30:56 +03:00
dinsmol
867fbb02a8 fixed codeclimate errors 2021-08-26 23:29:48 +03:00
dinsmol
24d247f4da fixed codeclimate errors 2021-08-26 22:33:30 +03:00
dinsmol
5cb4085660 added filtering 2021-08-25 22:23:58 +03:00
dinsmol
ec1a48743c codeclimate fixes 2021-07-30 15:20:58 +03:00
dinsmol
11029e83ce fixed admin pagination 2021-07-29 15:26:44 +03:00
Oleg Hasjanov
2d911e53c3 added method which note cancelled payment orders 2021-04-29 09:51:10 +03:00
Oleg Hasjanov
b3e27b37b5 change status from cancelled to unpaid 2021-04-28 16:53:06 +03:00
Oleg Hasjanov
28d1560555 refactoring 2021-04-22 13:24:00 +03:00
Oleg Hasjanov
895fa22702 added test 2021-04-22 12:45:00 +03:00
Oleg Hasjanov
af8bc41556 implement paid cancel 2021-04-22 11:49:30 +03:00
Artur Beljajev
27ea790b28 Refactor invoice PDF generation, download and delivery
- Remove `Que::Mailer` (#895)
- Extract controllers
- Extract translations
- Convert HAML to ERB
- Add mailer preview
- Improve UI
- Remove unused routes
- Add tests
2019-04-11 13:04:42 +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
15a651e51b
Fix Rubocop issues after Ruby upgrade 2018-04-27 15:23:49 +03:00
Artur Beljajev
a63b989cd6 Use BaseController in admin 2017-08-22 01:17:50 +03:00
Vladimir Krylov
0ce6b84ddf Story#112050051 - fix invoice sorting in admin 2016-02-04 15:54:58 +02:00
Martin Lensment
e92ef92331 Fix invoice description #2810 2015-07-31 16:48:08 +03:00
Martin Lensment
9f42784d33 Show specific error on invoice generation in admin #2802 2015-07-31 16:30:38 +03:00
Martin Lensment
2e7f5a74c5 Invoice forwarding in admin #2566 2015-07-14 13:43:55 +03:00
Martin Lensment
bfd3e07981 Add ability to download invoice in admin #2566 2015-07-14 13:28:48 +03:00
Martin Lensment
935c547016 Issue invoices via admin #2566 2015-06-26 17:26:47 +03:00
Priit Tark
acab58b71c Update translation keys 2015-04-30 18:34:49 +03:00
Martin Lensment
1f2f483e34 Cancel invoices through admin 2015-04-27 15:56:39 +03:00
Martin Lensment
e987e201ad Fix invoice tests 2015-04-20 10:29:40 +03:00
Martin Lensment
adf321bafa Add invoices views for admin 2015-04-16 15:34:28 +03:00