mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
[cleanup] UI Fixes
This commit is contained in:
@@ -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>';
|
||||
|
||||
@@ -43,7 +43,7 @@ $.extend(erpnext, {
|
||||
|
||||
var $btn = $('<button class="btn btn-sm btn-default">'+wn._("Add Serial No")+'</button>')
|
||||
.appendTo($("<div>")
|
||||
.css({"margin-bottom": "10px", "margin-top": "-10px"})
|
||||
.css({"margin-bottom": "10px", "margin-left": "15px"})
|
||||
.appendTo(grid_row.fields_dict.serial_no.$wrapper));
|
||||
|
||||
$btn.on("click", function() {
|
||||
|
||||
Reference in New Issue
Block a user