Skip to content

Commit

Permalink
perf(app structure): restructuring the application ans translation fo…
Browse files Browse the repository at this point in the history
…r billing service -> invoicing
  • Loading branch information
DedrickEnc committed Dec 11, 2017
1 parent 0931cda commit dceff3a
Show file tree
Hide file tree
Showing 50 changed files with 513 additions and 454 deletions.
9 changes: 0 additions & 9 deletions client/src/i18n/en/billing_services.json

This file was deleted.

94 changes: 54 additions & 40 deletions client/src/i18n/en/debtor_group.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,54 @@
{"DEBTOR_GROUP":{"BACK":"Back to Debtor Groups",
"CREATE":"Create Debtor Group",
"CREATE_ANOTHER":"Create another Debtor Group",
"CREATED":"Debtor group recorded successfully",
"DEBTOR":{"SUBSCRIBED":"Subcribed debtor(s)"},
"DELETE":"Delete Debtor Group",
"EDIT":"Edit Debtor Group",
"FAILURE_DELETE":"Failure of the deletion of the debtor group",
"GROUPS":"Debtor Groups",
"HELP_TXT_1":"This interface allows you to review, find, and configure debtor groups",
"HELP_TXT_2":"Edit selected debtor group",
"HELP_TXT_3":"Lock the selected debtor group. No new transactions can be recorded for a locked group",
"HELP_TXT_4":"Create a new debtor group",
"INFO":"Group Information",
"NEW":"Add a Debtor Group",
"NEW_DEBTOR_GROUP":"New Debtor Group",
"POLICIES":{"TITLE":"Group Policies",
"SUBSIDIES":{"TITLE":"Subsidies",
"INFO":"With this configuration unchecked no member of this debtor group will qualify for any subsidies",
"LABEL":"This group qualifies for subsidies",
"UPDATE":"Update Subsidies",
"EMPTY":"This debtor group is not subscribed to any subsidies"},
"DISCOUNTS":{"TITLE":"Discounts",
"INFO":"With this configuration unchecked no member of this debtor group will qualify for any discounts",
"LABEL":"This group qualifies for discounts"},
"BILLING_SERVICES":{"TITLE":"Billing Services",
"INFO":"With this configuration option checked all members of this debtor group will be exempt from paying automatically applied billing services",
"LABEL":"This group is exempt from paying billing services",
"UPDATE":"Update Billing Services",
"EMPTY":"This debtor group is not subscribed to any billing services"}},
"TITLE":"Debtor Group Management",
"SUBSCRIBED":"Debtors subscribed",
"UPDATED":"Debtor group record updated",
"LOADING":"Fetching Debtor Group",
"CONVENTION":{
"TITLE":"Convention",
"DESCRIPTION":"The invoices of debtors in this group will be covered by this debtor group's account. Patients belonging to this group will be blocked from paying for their bills at the cash window.",
"CANNOT_PAY":"This patient does not pay invoices. Its invoices are covered by"
},
"SUBSCRIPTIONS":"Subscriptions"}}
{
"DEBTOR_GROUP": {
"BACK": "Back to Debtor Groups",
"CREATE": "Create Debtor Group",
"CREATE_ANOTHER": "Create another Debtor Group",
"CREATED": "Debtor group recorded successfully",
"DEBTOR": {
"SUBSCRIBED": "Subcribed debtor(s)"
},
"DELETE": "Delete Debtor Group",
"EDIT": "Edit Debtor Group",
"FAILURE_DELETE": "Failure of the deletion of the debtor group",
"GROUPS": "Debtor Groups",
"HELP_TXT_1": "This interface allows you to review, find, and configure debtor groups",
"HELP_TXT_2": "Edit selected debtor group",
"HELP_TXT_3": "Lock the selected debtor group. No new transactions can be recorded for a locked group",
"HELP_TXT_4": "Create a new debtor group",
"INFO": "Group Information",
"NEW": "Add a Debtor Group",
"NEW_DEBTOR_GROUP": "New Debtor Group",
"POLICIES": {
"TITLE": "Group Policies",
"SUBSIDIES": {
"TITLE": "Subsidies",
"INFO": "With this configuration unchecked no member of this debtor group will qualify for any subsidies",
"LABEL": "This group qualifies for subsidies",
"UPDATE": "Update Subsidies",
"EMPTY": "This debtor group is not subscribed to any subsidies"
},
"DISCOUNTS": {
"TITLE": "Discounts",
"INFO": "With this configuration unchecked no member of this debtor group will qualify for any discounts",
"LABEL": "This group qualifies for discounts"
},
"INVOICING_FEES": {
"TITLE": "Billing Services",
"INFO": "With this configuration option checked all members of this debtor group will be exempt from paying automatically applied billing services",
"LABEL": "This group is exempt from paying billing services",
"UPDATE": "Update Billing Services",
"EMPTY": "This debtor group is not subscribed to any billing services"
}
},
"TITLE": "Debtor Group Management",
"SUBSCRIBED": "Debtors subscribed",
"UPDATED": "Debtor group record updated",
"LOADING": "Fetching Debtor Group",
"CONVENTION": {
"TITLE": "Convention",
"DESCRIPTION": "The invoices of debtors in this group will be covered by this debtor group's account. Patients belonging to this group will be blocked from paying for their bills at the cash window.",
"CANNOT_PAY": "This patient does not pay invoices. Its invoices are covered by"
},
"SUBSCRIPTIONS": "Subscriptions"
}
}
4 changes: 2 additions & 2 deletions client/src/i18n/en/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"ALL": "All",
"ALL_GENDER": "All Gender",
"AMOUNT": "Amount",
"APPLY_BILLING_SERVICES": "Apply billing service",
"APPLY_INVOICING_FEES": "Apply billing service",
"APPLY_DISCOUNTS": "Apply discounts",
"APPLY_SUBSIDIES": "Apply subsidies",
"ASSET": "Asset",
Expand All @@ -205,7 +205,7 @@
"BANK_ACCOUNT": "Bank Account",
"BASIC_SALARY": "Basic Salary",
"BILLING_DATE": "Billing Date",
"BILLING_SERVICES": "Billing Services Applied",
"INVOICING_FEES": "Billing Services Applied",
"BY": "by",
"ON": "On",
"BY_ID": "By Id",
Expand Down
17 changes: 17 additions & 0 deletions client/src/i18n/en/invoicing_fees.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"INVOICING_FEES": {
"BTN": {
"CREATE": "Create a Invoicing Fee",
"DELETE": "Delete this Invoicing Fee"
},
"CREATED": "Created a new Invoicing Fee.",
"FORM": {
"CREATE": "New Invoicing Fee",
"UPDATE": "Updating Invoicing Fee"
},
"NOT_FOUND": "There is no invoicing fee with that ID. Please go back and try again.",
"TITLE": "Invoicing Fees",
"UPDATED": "Updated the Invoicing Fee.",
"VIEW": "View all Invoicing Fees."
}
}
46 changes: 26 additions & 20 deletions client/src/i18n/en/patient_invoice.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{"PATIENT_INVOICE":{"BASE_PRICE_ALTERED":"The base price for this line item has been augmented by a price list.",
"BILLING_SERVICES":"Billing Services Applied",
"BILLING_SERVICE_BREAKDOWN":"Billing Services Breakdown",
"COMBINED_SUBSIDIES":"Combined Subsidies",
"DISTRIBUTION_TYPE":"Distribution Type",
"DISTRIBUTION_TYPE_EXPLANATION":"This option determines whether the invoice items can be distributed at the pharmacy or if they have already been consumed.",
"INVOICED_FOR":"Invoiced for",
"ERRORS":{"INVALID_NUMBERS":"The record contains negative, zero, or invalid numbers",
"MISSING_SALES_ACCOUNT":"The record contains an inventory item missing a sales account. You cannot make an invoice without a sales account.",
"NOT_CONFIGURED":"The record is missing an inventory item. Please put in an inventory item or remove the row."},
"DESCRIPTION":"Invoice to {{ patientName }} ({{ patientReference }}) for {{ numItems }} items from service {{ serviceName }}. {{ description }}",
"INVALID_DETAILS":"This invoice contains invalid details",
"INVALID_ITEMS":"This invoice contains invalid items",
"PAGE_TITLE":"Patient Invoice",
"STAT_TOTAL_INVOICE":"Total Invoices",
"LABEL_PAID":"Invoice has been paid in full",
"STAT_PAID":"Paid",
"STAT_NOT_PAID":"Waiting Payment",
"SUBSIDY_BREAKDOWN":"Subsidy Breakdown",
"SUCCESS":"Patient invoice successfully recorded."}}
{
"PATIENT_INVOICE": {
"BASE_PRICE_ALTERED": "The base price for this line item has been augmented by a price list.",
"INVOICING_FEES": "Billing Services Applied",
"INVOICING_FEE_BREAKDOWN": "Billing Services Breakdown",
"COMBINED_SUBSIDIES": "Combined Subsidies",
"DISTRIBUTION_TYPE": "Distribution Type",
"DISTRIBUTION_TYPE_EXPLANATION": "This option determines whether the invoice items can be distributed at the pharmacy or if they have already been consumed.",
"INVOICED_FOR": "Invoiced for",
"ERRORS": {
"INVALID_NUMBERS": "The record contains negative, zero, or invalid numbers",
"MISSING_SALES_ACCOUNT": "The record contains an inventory item missing a sales account. You cannot make an invoice without a sales account.",
"NOT_CONFIGURED": "The record is missing an inventory item. Please put in an inventory item or remove the row."
},
"DESCRIPTION": "Invoice to {{ patientName }} ({{ patientReference }}) for {{ numItems }} items from service {{ serviceName }}. {{ description }}",
"INVALID_DETAILS": "This invoice contains invalid details",
"INVALID_ITEMS": "This invoice contains invalid items",
"PAGE_TITLE": "Patient Invoice",
"STAT_TOTAL_INVOICE": "Total Invoices",
"LABEL_PAID": "Invoice has been paid in full",
"STAT_PAID": "Paid",
"STAT_NOT_PAID": "Waiting Payment",
"SUBSIDY_BREAKDOWN": "Subsidy Breakdown",
"SUCCESS": "Patient invoice successfully recorded."
}
}
166 changes: 83 additions & 83 deletions client/src/i18n/en/tree.json
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
{
"TREE": {
"ACCOUNT":"Account",
"ACCOUNT_STATEMENT":"Account Statement",
"ADMIN":"Admin",
"AGED_CREDITORS":"Aged Creditors",
"BALANCE":"Balance",
"BALANCE_SHEET":"Balance Sheet",
"BALANCE_REPORT":"Balance of accounts",
"BILLING_SERVICES":"Billing Services",
"CASH_REPORT" : "Cash Report",
"CASHBOX_MANAGEMENT":"Cashbox Management",
"CASHFLOW":"Cashflow",
"CASHFLOW_BY_SERVICE":"Cashflow by Service",
"CASH_PAYMENT_REGISTRY":"Cash Payment Registry",
"CASH_WINDOW":"Cash Window",
"COMPLEX_JOURNAL_VOUCHER":"Journal Vouchers",
"COST_CENTER_MGMT":"Cost Center Management",
"CREDIT_NOTE":"Credit note",
"CREDITOR_GROUP":"Creditor Group Management",
"CURRENCY":"Currency",
"DEBTOR_GROUP":"Debtor Group Management",
"DEPOTS":"Depots Management",
"EMPLOYEE":"Employee",
"EMPLOYEE_REGISTRY" : "Employees registry",
"ENTERPRISE":"Enterprise",
"EXCHANGE":"Exchange Rate",
"FINANCE":"Finance",
"FISCAL_YEAR":"Fiscal Year",
"PROFESSION":"Job titles management",
"GENERAL_LEDGER":"General Ledger",
"GRADES" : "Grade Management",
"GRADE_EMPLOYERS":"Grade Employees",
"HOSPITAL":"Hospital",
"INCOME_EXPENSE":"Income and Expenses",
"INVENTORY":"Inventory",
"INVENTORY_CONFIGURATION":"Configurations",
"INVENTORY_GROUP":"Group",
"INVENTORY_LIST":"List",
"INVENTORY_MANAGEMENT":"Inventory Management",
"INVENTORY_TYPE":"Type",
"INVENTORY_UNIT":"Dosage Form",
"INVENTORY_VIEW":"Stock",
"INVOICE_REGISTRY":"Invoice Registry",
"JOURNAL_VOUCHER":"Journal Voucher",
"LOCATION":"Locations Management",
"PAYROLL":"Payroll",
"PATIENT_DOCUMENT":"Patient Documents",
"PATIENT_GRP":"Patient Groups",
"PATIENT_GRP_ASSIGNMENT":"Patient Group Assignment",
"PATIENT_INVOICE":"Patient Invoice",
"PATIENT_RECORDS":"Patient Records",
"PATIENT_REGISTRATION":"Patient Registration",
"PATIENT_REGISTRATIONS":"Patient Registrations",
"PATIENT_REGISTRY":"Patients Registry",
"PHARMACY":"Pharmacy Management",
"POSTING_JOURNAL":"Journal",
"PRICE_LIST":"Price List",
"PROJECT":"Projects",
"PURCHASE_ORDER":"Purchase Order",
"PURCHASE":"Purchase",
"PURCHASE_REGISTRY":"Purchase Registry",
"PURCHASING":"Purchasing",
"REFERENCE":"Reference",
"REFERENCE_GROUP":"Reference Group",
"REGISTER_SUPPLIER":"Supplier",
"REPORTS":"Reports",
"REPORT_ACCOUNTS":"Report accounts",
"ROOT":"Root",
"RUBRIC_MANAGEMENT":"Rubrics Management",
"INVOICES":"Invoices",
"SECTION_BILAN":"Bilan section",
"SECTION_RESULTAT":"Result Section",
"SERVICE":"Services",
"SIMPLE_VOUCHER":"Simple Voucher",
"ACCOUNT": "Account",
"ACCOUNT_STATEMENT": "Account Statement",
"ADMIN": "Admin",
"AGED_CREDITORS": "Aged Creditors",
"BALANCE": "Balance",
"BALANCE_SHEET": "Balance Sheet",
"BALANCE_REPORT": "Balance of accounts",
"INVOICING_FEES": "Invoicing Fees",
"CASH_REPORT": "Cash Report",
"CASHBOX_MANAGEMENT": "Cashbox Management",
"CASHFLOW": "Cashflow",
"CASHFLOW_BY_SERVICE": "Cashflow by Service",
"CASH_PAYMENT_REGISTRY": "Cash Payment Registry",
"CASH_WINDOW": "Cash Window",
"COMPLEX_JOURNAL_VOUCHER": "Journal Vouchers",
"COST_CENTER_MGMT": "Cost Center Management",
"CREDIT_NOTE": "Credit note",
"CREDITOR_GROUP": "Creditor Group Management",
"CURRENCY": "Currency",
"DEBTOR_GROUP": "Debtor Group Management",
"DEPOTS": "Depots Management",
"EMPLOYEE": "Employee",
"EMPLOYEE_REGISTRY": "Employees registry",
"ENTERPRISE": "Enterprise",
"EXCHANGE": "Exchange Rate",
"FINANCE": "Finance",
"FISCAL_YEAR": "Fiscal Year",
"PROFESSION": "Job titles management",
"GENERAL_LEDGER": "General Ledger",
"GRADES": "Grade Management",
"GRADE_EMPLOYERS": "Grade Employees",
"HOSPITAL": "Hospital",
"INCOME_EXPENSE": "Income and Expenses",
"INVENTORY": "Inventory",
"INVENTORY_CONFIGURATION": "Configurations",
"INVENTORY_GROUP": "Group",
"INVENTORY_LIST": "List",
"INVENTORY_MANAGEMENT": "Inventory Management",
"INVENTORY_TYPE": "Type",
"INVENTORY_UNIT": "Dosage Form",
"INVENTORY_VIEW": "Stock",
"INVOICE_REGISTRY": "Invoice Registry",
"JOURNAL_VOUCHER": "Journal Voucher",
"LOCATION": "Locations Management",
"PAYROLL": "Payroll",
"PATIENT_DOCUMENT": "Patient Documents",
"PATIENT_GRP": "Patient Groups",
"PATIENT_GRP_ASSIGNMENT": "Patient Group Assignment",
"PATIENT_INVOICE": "Patient Invoice",
"PATIENT_RECORDS": "Patient Records",
"PATIENT_REGISTRATION": "Patient Registration",
"PATIENT_REGISTRATIONS": "Patient Registrations",
"PATIENT_REGISTRY": "Patients Registry",
"PHARMACY": "Pharmacy Management",
"POSTING_JOURNAL": "Journal",
"PRICE_LIST": "Price List",
"PROJECT": "Projects",
"PURCHASE_ORDER": "Purchase Order",
"PURCHASE": "Purchase",
"PURCHASE_REGISTRY": "Purchase Registry",
"PURCHASING": "Purchasing",
"REFERENCE": "Reference",
"REFERENCE_GROUP": "Reference Group",
"REGISTER_SUPPLIER": "Supplier",
"REPORTS": "Reports",
"REPORT_ACCOUNTS": "Report accounts",
"ROOT": "Root",
"RUBRIC_MANAGEMENT": "Rubrics Management",
"INVOICES": "Invoices",
"SECTION_BILAN": "Bilan section",
"SECTION_RESULTAT": "Result Section",
"SERVICE": "Services",
"SIMPLE_VOUCHER": "Simple Voucher",
"STOCK": "Stock",
"STOCK_INVENTORY":"Inventories in Stock",
"STOCK_INVENTORY": "Inventories in Stock",
"STOCK_REPORT": "[Stock] Inventories",
"STOCK_INVENTORY_REPORT":"[Stock] Inventory Report",
"STOCK_LOTS":"Stock Lots",
"STOCK_MOVEMENTS":"Stock Movements",
"SUBSIDY":"Subsidy Management",
"TRANSACTION_TYPE":"Transaction Types",
"USERS":"Users",
"VOUCHER_REGISTRY":"Voucher Registry",
"AGED_DEBTORS":"Aged Debtors"
"STOCK_INVENTORY_REPORT": "[Stock] Inventory Report",
"STOCK_LOTS": "Stock Lots",
"STOCK_MOVEMENTS": "Stock Movements",
"SUBSIDY": "Subsidy Management",
"TRANSACTION_TYPE": "Transaction Types",
"USERS": "Users",
"VOUCHER_REGISTRY": "Voucher Registry",
"AGED_DEBTORS": "Aged Debtors"
}
}
}
9 changes: 0 additions & 9 deletions client/src/i18n/fr/billing_services.json

This file was deleted.

Loading

0 comments on commit dceff3a

Please sign in to comment.