Invoice cancelling

This commit is contained in:
Martin Lensment 2015-04-27 11:15:09 +03:00
parent 56d7f9f2e2
commit a26ce110b2
17 changed files with 113 additions and 25 deletions

View file

@ -1,5 +1,5 @@
- content_for :actions do
= link_to(t('back'), :back, class: 'btn btn-default')
= link_to(t('back'), admin_bank_transaction_path(@bank_transaction), class: 'btn btn-default')
= render 'shared/title', name: t(:bank_transaction)
= form_for([:admin, @bank_transaction], html: { class: 'form-horizontal' }) do |f|

View file

@ -57,5 +57,5 @@
%dl.dl-horizontal
%dt{style: 'padding-top: 5px'}= t('binded_invoice')
%dd
= text_field_tag(:invoice_id, params[:invoice_id], class: 'form-control')
= text_field_tag(:invoice_no, params[:invoice_no], class: 'form-control')
= button_tag(t('bind_manually'), class: 'btn btn-primary')