fix: small ui changes

This commit is contained in:
khushi8112
2025-10-01 15:34:37 +05:30
parent 8062ce686a
commit 14bdef18af
2 changed files with 4 additions and 5 deletions

View File

@@ -1,4 +1,7 @@
<style> <style>
.print-format-preview {
margin-top: 12px;
}
.letter-head { .letter-head {
border-radius: 18px; border-radius: 18px;
background: #f8f8f8; background: #f8f8f8;

View File

@@ -63,10 +63,6 @@ frappe.realtime.on("sales_invoice_before_print", (data) => {
reqd: data.address_line ? 0 : 1, reqd: data.address_line ? 0 : 1,
hidden: data.address_line ? 1 : 0, hidden: data.address_line ? 1 : 0,
}, },
{
fieldname: "column_break_1",
fieldtype: "Column Break",
},
{ {
label: "City", label: "City",
fieldname: "city", fieldname: "city",
@@ -122,7 +118,7 @@ frappe.realtime.on("sales_invoice_before_print", (data) => {
}, },
callback: function () { callback: function () {
companyDetailsDialog.hide(); companyDetailsDialog.hide();
frappe.msgprint(__("Saving document...")); frappe.msgprint(__("Updating details."));
setTimeout(() => { setTimeout(() => {
window.location.reload(); window.location.reload();
}, 1000); }, 1000);