[layout] cleaned up Sales Invoice

This commit is contained in:
Rushabh Mehta
2015-08-20 18:01:40 +05:30
parent b6398be232
commit f24f6044bd
4 changed files with 2199 additions and 373 deletions

View File

@@ -714,7 +714,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}).join("\n");
if(!rows) return "";
return '<p><a href="#" onclick="$(\'.tax-break-up\').toggleClass(\'hide\'); return false;">Show / Hide tax break-up</a><br><br></p>\
return '<p><a class="h6 text-muted" href="#" onclick="$(\'.tax-break-up\').toggleClass(\'hide\'); return false;">'
+ __("Show tax break-up") + '</a><br><br></p>\
<div class="tax-break-up hide" style="overflow-x: auto;"><table class="table table-bordered table-hover">\
<thead><tr>' + headings + '</tr></thead> \
<tbody>' + rows + '</tbody> \