add bnn_upload plugin that overrides some controller methods to use order_bnn
This commit is contained in:
parent
f8c91b46cd
commit
b1ec0fd2fc
12 changed files with 70 additions and 27 deletions
|
|
@ -5,8 +5,10 @@
|
|||
.modal-body
|
||||
= f.check_box 'file_formats[pdf]'
|
||||
= f.label 'file_formats[pdf]', "PDF"
|
||||
= f.check_box 'file_formats[csv]'
|
||||
= f.label 'file_formats[csv]', "CSV"
|
||||
= f.check_box 'file_formats[bnn]'
|
||||
= f.label 'file_formats[bnn]', "BNN"
|
||||
.modal-footer
|
||||
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
|
||||
= f.submit class: 'btn btn-primary'
|
||||
|
||||
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
$('#modalContainer').html('#{j(render("send_to_supplier_modal"))}');
|
||||
$('#modalContainer').html('#{escape_javascript(render("send_result_to_supplier_modal"))}');
|
||||
$('#modalContainer').modal();
|
||||
$('#modalContainer').submit(function() {$('#modalContainer').modal('hide');});
|
||||
Loading…
Add table
Add a link
Reference in a new issue