Binding interface for bank statements

This commit is contained in:
Martin Lensment 2015-04-15 11:32:51 +03:00
parent 2dfa65645b
commit 851e5368eb
15 changed files with 113 additions and 26 deletions

View file

@ -659,7 +659,7 @@ en:
issue_date: 'Issue date'
due_date: 'Due date'
payment_term: 'Payment term'
iban: 'Iban'
iban: 'IBAN'
bank: 'Bank'
swift: 'Swift'
issuer: 'Issuer'
@ -692,7 +692,13 @@ en:
bank_reference: 'Bank reference'
document_no: 'Document no'
import_file: 'Import file'
bind_with_invoices: 'Bind with invoices'
bind_invoices: 'Bind invoices'
url: 'URL'
binded: 'Binded'
not_binded: 'Not binded'
binded_invoice: 'Binded invoice'
fully_binded: 'Fully binded'
partially_binded: 'Partially binded'
invoices_were_fully_binded: 'Invoices were fully binded'
invoices_were_partially_binded: 'Invoices were partially binded'
no_invoices_were_binded: 'No invoices were binded'

View file

@ -86,6 +86,7 @@ Rails.application.routes.draw do
resources :keyrelays
resources :bank_statements do
post 'bind_invoices', on: :member
get 'download_import_file', on: :member
end