-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
O3-2778 Add config for different currency types (#3)
- Loading branch information
1 parent
b92b8c2
commit 06e71d4
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
export interface BillingConfig {} | ||
import { Type } from '@openmrs/esm-framework'; | ||
|
||
export const configSchema = {}; | ||
export const configSchema = { | ||
defaultCurrency: { | ||
_type: Type.String, | ||
_description: 'The default currency for the application. Specify the currency code (e.g., KES, UGX, GBP).', | ||
_default: 'KES', | ||
}, | ||
}; | ||
export interface ConfigObject { | ||
defaultCurrency: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters