Commit graph

44 commits

Author SHA1 Message Date
Karl Erik Õunapuu
8a5208057a
Fix parsing from ref number 2020-09-10 17:18:02 +03:00
Karl Erik Õunapuu
18aa7e3d63
Fix CC issues 2020-09-10 14:20:37 +03:00
Karl Erik Õunapuu
df79982881
Merge branch 'master' into 1101-topping-up-credit-account-without-an-invoice 2020-09-10 13:57:27 +03:00
Karl Erik Õunapuu
33c14fb957
Merge remote-tracking branch 'origin/master' into 1101-topping-up-credit-account-without-an-invoice 2020-09-10 12:11:16 +03:00
Karl Erik Õunapuu
dd48bb61d9
Verify ref_number_from_description return correct match 2020-09-10 11:04:46 +03:00
Karl Erik Õunapuu
166ff44491
Validate given reference number 2020-09-09 13:42:29 +03:00
Karl Erik Õunapuu
15470b7ec4
Fix CC issues 2020-09-09 13:14:26 +03:00
Karl Erik Õunapuu
e61601fdd7
BankTransaction: Find reference numbers with any length from description 2020-09-09 13:07:01 +03:00
Alex Sherman
14a319a4da Fix description ref number parsing 2020-09-08 13:36:44 +05:00
Karl Erik Õunapuu
20e3b2c09f
Fix some CC issues 2020-09-08 11:19:33 +03:00
Karl Erik Õunapuu
c7d768fbed
Fix autobindable? condition 2020-09-08 11:14:26 +03:00
Karl Erik Õunapuu
5991ea6be7
Reduce complexity of autobindable?() conditional 2020-09-07 17:41:28 +03:00
Karl Erik Õunapuu
be960457e6
Process payments: Create new invoice by transaction to allow direct top ups 2020-09-07 16:58:27 +03:00
Karl Erik Õunapuu
1011876872 Link bank transaction with AccountActivity 2020-02-12 18:05:57 +02:00
Karl Erik Õunapuu
5d8e78f3c6 Rename #create_with_type to #new_with_type 2020-02-05 16:45:35 +02:00
Karl Erik Õunapuu
5393130e34 Rename create_payment_method to create_internal_payment_record 2020-02-05 09:15:56 +02:00
Karl Erik Õunapuu
2645654aef Create System / Admin payment log 2020-02-04 21:10:06 +02:00
Karl Erik Õunapuu
32d4fc3c83 Refactor EveryPay / Banklink processing 2020-01-30 21:01:15 +02:00
Karl Erik Õunapuu
cb76a9f962 Merge remote-tracking branch 'origin/master' into 1422-record-payment-method-and-failed-payments 2020-01-30 18:34:15 +02:00
Karl Erik Õunapuu
7033d91227 EveryPay/BankLink: Select specific Invoice to mark as paid 2020-01-30 18:31:39 +02:00
Alex Sherman
5c59119c2c Add non_cancelled scope to autobind invoices
See https://github.com/internetee/registry/issues/1496#issuecomment-579870465
2020-01-29 22:52:11 +05:00
Alex Sherman
19cd5ecd95 Add autobind fix if invoice with this sum is already present 2020-01-29 20:43:09 +05: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
fa52001be6 Upgrade to Rails 5.0
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
62c38d1f99 Add balance auto reload
Closes #329
2019-06-14 16:30:34 +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
a43a1ac3e3 Match bank transaction against invoice reference number instead of
registrar's
2018-11-26 16:33:57 +02:00
Artur Beljajev
c44f3df7f5 Remove Rubocop inline directives 2018-06-07 19:17:16 +03:00
Artur Beljajev
b68fe6e312 Rename attributes
#623
2018-03-13 11:32:15 +02:00
Vladimir Krylov
ef55560d0e Story#105855968 - send invoices to directo 2016-03-04 16:15:30 +02:00
Vladimir Krylov
72bd54dc7c Story#105852786 - Directo invoices are calculated based on invoices 2016-01-19 12:39:42 +02:00
Vladimir Krylov
49e66d33de Story#105852786 - Push bank transfers to directo 2016-01-18 14:13:28 +02:00
Martin Lensment
d6a151b141 Add activity type field #2691 2015-07-06 13:02:19 +03:00
Priit Tark
7ac6d6b362 Rubocop update #2751 2015-07-03 15:40:29 +03:00
Martin Lensment
98439b896c Debit account on domain create #2741 2015-07-02 17:08:24 +03:00
Martin Lensment
863f32a026 Increase account balance without vat #2663 2015-06-12 12:56:49 +03:00
Martin Lensment
a26ce110b2 Invoice cancelling 2015-04-27 11:15:09 +03:00
Martin Lensment
f514e50628 Add versioning to billing 2015-04-17 12:39:09 +03:00
Martin Lensment
ccb44fa3b9 Interface for manual binding 2015-04-16 18:04:52 +03:00
Martin Lensment
32073ca862 Add account activity to registrar 2015-04-16 13:21:43 +03:00
Martin Lensment
18a2e27c19 Fix double binding issue 2015-04-15 11:51:23 +03:00
Martin Lensment
851e5368eb Binding interface for bank statements 2015-04-15 11:32:51 +03:00
Martin Lensment
57d23976c7 Some tests for invoice binding 2015-04-14 19:00:38 +03:00
Martin Lensment
3398bcd845 Add views for bank items 2015-04-14 13:55:33 +03:00