From fe335edd7c74ac443b2b9bb96be3ca3a4fcc4e39 Mon Sep 17 00:00:00 2001 From: Raman Marikanti Date: Thu, 5 Feb 2026 11:34:28 +0530 Subject: [PATCH] freight charges --- .../pqgrid_dashboard/pqgrid_sale_dashboard.js | 1 + .../pqgrid_stock_dashboard.xml | 23 ++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_sale_dashboard.js b/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_sale_dashboard.js index d1d77c170..bac7bd6e2 100644 --- a/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_sale_dashboard.js +++ b/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_sale_dashboard.js @@ -136,6 +136,7 @@ export class SaleDashboard extends Component { { title: "Quantity (Bags/No's)", dataIndx: "quantity", width: 150, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, { title: "Weight (kgs)", dataIndx: "weight", width: 120, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right"}, { title: "Production Cost (INR)", dataIndx: "cost", width: 150, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, + { title: "Freight Cost (INR)", dataIndx: "freight", width: 150, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, { title: "Sale Price (INR)", dataIndx: "sale_price", width: 120, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, { title: "Margin (INR)", dataIndx: "margin", width: 120, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, { title: "Margin %", dataIndx: "margin_percent", width: 120, dataType: "float", format: "#,###.00", summary: { type: "sum_" }, align: "right" }, diff --git a/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_stock_dashboard.xml b/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_stock_dashboard.xml index 2a448f7be..a0a1d44e2 100644 --- a/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_stock_dashboard.xml +++ b/custom_addons/dashboard/static/src/components/pqgrid_dashboard/pqgrid_stock_dashboard.xml @@ -291,7 +291,7 @@
-
+
@@ -362,7 +362,7 @@ - + - +
Totals @@ -567,7 +567,7 @@
Totals @@ -693,13 +693,14 @@ .table th { font-weight: 600; color: #4b5563; + font-size: 1rem !important; border-bottom: 2px solid #e5e7eb; white-space: nowrap; } .table td { vertical-align: middle; - font-size: 0.8rem !important; + font-size: 1rem !important; padding: 2px 4px !important; } @@ -711,14 +712,14 @@ } .table-filters .form-control-sm { - font-size: 0.8rem; + font-size: 1rem; height: 32px; } .table-filters .btn-sm { height: 32px; padding: 0.25rem 0.75rem; - font-size: 0.8rem; + font-size: 1rem; } /* Table Outer Border */ @@ -748,7 +749,7 @@ /* Badge styling */ .badge { - font-size: 0.75em; + font-size: 1em; font-weight: 500; } @@ -777,17 +778,17 @@ } .table-responsive { - font-size: 0.875rem; + font-size: 1rem; } .btn-sm { padding: 0.25rem 0.5rem; - font-size: 0.75rem; + font-size: 1rem; } .nav-tabs-custom .nav-link { padding: 0.5rem 0.75rem; - font-size: 0.875rem; + font-size: 1rem; margin-bottom: 0.5rem; } @@ -820,7 +821,7 @@ /* Form controls */ .form-control { border-color: #e2e8f0; - font-size: 0.875rem; + font-size: 1rem; } .form-control:focus {