Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#9794 add color picker for config option #9795

Merged
merged 66 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
8021c15
Debtor Analysis-Excess Age #9616
imexh Dec 19, 2024
97573f9
Debtor Analysis-Excess Search #9615
imexh Dec 19, 2024
c15d54e
Merge branch '#9719_Upload_Report_View_in_Courier_Section' of https:/…
DamithDeshan Dec 19, 2024
c48105d
Merge branch 'Issue#9697_Reports_Excel&PDF_Buttons' of https://github…
DamithDeshan Dec 19, 2024
b67e94b
Merge branch 'Issue#9731-Payment-settlement-report' of https://github…
DamithDeshan Dec 19, 2024
3d8733c
Merge branch 'Issue#9761-Sample-Carrier-Report' of https://github.com…
DamithDeshan Dec 19, 2024
4e620b0
Merge branch 'Issue#9728-Inward_Reservations_On_a_Calendar' of https:…
DamithDeshan Dec 19, 2024
f4a8830
Merge branch 'Issue#9700_staff_welfare_return_not_working' of https:/…
DamithDeshan Dec 19, 2024
649249d
Merge branch 'Issue#9582/debtor-analysis-due-search' of https://githu…
DamithDeshan Dec 19, 2024
9be2b12
Merge branch 'Issue#9696_Disbursment_report_improvement' of https://g…
DamithDeshan Dec 19, 2024
3b840b4
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 19, 2024
f685a0f
Merge branch 'Issue#9761-Sample-Carrier-Report' of https://github.com…
buddhika75 Dec 19, 2024
eb5f029
Merge branch 'Issue-#9653-Route-Analysis-Report' of https://github.co…
buddhika75 Dec 19, 2024
4a1df28
Merge branch '#9769_CalCulation_Error' of https://github.com/hmislk/h…
buddhika75 Dec 19, 2024
971d645
Merge branch 'issue#9410_Good_In_Transit_Report' of https://github.co…
buddhika75 Dec 19, 2024
bdc1f88
Signed-off-by: Buddhika Ariyaratne <buddhika.ari@gmail.com>
buddhika75 Dec 19, 2024
5a40f53
Merge branch 'Issue-#9729-opd-weekly-report-detail-implementation' of…
buddhika75 Dec 19, 2024
56c329d
Merge pull request #9771 from hmislk/development
GSMgeeth Dec 19, 2024
e961b16
#9773
imexh Dec 19, 2024
4ea2bef
Merge branch 'Issue#9567_improvements_in_transfer_report_summary' of …
buddhika75 Dec 19, 2024
fb67bec
Merge branch 'dev-ci-cd-setup' of https://github.com/hmislk/hmis.git …
buddhika75 Dec 19, 2024
bfe6b1b
Pharmacy Summary Report Controller Created
buddhika75 Dec 19, 2024
334aea6
Signed-off-by: Lawan Samarasekara <lawan.chaamindu1234@gmail.com>
DARKDRAGON-LK Dec 20, 2024
cd53d88
Signed-off-by: Buddhika Ariyaratne <buddhika.ari@gmail.com>
buddhika75 Dec 20, 2024
b4ba4f1
Merge branch 'Issue#9762-External-Laboratory-Workload-Report' of http…
buddhika75 Dec 20, 2024
21c993f
methods
imexh Dec 20, 2024
7eb04b1
Merge branch '#9769_CalCulation_Error' of https://github.com/hmislk/h…
DamithDeshan Dec 20, 2024
bcc038b
Merge branch 'Issue#9762-External-Laboratory-Workload-Report' of http…
DamithDeshan Dec 20, 2024
96f6b8d
Merge branch 'issue#9410_Good_In_Transit_Report' of https://github.co…
DamithDeshan Dec 20, 2024
b58094f
Merge branch 'Issue#9567_improvements_in_transfer_report_summary' of …
DamithDeshan Dec 20, 2024
3493f4f
Merge branch 'Issue#9571_pharmacy_income_report' of https://github.co…
DamithDeshan Dec 20, 2024
e5291f8
Merge branch '9456-phamacy_disbursement_and_procument_improvements' o…
DamithDeshan Dec 20, 2024
198ac35
Added navigation Method
DARKDRAGON-LK Dec 20, 2024
9739cd0
Added Button for Baby Admmission
DARKDRAGON-LK Dec 20, 2024
a1ac7b4
Added New Parent Admission Detail Composite
DARKDRAGON-LK Dec 20, 2024
7b83583
Fix UI On Child Admission
DARKDRAGON-LK Dec 20, 2024
9262b4c
Merge branch 'Issue#9773-discount-report' of https://github.com/hmisl…
DARKDRAGON-LK Dec 20, 2024
671e3f7
Merge branch 'development' of https://github.com/hmislk/hmis.git into…
DARKDRAGON-LK Dec 20, 2024
9ae86f9
Merge branch '9456-phamacy_disbursement_and_procument_improvements' o…
DARKDRAGON-LK Dec 20, 2024
dbf0d00
Merge branch 'Issue#9571_pharmacy_income_report' of https://github.co…
DARKDRAGON-LK Dec 20, 2024
aad9679
resolved conflict
imexh Dec 20, 2024
42e7c3a
Merge branch 'development' into Issue#9773-discount-report
DamithDeshan Dec 20, 2024
1bd8dff
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
3a4df8f
Merge branch 'Issue#9775-Baby_Admission' of https://github.com/hmislk…
DamithDeshan Dec 20, 2024
2cb0caa
Merge branch 'Issue#9762-External-Laboratory-Workload-Report' of http…
DamithDeshan Dec 20, 2024
95ed496
Merge branch 'Issue#9773-discount-report' of https://github.com/hmisl…
DamithDeshan Dec 20, 2024
9725783
closes #9769
DamithDeshan Dec 20, 2024
a1e947d
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
d84ddcb
Merge branch 'refs/heads/development' into Issue#9616-Debtor-Analysis…
imexh Dec 20, 2024
b1b82ee
Merge branch 'refs/heads/development' into Issue#9615-Debtor-Analysis…
imexh Dec 20, 2024
414653d
Debtor Analysis-Excess Age (Credit Company) #9614
imexh Dec 20, 2024
43cf383
Merge branch 'Issue#9614-Debtor-Analysis-Excess-Age-(Credit-Company)'…
DamithDeshan Dec 20, 2024
7fdfc34
Merge branch 'Issue#9616-Debtor-Analysis-Excess-Age' of https://githu…
DamithDeshan Dec 20, 2024
d482ba4
Merge branch 'Issue#9615-Debtor-Analysis-Excess-Search' of https://gi…
DamithDeshan Dec 20, 2024
27c5c6a
Merge branch 'development' into Issue#9773-discount-report
DamithDeshan Dec 20, 2024
81cddba
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
ddcda1e
closes #9786
DamithDeshan Dec 20, 2024
3a18af0
Merge branch 'Issue#9773-discount-report' of https://github.com/hmisl…
DamithDeshan Dec 20, 2024
0ec4cdf
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
54da2b6
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
d35b591
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
5a9c25c
closes #6674
DamithDeshan Dec 20, 2024
0a781f9
closes #6674
DamithDeshan Dec 20, 2024
9ffcdf2
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
bac254d
Signed-off-by: DamithDeshan <hkddrajapaksha@gmail.com>
DamithDeshan Dec 20, 2024
cd6630d
Improving Config Option Page
DamithDeshan Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ public class CollectingCentreBillController implements Serializable, ControllerW
private YearMonthDay yearMonthDay;
private PaymentMethodData paymentMethodData;

private String externalDoctor;

public List<AgentReferenceBook> getAgentReferenceBooks() {
return agentReferenceBooks;
}
Expand All @@ -269,7 +271,7 @@ public double findCCBalanceAfterBilling(Bill bill) {
+ " where ah.bill =:b "
+ " and ah.bill.retired=false ";
params.put("b", bill);

AgentHistory history = agentHistoryFacade.findFirstByJpql(jpql, params);
System.out.println("history = " + history);
double billingAfterCCBalance = history.getBalanceAfterTransaction();
Expand Down Expand Up @@ -1170,6 +1172,7 @@ private Bill createCcBill(Department bt) {
ccBill.setFromInstitution(collectingCentre);

ccBill.setReferredBy(referredBy);
ccBill.setExternalDoctor(externalDoctor);
ccBill.setReferenceNumber(referralId);
ccBill.setReferredByInstitution(referredByInstitution);
ccBill.setComments(comment);
Expand Down Expand Up @@ -1603,6 +1606,7 @@ public void prepareNewBill() {
paymentMethod = PaymentMethod.Agent;
collectingCentre = null;
opdItems = null;
externalDoctor = null;
}

public void prepareNewBillKeepingCollectingCenter() {
Expand Down Expand Up @@ -2550,6 +2554,14 @@ public void listnerForPaymentMethodChange() {
// ToDo: Add Logic
}

public String getExternalDoctor() {
return externalDoctor;
}

public void setExternalDoctor(String externalDoctor) {
this.externalDoctor = externalDoctor;
}

public class CollectingCenterBookSummeryRow {

private String bookName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,44 @@ public String getShortTextValueByKey(String key, String defaultValue) {
}
return option.getOptionValue();
}

public String getColorValueByKey(String key) {
ConfigOption option = getApplicationOption(key);
if (option == null || option.getValueType() != OptionValueType.COLOR) {
option = new ConfigOption();
option.setCreatedAt(new Date());
option.setOptionKey(key);
option.setScope(OptionScope.APPLICATION);
option.setInstitution(null);
option.setDepartment(null);
option.setWebUser(null);
option.setValueType(OptionValueType.COLOR);
option.setOptionValue("");
optionFacade.create(option);
loadApplicationOptions();
}
return option.getOptionValue();
}

public String getColorValueByKey(String key, String defaultColorHashCode) {
ConfigOption option = getApplicationOption(key);
if (option == null || option.getValueType() != OptionValueType.COLOR) {
option = new ConfigOption();
option.setCreatedAt(new Date());
option.setOptionKey(key);
option.setScope(OptionScope.APPLICATION);
option.setInstitution(null);
option.setDepartment(null);
option.setWebUser(null);
option.setValueType(OptionValueType.COLOR);
option.setOptionValue(defaultColorHashCode);
optionFacade.create(option);
loadApplicationOptions();
}
return option.getOptionValue();
}

public String getEnumValueByKey(String key) {
public String getEnumValueByKey(String key ) {
ConfigOption option = getApplicationOption(key);
if (option == null || option.getValueType() != OptionValueType.ENUM) {
option = new ConfigOption();
Expand Down
Loading