Skip to content

Commit

Permalink
Up to date changes to coop testing environment (#10446)
Browse files Browse the repository at this point in the history
* Coop test (#10442)

* Closes #10386 (#10443)

* fact: add expense section to direct purchase and update bill with net total

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* fact:improve purchase bill adding expenses and ui improvements.

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #10116
Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #10187
Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #10176

* add department wise filter for inward pharmacy issue summery

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #10191
Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Update mp_prod_ci_cd.yml

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* fix: pharmacy tranfer bill improvement done.

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Payment Approval Basics Completed

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10291
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10259

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10259

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* GRN No, Invoice No added
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #9986
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #9939
Also adds Supplier Payment Preperation Bill

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10334
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #7830
now can search supplier credit bills
Make sure you select the option "Approveal necessary is required for Supplier Payments" as false
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10337
But need to fix pharmacy summery reports, cashier summary as seperate issues

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #3832

For Institutions where GRN payment approval is NOT necessary
(Make the configuration)

Payments Menu > SUpplier Payment > Settle Bills by SUpplier

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Improved supplier payment management where Approval is necessary
Need to improve UIs, navigations,
have to check GRN Returns, not checked
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #9681
Improved supplier payment management where Approval is necessary
Need to improve UIs, navigations,
have to check GRN Returns, not checked
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #9681
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #10260
Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #9676

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Closes #9679
Signed-off-by: Dr M H B Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Closes #10386
New report is filtered by the admission type
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

* Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>

---------

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>
Signed-off-by: Dr M H B Ariyaratne <[email protected]>
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>
Co-authored-by: Chinthaka Prasad Wijerathna <[email protected]>
Co-authored-by: Geeth Sandaru Madhushan <[email protected]>

* Closes #10387 (#10444)

Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>
Co-authored-by: Geeth Sandaru Madhushan <[email protected]>

---------

Signed-off-by: Chinthaka Prasad Wijerathna <[email protected]>
Signed-off-by: Dr M H B Ariyaratne <[email protected]>
Signed-off-by: Dr M H Buddhika Ariyaratne <[email protected]>
Co-authored-by: Dr. M H B Ariyaratne <[email protected]>
Co-authored-by: Geeth Sandaru Madhushan <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent d8911b9 commit ea5f0d8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/divudi/bean/common/SearchController.java
Original file line number Diff line number Diff line change
Expand Up @@ -4571,6 +4571,11 @@ public void createBillItemTableBht(BillType btp) {
m.put("bht", "%" + getSearchKeyword().getBhtNo().trim().toUpperCase() + "%");
}

if (getSearchKeyword().getAdmissionType() != null) {
sql += " and bi.bill.patientEncounter.admissionType=:admissionType ";
m.put("admissionType", getSearchKeyword().getAdmissionType());
}

sql += " order by bi.id desc ";

billItems = getBillItemFacade().findByJpql(sql, m, TemporalType.TIMESTAMP, 50);
Expand Down
31 changes: 24 additions & 7 deletions src/main/webapp/inward/pharmacy_search_sale_bill_item_bht.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
<h:outputLabel value="Search Pharmacy Bill Item" class="mx-4"/>
</f:facet>
<div class="row">
<div class="col-md-2">
<h:panelGrid class="col-1 mx-1">
<h:panelGrid columns="1" class="mt-1">
<div class="col-md-2" >
<h:panelGrid class="w-100">
<h:panelGrid columns="1" class="w-100">
<h:outputLabel value="From Date"/>
<p:datePicker
styleClass="dateTimePicker"
styleClass="w-100"
inputStyleClass="w-100"
id="fromDate"
value="#{searchController.fromDate}"
showTime="true"
Expand All @@ -31,6 +32,8 @@
</p:datePicker>
<h:outputLabel value="To Date"/>
<p:datePicker
styleClass="w-100"
inputStyleClass="w-100"
id="toDate"
value="#{searchController.toDate}"
showTime="true"
Expand All @@ -47,7 +50,20 @@
action="#{searchController.createPharmacyBillItemTableBht()}" />
</h:panelGrid>

<h:panelGrid columns="1" class="mt-2">
<h:panelGrid columns="1" class="w-100">
<h:panelGroup layout="block" styleClass="form-group">
<h:outputText value="&#xf0e8;" styleClass="fa mr-2" /> <!-- FontAwesome sitemap icon -->
<h:outputLabel value="Admission Type" for="cmbDept" class="mx-3"/>
</h:panelGroup>
<p:selectOneMenu
class="w-100"
autoWidth="false"
value="#{searchController.searchKeyword.admissionType}">
<f:selectItem itemLabel="All Admission Type"/>
<f:selectItems value="#{inwardReportController.admissionty}" var="myItem"
itemValue="#{myItem}" itemLabel="#{myItem.name}"></f:selectItems>
</p:selectOneMenu>

<h:outputLabel value="Bill No"/>
<p:inputText autocomplete="off" value="#{searchController.searchKeyword.billNo}" />
<h:outputLabel value="BHT No"/>
Expand All @@ -69,11 +85,12 @@
id="tblBills"
value="#{searchController.billItems}"
var="pi"
class="w-100"
paginator="true"
paginatorPosition="bottom"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="5,10,15"
size="10"
rowsPerPageTemplate="5,10,15,50"
rows="10"
>


Expand Down

0 comments on commit ea5f0d8

Please sign in to comment.