Skip to content

Commit

Permalink
Merge branch 'master' of https://[email protected]/hmislk/hmis.git …
Browse files Browse the repository at this point in the history
…into Issue#6398

# Conflicts:
#	pom.xml
#	src/main/java/com/divudi/bean/common/EnumController.java
#	src/main/java/com/divudi/data/inward/InwardChargeType.java
#	src/main/resources/META-INF/persistence.xml
#	src/main/webapp/WEB-INF/glassfish-web.xml

Signed-off-by: buddhika75 <[email protected]>
  • Loading branch information
buddhika75 committed Jul 14, 2024
2 parents 5535262 + 8c54c4a commit 08a6860
Show file tree
Hide file tree
Showing 119 changed files with 5,474 additions and 1,197 deletions.
2 changes: 1 addition & 1 deletion .github/counter.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
1
2 changes: 1 addition & 1 deletion .github/last_date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240708
20240713
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Developed using Java Enterprise Edition, the system offers both a web applicatio

## Current Version

Current Version: 3.0.0.20240708.2 (This line will be automatically updated to reflect the latest version)
Current Version: 3.0.0.20240713.1 (This line will be automatically updated to reflect the latest version)

## History

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ public void resetClassVariables() {
selectedBill = null;
nonClosedShiftStartFundBill = null;
paymentsFromShiftSratToNow = null;

}

public void resetClassVariablesWithoutSelectedBill() {
Expand Down Expand Up @@ -694,8 +695,24 @@ public void calculateBillValuesFromBillTypes(Bill p) {
}

public void calculateTotalFundsFromShiftStartToNow() {
additions = financialReportByPayments.getCashTotal() + financialReportByPayments.getNetCreditCardTotal() + financialReportByPayments.getCollectedVoucher() + financialReportByPayments.getNetOtherNonCreditTotal() + financialReportByPayments.getBankWithdrawals();
Deductions = financialReportByPayments.getRefundedCash() + financialReportByPayments.getRefundedCreditCard() + financialReportByPayments.getRefundedVoucher() + financialReportByPayments.getRefundedOtherNonCredit() + financialReportByPayments.getFloatHandover() + financialReportByPayments.getBankDeposits();
//System.out.println("additions");
//System.out.println("financialReportByPayments.getBankWithdrawals() = " + financialReportByPayments.getBankWithdrawals());
//System.out.println("financialReportByPayments.getCashTotal() = " + financialReportByPayments.getCashTotal());
//System.out.println("financialReportByPayments.getNetCreditCardTotal() = " + financialReportByPayments.getNetCreditCardTotal());
//System.out.println("financialReportByPayments.getCollectedVoucher() = " + financialReportByPayments.getCollectedVoucher());
//System.out.println("financialReportByPayments.getNetOtherNonCreditTotal() = " + financialReportByPayments.getNetOtherNonCreditTotal());
//System.out.println("financialReportByPayments.getBankWithdrawals() = " + financialReportByPayments.getFloatReceived());

//additions = financialReportByPayments.getCashTotal() + financialReportByPayments.getNetCreditCardTotal() + financialReportByPayments.getCollectedVoucher() + financialReportByPayments.getNetOtherNonCreditTotal() + financialReportByPayments.getBankWithdrawals();
//Deductions = financialReportByPayments.getRefundedCash() + financialReportByPayments.getRefundedCreditCard() + financialReportByPayments.getRefundedVoucher() + financialReportByPayments.getRefundedOtherNonCredit() + financialReportByPayments.getFloatHandover() + financialReportByPayments.getBankDeposits();

additions = financialReportByPayments.getBankWithdrawals() + financialReportByPayments.getCashTotal() + financialReportByPayments.getNetCreditCardTotal() + financialReportByPayments.getCollectedVoucher() + financialReportByPayments.getNetOtherNonCreditTotal() + financialReportByPayments.getFloatReceived();
Deductions = financialReportByPayments.getFloatHandover() + financialReportByPayments.getBankDeposits();

//System.out.println("\n\nDeductions");
//System.out.println("financialReportByPayments.getFloatHandover() = " + financialReportByPayments.getFloatHandover());
//System.out.println("financialReportByPayments.getBankDeposits() = " + financialReportByPayments.getBankDeposits());

totalFunds = additions - Deductions;
shiftEndTotalValue = totalFunds;

Expand Down Expand Up @@ -964,6 +981,7 @@ public String navigateToCreateNewFundWithdrawalBill() {
}

private void prepareToAddNewWithdrawalProcessingBill() {
currentBillPayments = null;
currentBill = new Bill();
currentBill.setBillType(BillType.WithdrawalFundBill);
currentBill.setBillTypeAtomic(BillTypeAtomic.FUND_WITHDRAWAL_BILL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,7 @@ private Bill saveBilledBill(boolean forReservedNumbers) {

List<BillItem> savingBillItems = new ArrayList<>();
savingBillItems.add(savingBillItem);
savingBillItems.add(additionalBillItem);
getBillItemFacade().edit(savingBillItem);
savingBillItem.setHospitalFee(billBeanController.calFeeValue(FeeType.OwnInstitution, savingBillItem));
savingBillItem.setStaffFee(billBeanController.calFeeValue(FeeType.Staff, savingBillItem));
Expand Down
Loading

0 comments on commit 08a6860

Please sign in to comment.