Timo Võhmar
da514f9a50
Merge pull request #2531 from internetee/68-creating-syncronization-of-invoice-changes
...
creating sync with billing
2023-04-20 16:08:47 +03:00
Sergei Tsoganov
ec203df164
Corrected test errors
2023-03-16 11:50:50 +02:00
olegphenomenon
0a4444b556
creating sync with billing
2023-02-06 10:44:17 +02:00
olegphenomenon
c52da86865
remove eis-billing feature toggle
2022-09-02 13:32:02 +03:00
olegphenomenon
8812f8da22
fixed tests
2022-05-11 11:17:47 +03:00
olegphenomenon
d0236be063
updated tests
2022-05-11 11:17:47 +03:00
olegphenomenon
3242fb1da0
updated tests
2022-05-11 11:17:47 +03:00
olegphenomenon
9f4942e522
implemented method which get invoice number from billins side and updated tests
2022-05-11 11:17:47 +03:00
Karl Erik Õunapuu
8a5208057a
Fix parsing from ref number
2020-09-10 17:18:02 +03:00
Karl Erik Õunapuu
58079c6955
Improve topup tests
2020-09-10 13:00:05 +03:00
Karl Erik Õunapuu
3decec8b02
Test valid invoice sums when created by bank transaction
2020-09-09 17:30:19 +03:00
Artur Beljajev
9668ec33d9
Add database constraints
2019-10-24 19:23:26 +03:00
Artur Beljajev
7723a30d1b
Always require invoice VAT rate
...
Closes #1031
2019-05-17 19:04:33 +03:00
Artur Beljajev
30ea880211
Change invoices.issue_date
database column to NOT NULL
...
Closes #1008
2019-04-13 18:00:25 +03:00
Artur Beljajev
0faed5d773
Convert specs to tests
2019-03-15 17:14:12 +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
Artur Beljajev
963f6f87cf
Use setup block instead of method in tests
...
#623
2018-04-12 17:31:04 +03:00
Artur Beljajev
169c67839e
Add "VATCode" and "TotalVAT" fields to Directo
...
#623
2018-03-14 14:48:20 +02:00
Artur Beljajev
e1b0f3044e
Fix invoice
...
#623
2018-03-14 12:19:44 +02:00
Artur Beljajev
9a4380fd96
Fix invoice total calculation
...
#623
2018-03-13 14:32:38 +02:00
Artur Beljajev
b68fe6e312
Rename attributes
...
#623
2018-03-13 11:32:15 +02:00
Artur Beljajev
8d4b2d902b
Convert specs to tests
...
#623
2018-03-12 11:36:07 +02:00
Artur Beljajev
7d72d9cb34
Fix vat rate
...
#623
2018-03-11 19:33:21 +02:00
Artur Beljajev
c129598d2b
Improve VAT rate validation
...
#623
2018-03-10 16:51:11 +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