[cleanup] UI Fixes

This commit is contained in:
Rushabh Mehta
2013-11-08 16:27:18 +05:30
parent 9939e9079d
commit 7d8b189c8f
3 changed files with 41 additions and 22 deletions

View File

@@ -455,7 +455,8 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
}).join("\n");
if(!rows) return "";
return '<div style="overflow-x: scroll;"><table class="table table-bordered table-hover">\
return '<p><a href="#" onclick="$(\'.tax-break-up\').toggleClass(\'hide\'); return false;">Show / Hide 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> \
</table></div>';