+ value="Back to Issued List"/>
+
diff --git a/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_issue_bill.xhtml b/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_issue_bill.xhtml
index f5742c908f..c5b5db654a 100644
--- a/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_issue_bill.xhtml
+++ b/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_issue_bill.xhtml
@@ -1,5 +1,5 @@
-
+
-
+
-
+
-
-
+
+
@@ -79,92 +84,95 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Cancelled
-
+
Returned
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cancelled
+
+
+
+ Returned
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_receive_bill.xhtml b/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_receive_bill.xhtml
index 850a89910a..ad13146fca 100644
--- a/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_receive_bill.xhtml
+++ b/src/main/webapp/pharmacy/reports/disbursement_reports/pharmacy_report_transfer_receive_bill.xhtml
@@ -42,7 +42,7 @@
value="Excel"
icon="fas fa-file-excel"
class="ui-button-success mx-2">
-
+
-
+
-
+
-
+
+
-
+
-
+
+
-
+
@@ -92,60 +92,61 @@
-->
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
@@ -153,16 +154,117 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/webapp/pharmacy/reports/summary_reports/pharmacy_income_report.xhtml b/src/main/webapp/pharmacy/reports/summary_reports/pharmacy_income_report.xhtml
index 7842386e4d..fd7ce392bb 100644
--- a/src/main/webapp/pharmacy/reports/summary_reports/pharmacy_income_report.xhtml
+++ b/src/main/webapp/pharmacy/reports/summary_reports/pharmacy_income_report.xhtml
@@ -201,146 +201,147 @@
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -351,6 +352,8 @@
+
+
diff --git a/src/main/webapp/reports/inventoryReports/closing_stock_report.xhtml b/src/main/webapp/reports/inventoryReports/closing_stock_report.xhtml
index 745a056758..f7a95a63b1 100644
--- a/src/main/webapp/reports/inventoryReports/closing_stock_report.xhtml
+++ b/src/main/webapp/reports/inventoryReports/closing_stock_report.xhtml
@@ -292,16 +292,6 @@
-
-
-
@@ -380,11 +370,11 @@
+ value="#{p.stockHistory.stockQty * p.stockHistory.itemBatch.purcahseRate}">
-
+
diff --git a/src/main/webapp/reports/inventoryReports/consumption.xhtml b/src/main/webapp/reports/inventoryReports/consumption.xhtml
index 9959ee70ee..90651b2694 100644
--- a/src/main/webapp/reports/inventoryReports/consumption.xhtml
+++ b/src/main/webapp/reports/inventoryReports/consumption.xhtml
@@ -384,14 +384,14 @@
width="6em"
filterMatchMode="contains"
sortBy="#{b.createdAt}"
- filterBy="#{b.createdAt}">
+ filterBy="#{pharmacyController.formatDate(b.createdAt)}">
-
+
@@ -509,7 +509,7 @@
width="8em"
filterMatchMode="contains"
sortBy="#{i.bill.createdAt}"
- filterBy="#{i.bill.createdAt}">
+ filterBy="#{pharmacyController.formatDate(i.bill.createdAt)}">
diff --git a/src/main/webapp/resources/css/ohmis.css b/src/main/webapp/resources/css/ohmis.css
index 6547411546..3e56dd45c5 100644
--- a/src/main/webapp/resources/css/ohmis.css
+++ b/src/main/webapp/resources/css/ohmis.css
@@ -328,6 +328,83 @@ th.align-right-header .ui-column-title {
padding: 0 !important;
}
+
+.compact-column-borders {
+ --content-padding: 0.0rem; /* Remove padding */
+ --inline-spacing: 0.0rem; /* Remove spacing */
+ --border-radius: 0px; /* No border rounding */
+ border-collapse: collapse; /* Ensures borders align properly */
+ width: 100%;
+}
+
+.compact-column-borders td,
+.compact-column-borders th {
+ border-left: 1px solid black;
+ border-right: 1px solid black;
+ padding: 2px !important; /* Minimal padding */
+ margin: 0 !important;
+ line-height: 1; /* Remove extra spacing */
+ text-align: left;
+ white-space: nowrap; /* Prevent text wrapping */
+ overflow: hidden; /* Hide overflowing text */
+ text-overflow: ellipsis; /* Show "..." for cut-off text */
+ max-width: 10em; /* Adjust based on column width */
+}
+
+.compact-column-borders th {
+ font-weight: bold;
+ text-align: center;
+ background: #f8f8f8;
+}
+
+.compact-column-borders tr {
+ height: auto !important; /* Prevent row height increase */
+ border-bottom: none !important; /* Remove row borders */
+ border-top: none !important; /* Remove row borders */
+}
+
+.compact-column-borders th:first-child,
+.compact-column-borders td:first-child {
+ border-left: none; /* Remove left border for first column */
+}
+
+.compact-column-borders th:last-child,
+.compact-column-borders td:last-child {
+ border-right: none; /* Remove right border for last column */
+}
+
+/* Bold footer text */
+.compact-column-borders tfoot td {
+ font-weight: bold !important;
+ border-top: 1px solid black !important; /* Add border above footer */
+}
+
+.compact-column-borders .ui-datatable-header,
+.compact-column-borders .ui-datatable-footer {
+ margin: 0 !important;
+ padding: 2px !important;
+ line-height: 1.1;
+}
+
+/* Hide empty footer cells */
+.compact-column-borders .ui-datatable-footer td:empty {
+ display: none;
+}
+
+.compact-column-borders .ui-state-default {
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+/* Border below header */
+.compact-column-borders thead {
+ border-bottom: 1px solid black !important;
+}
+
+
+
+
+
.light-grey-background {
background-color: #e2e3e5; /* Slightly darker grey than before */
color: #343a40; /* Dark grey text, ensuring good contrast */
@@ -598,13 +675,23 @@ th.align-right-header .ui-column-title {
}
}
-@media screen {
- .printingOnly{
+@media print {
+ .printingOnly {
+ display: block !important;
+ }
+ .screenOnly {
display: none !important;
-
}
}
+@media screen {
+ .printingOnly {
+ display: none !important;
+ }
+ .screenOnly {
+ display: block !important;
+ }
+}
/* Adjust the size of the autocomplete dropdown panel */
diff --git a/src/main/webapp/resources/ezcomp/view/bill_item_list_edit.xhtml b/src/main/webapp/resources/ezcomp/view/bill_item_list_edit.xhtml
index 5788a38ae6..83a16b091c 100644
--- a/src/main/webapp/resources/ezcomp/view/bill_item_list_edit.xhtml
+++ b/src/main/webapp/resources/ezcomp/view/bill_item_list_edit.xhtml
@@ -15,11 +15,19 @@
- Bill Items
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -27,6 +35,10 @@
+
+
+
+
diff --git a/src/main/webapp/resources/paymentMethod/iou.xhtml b/src/main/webapp/resources/paymentMethod/iou.xhtml
new file mode 100644
index 0000000000..42d2d11f08
--- /dev/null
+++ b/src/main/webapp/resources/paymentMethod/iou.xhtml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/resources/pharmacy/po.xhtml b/src/main/webapp/resources/pharmacy/po.xhtml
index 2739cacca0..4f48b6daf6 100644
--- a/src/main/webapp/resources/pharmacy/po.xhtml
+++ b/src/main/webapp/resources/pharmacy/po.xhtml
@@ -140,6 +140,18 @@
+
+
+ |
+ Total |
+
+
+
+
+
+ |
+
+