Fix translate voucher_import_tool.js
This commit is contained in:
parent
f2ae1bee20
commit
e6063695d1
@ -4,29 +4,28 @@
|
||||
wn.pages['voucher-import-tool'].onload = function(wrapper) {
|
||||
wn.ui.make_app_page({
|
||||
parent: wrapper,
|
||||
title: 'Voucher Import Tool',
|
||||
title: wn._('Voucher Import Tool'),
|
||||
single_column: true
|
||||
});
|
||||
|
||||
$(wrapper).find('.layout-main').html('\
|
||||
<p class="help">Import multiple accounting entries via CSV (spreadsheet) file:</p>\
|
||||
<h3>1. Download Template</h3><br>\
|
||||
<div style="padding-left: 30px;">\
|
||||
<button class="btn btn-default btn-download-two-accounts">Download</button>\
|
||||
<p class="help">Import multiple vouchers with one debit and one credit entry</p>\
|
||||
</div>\
|
||||
<div style="padding-left: 30px;">\
|
||||
<button class="btn btn-default btn-download-multiple-accounts">Download</button>\
|
||||
<p class="help">Import multiple vouchers with multiple accounts</p>\
|
||||
</div>\
|
||||
<hr>\
|
||||
<h3>2. Upload</h3><br>\
|
||||
<div style="padding-left: 30px;">\
|
||||
<p class="help">Upload file in CSV format with UTF-8 encoding</p>\
|
||||
<div id="voucher-upload"></div>\
|
||||
</div><br>\
|
||||
<div class="working"></div>\
|
||||
<div class="well messages" style="display: none;"></div>');
|
||||
$(wrapper).find('.layout-main').html('<p class="help">'+wn._('Import multiple accounting entries via CSV (spreadsheet) file:')+'</p>'+
|
||||
'<h3>'+wn._('1. Download Template')+'</h3><br>'+
|
||||
'<div style="padding-left: 30px;">'+
|
||||
'<button class="btn btn-default btn-download-two-accounts">'+wn._('Download')+'</button>'+
|
||||
'<p class="help">'+wn._('Import multiple vouchers with one debit and one credit entry')+'</p>'+
|
||||
'</div>'+
|
||||
'<div style="padding-left: 30px;">'+
|
||||
'<button class="btn btn-default btn-download-multiple-accounts">'+wn._('Download')+'</button>'+
|
||||
'<p class="help">'+wn._('Import multiple vouchers with multiple accounts')+'</p>'+
|
||||
'</div>'+
|
||||
'<hr>'+
|
||||
'<h3>'+wn._('2. Upload')+'</h3><br>'+
|
||||
'<div style="padding-left: 30px;">'+
|
||||
'<p class="help">'+wn._('Upload file in CSV format with UTF-8 encoding')+'</p>'+
|
||||
'<div id="voucher-upload"></div>'+
|
||||
'</div><br>'+
|
||||
'<div class="working"></div>'+
|
||||
'<div class="well messages" style="display: none;"></div>');
|
||||
|
||||
wn.upload.make({
|
||||
parent: $(wrapper).find("#voucher-upload"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user