Karl Erik Õunapuu
b6469f3dfe
Move payment method fetching logic to Model, rewrite tests for EveryPay component
2020-02-03 20:05:05 +02:00
Alex Sherman
effedcf585
Add autocheck by reference number in field or in description
...
(parsed by regexp, first 7-digit number)
See #1415
2019-12-19 16:13:46 +05:00
Artur Beljajev
13ff0b1183
ChangeInvoicesRequiredColumnsToNotNullPart2
2019-08-26 17:41:05 +03:00
Artur Beljajev
3be20eeec2
Fix fixtures
2019-08-26 17:41:05 +03:00
Artur Beljajev
98e662b003
ChangeInvoicesRequiredColumnsToNotNull
2019-08-26 17:41:05 +03: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
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
Artur Beljajev
5738c17731
Use Estonian reference number format instead of ISO 11649
2018-11-26 16:33:53 +02:00
Maciej Szlosarczyk
657affb68d
Add whois record fixture and fix invoices fixture
2018-06-22 13:39:45 +03:00
Maciej Szlosarczyk
f6b1db2cce
Fix leaking test
2018-04-20 13:21:20 +03:00
Maciej Szlosarczyk
d7dc1017b0
Remove capybara-selenium
2018-04-18 19:27:19 +03:00
Maciej Szlosarczyk
eda6772c6f
Merge branch 'master' into credit-and-debit-card-payments
2018-04-18 13:44:03 +03:00
Maciej Szlosarczyk
c5591b4828
Add EveryPay payments
...
* Refactor BankLink into Payments::BankLink, add Payments::EveryPay
* Write tests for existing invoice views
* Write basic tests for Payments module
2018-04-18 13:41:46 +03:00
Artur Beljajev
b68fe6e312
Rename attributes
...
#623
2018-03-13 11:32:15 +02:00
Artur Beljajev
6dfd57ee2e
Remove tests
...
#623
2018-03-13 08:47:08 +02:00
Artur Beljajev
7cc479c3fe
Update fixtures
...
#623
2018-03-12 11:35:34 +02:00
Artur Beljajev
7d72d9cb34
Fix vat rate
...
#623
2018-03-11 19:33:21 +02:00
Artur Beljajev
7acd41595c
Merge branch 'registry-772' into registry-623
...
# Conflicts:
# app/models/invoice.rb
# db/structure.sql
2018-03-10 16:48:47 +02:00
Artur Beljajev
efaac16cee
Remove unused attribute
...
#772
2018-03-10 16:33:35 +02:00
Artur Beljajev
6a01226138
Update VAT
...
#623
2018-02-28 09:36:02 +02:00
Artur Beljajev
7dee10c683
Rename invoices.var_prc
to vat_rate
...
#623
2018-02-28 08:46:36 +02:00
Artur Beljajev
3a85147887
Revert fixtures from #509
2017-11-13 05:30:13 +02:00
Artur Beljajev
f36226ae1e
Update fixtures
2017-11-12 00:55:50 +02:00
Artur Beljajev
6cd7a685f9
Add fixtures
2017-11-09 15:24:04 +02:00