Skip to content

Commit

Permalink
Updating handling of cost centers in accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Jul 8, 2022
1 parent b929b1d commit 741b8f5
Show file tree
Hide file tree
Showing 17 changed files with 271 additions and 138 deletions.
93 changes: 47 additions & 46 deletions client/src/i18n/en/account.json
Original file line number Diff line number Diff line change
@@ -1,96 +1,97 @@
{
"ACCOUNT":{
"ALL_CLASSES":"All classes",
"ASSET":"Asset Accounts",
"CHART":"Chart of Accounts",
"COST":"Costs Accounts",
"EQUITY":"Accounts of equity and borrowing more than a year",
"EXP_PROD":"Accounts of other expenses and other products",
"FINC":"Financial Accounts",
"GROUP":"Account Group (Title Account)",
"LIST":"Accounts list",
"REV":"Revenues Accounts",
"STOCKS":"Stocks Accounts",
"THPART":"Third-party accounts and regularize",
"TITLE":"Account Management",
"TYPE":"Account Type",
"BALANCED":"Accounts are balanced",
"ADD":"Add Account",
"ADD_CHILD":"Add child account",
"ALL_ACCOUNT":"All Accounts",
"ALL_CLASSES":"All classes",
"ASSET":"Asset Accounts",
"BALANCED":"Accounts are balanced",
"CHART":"Chart of Accounts",
"CLASS":"Accounts class",
"CONFIRM_HIDE" : "Hiding an account removes the account from all account selection elements. It will not affect any pending transactions using the account. Make it hidden?",
"CONFIRM_LOCK" : "Locking an account restricts the ability to post transactions using the account. Are you sure you want to lock it?",
"CONFIRM_UNHIDE" : "This account is currently hidden. Are you sure you want to reveal it for use?",
"CONFIRM_UNLOCK" : "The account is locked. Unlocking it will allow transactions to be posted containing this account. Are you sure you want to unlock it?",
"COST":"Costs Accounts",
"COST_CENTER":"Cost Center",
"CREATE":"Create New Account",
"CREATE_ANOTHER":"Create another account",
"CREATED":"Account record written",
"CREATE_ANOTHER":"Create another account",
"DELETED":"Deleted",
"DISPLAY_HIDDEN": "Display hidden accounts",
"UPDATED":"Account record updated",
"EQUITY":"Accounts of equity and borrowing more than a year",
"EXCEPT": "except",
"EXP_PROD":"Accounts of other expenses and other products",
"FINC":"Financial Accounts",
"GENERATE":"Generate Account Report",
"GROUP":"Account Group (Title Account)",
"HELP_TXT_1":"Chart of accounts for",
"HELP_TXT_2":"Account information and relationships are shown in the table on the right",
"HELP_TXT_3":"Click 'Add Account' to add an account",
"HIDE_HIDDEN": "Hide hidden accounts",
"NEW":"New Account",
"LABEL":"Account Label",
"LIST":"Accounts list",
"NEW":"New Account",
"NOT_0_AS_ACCOUNT_NOMBER": "You cannot set 0 as account number",
"NOT_BALANCED":"Accounts are not balanced",
"NOT_FOUND":"No accounts found.",
"NOT_POSITIVE":"Contains negative value",
"NOT_0_AS_ACCOUNT_NOMBER": "You cannot set 0 as account number",
"NUMBER":"Account Number",
"PROFIT_CENTER":"Profit Center",
"TITLE_ACCOUNT":"Title Account",
"SET_ROOT":"Set as root account",
"ROOT_PARENT":"This account is set as a child of the root account. This means it will be at the highest level in the chart of accounts.",
"RECORDING":"Create",
"RECORD_SAME":"No changes have been made to the form. Update the account details and then press submit.",
"REV":"Revenues Accounts",
"ROOT_PARENT":"This account is set as a child of the root account. This means it will be at the highest level in the chart of accounts.",
"SELECT_PARENT":"Select parent account...",
"SET_ROOT":"Set as root account",
"STOCKS":"Stocks Accounts",
"SUBMIT_CREATE":"Create Account",
"SUBMIT_DELETE":"Delete Account",
"SUBMIT_UPDATE":"Update Account",
"THPART":"Third-party accounts and regularize",
"TITLE":"Account Management",
"TITLE_ACCOUNT":"Title Account",
"TYPE":"Account Type",
"TYPE_CHANGE_BLOCKED":"You cannot change the type of a title account with children.",
"CONFIRM_HIDE" : "Hiding an account removes the account from all account selection elements. It will not affect any pending transactions using the account. Make it hidden?",
"CONFIRM_UNHIDE" : "This account is currently hidden. Are you sure you want to reveal it for use?",
"CONFIRM_LOCK" : "Locking an account restricts the ability to post transactions using the account. Are you sure you want to lock it?",
"CONFIRM_UNLOCK" : "The account is locked. Unlocking it will allow transactions to be posted containing this account. Are you sure you want to unlock it?",
"UPDATED":"Account record updated",
"IMPORT" : {
"ACCOUNTS" : "Import Accounts",
"ACCOUNT_LABEL_INFO" : "account_label : the account label",
"ACCOUNT_NUMBER_INFO" : "account_number : the account number",
"ACCOUNT_PARENT_INFO" : "account_parent : the parent account number",
"ACCOUNT_TYPE_INFO" : "account_type : the account type must be either (asset, liability, equity, expense, income, title)",
"DESCRIPTION" : "You are about to import the list of accounts from a CSV file",
"DOWNLOAD_TEMPLATE_HERE" : "Clic here to download the template file for importing accounts",
"LOAD_DEFAULT_OHADA_ACCOUNTS" : "Use default OHADA accounts",
"LOAD_FROM_FILE" : "Import from a csv file",
"LOAD_OHADA_ACCOUNTS" : "Import the list of OHADA accounts of the enterprise",
"LOAD_OTHER_ACCOUNTS" : "Import a list of accounts",
"LOAD_FROM_FILE" : "Import from a csv file",
"ACCOUNT_NUMBER_INFO" : "account_number : the account number",
"ACCOUNT_LABEL_INFO" : "account_label : the account label",
"ACCOUNT_TYPE_INFO" : "account_type : the account type must be either (asset, liability, equity, expense, income, title)",
"ACCOUNT_PARENT_INFO" : "account_parent : the parent account number",
"UPLOAD_SUCCESS" : "Successfully sent",
"DOWNLOAD_TEMPLATE_HERE" : "Clic here to download the template file for importing accounts"
"UPLOAD_SUCCESS" : "Successfully sent"
},
"REFERENCE":{
"REFERENCE":"Reference",
"DESCRIPTION":"Description",
"ACCOUNT_LIST":"Account list",
"ADD_REFERENCE":"Add reference",
"AMO_DEP":"Amortization",
"AMO_DEP_LONG":"Amortization and depreciation",
"ADD_REFERENCE":"Add reference",
"UPDATE_REFERENCE":"Update",
"CREATED":"Accounts reference successfully created",
"UPDATED":"Accounts reference successfully updated",
"DELETED":"Accounts reference successfully deleted",
"ACCOUNT_LIST":"Account list",
"RECORD_ERROR":"An error occurred during the submission",
"DESCRIPTION":"Description",
"EXCEPTION":"Exception",
"PARENT_REFERENCE":"Parent Reference",
"EXCEPTION":"Exception"
"RECORD_ERROR":"An error occurred during the submission",
"REFERENCE":"Reference",
"UPDATED":"Accounts reference successfully updated",
"UPDATE_REFERENCE":"Update"
},
"TYPES":{
"EXPENSE":"Expense",
"BALANCE":"Balance",
"TITLE":"Title",
"ASSET":"Asset",
"LIABILITY":"Liability",
"BALANCE":"Balance",
"EQUITY":"Equity",
"EXPENSE":"Expense",
"INCOME":"Income",
"TIERS":"Others"
"LIABILITY":"Liability",
"TIERS":"Others",
"TITLE":"Title"
}
}
}
30 changes: 17 additions & 13 deletions client/src/i18n/en/cost_center.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"COST_CENTER" : {
"TITLE" : "Cost Centers",
"ACCOUNTS_UPDATED": "{{ numUpdates }} Accounts updated",
"ADD_ALLOCATION_BASIS": "Add allocation basis",
"ADD_ALLOCATION_BASIS_TOOLTIP": "Add a new cost allocation basis",
"ADD_ALLOCATION_KEYS" : "Add Allocation Keys",
"ADD_COST_CENTER" : "Add a Cost Center",
"ADD_ALLOCATION_BASIS_TOOLTIP": "Add a new cost allocation basis",
"ALLOCATION_BASES":"Allocation Bases",
"ALLOCATION_BASIS": "Allocation basis",
"ALLOCATION_BASIS_TABLE": "Table of allocation bases",
Expand All @@ -13,36 +14,39 @@
"AUXILIARY": "Auxiliary Cost Center",
"DELETE": "Delete This Cost Center",
"DIRECT_COST": "Direct Cost",
"ADD_ALLOCATION_BASIS": "Add allocation basis",
"EDIT_ALLOCATION_BASIS": "Edit allocation basis",
"EDIT_ALLOCATION_KEYS" : "Edit Allocation Keys",
"EDIT_COST_CENTER" : "Update the Cost Center Information",
"EDIT_STEP_ORDER" : "Edit order of cost allocation steps",
"PRINCIPAL": "Principal Cost Center",
"INCLUDE_REVENUE_ACCOUNTS" : "Include revenues accounts?",
"INCLUDE_REVENUE_ACCOUNTS_HELP_TEXT" : "This will include also the revenues accounts to expenses accounts list",
"INCLUDE_REVENUE_CENTERS" : "Include revenue with costs?",
"INCLUDE_REVENUE_CENTERS_HELP_TEXT" : "This will include the revenue generated by the revenue centers in addition to their costs.",
"NO_COST_CENTER_DEFINED": "** Cost Center Not Defined **",
"ONLY_FOR_EXPLOITATION_ACCOUNTS": "Only for operating accounts (income and expenses). For others accounts, the cost center will not be considered",
"PRINCIPAL": "Principal Cost Center",
"SELECT_ALLOCATION_BASIS": "Select allocation basis",
"SELECT_COST_CENTER": "Select Cost Center",
"SET_ALLOCATION_QUANTITIES_TOOLTIP": "Define cost center allocation quantities",
"SHOW_ALLOCATIONS_TABLE" : "Show allocations table?",
"SHOW_ALLOCATIONS_TABLE_HELP_TEXT" : "Show the table of allocation basis values for each cost center",
"STEP_DOWN_COST_ALLOCATION": "Step-down cost allocation",
"STEP_ORDER": "Allocation Step Order",
"ONLY_FOR_EXPLOITATION_ACCOUNTS": "Only for operating accounts (income and expenses). For others accounts, the cost center will not be considered",
"TITLE" : "Cost Centers",
"UPDATE_ACCOUNTS" : "Update accounts",
"UPDATE_ACCOUNTS_TOOLTIP" : "Update the cost center information in all accounts. This operation may take some time.",
"UPDATE_ALLOCATION_QUANTITIES": "Update",
"UPDATE_ALLOCATION_QUANTITIES_TOOLTIP": "Update system-computed cost center allocation quantities",
"SET_ALLOCATION_QUANTITIES_TOOLTIP": "Define cost center allocation quantities",
"INCLUDE_REVENUE_CENTERS" : "Include revenue with costs?",
"INCLUDE_REVENUE_CENTERS_HELP_TEXT" : "This will include the revenue generated by the revenue centers in addition to their costs.",
"USE_REVENUE_CENTERS" : "Show the revenue report?",
"USE_REVENUE_CENTERS_HELP_TEXT" : "This will show the revenue generated by the revenue centers",
"INCLUDE_REVENUE_ACCOUNTS" : "Include revenues accounts?",
"INCLUDE_REVENUE_ACCOUNTS_HELP_TEXT" : "This will include also the revenues accounts to expenses accounts list",
"REPORT" : {
"COST_CENTER_BY_ACCOUNTS" : "Cost center value by accounts",
"COST_CENTER_BY_ACCOUNTS_DESCRIPTION" : "This report displays cost center value by accounts",
"COST_CENTER_INCOME_AND_EXPENSE" : "Cost center direct revenue and expense",
"COST_CENTER_INCOME_AND_EXPENSE_DESCRIPTION" : "This report displays the direct revenue and costs associated with each cost center. To get the total costs and revenue by revenue-generating cost center, please see the step-down analysis report"
},
"SHOW_ALLOCATIONS_TABLE" : "Show allocations table?",
"SHOW_ALLOCATIONS_TABLE_HELP_TEXT" : "Show the table of allocation basis values for each cost center"
}
},

"ALLOCATION_METHOD": "Allocation method",
"ALLOCATION_METHOD_FLAT": "Flat",
"ALLOCATION_METHOD_PROPORTIONAL": "Proportional",
Expand Down
83 changes: 42 additions & 41 deletions client/src/i18n/fr/account.json
Original file line number Diff line number Diff line change
@@ -1,96 +1,97 @@
{
"ACCOUNT": {
"ALL_CLASSES": "Toutes les classes",
"ASSET": "Comptes des valeurs immobilisées",
"CHART": "Plan Comptable",
"COST": "Comptes des charges et pertes par nature",
"EQUITY": "Comptes des fonds propres et emprunts a plus d'un an",
"EXP_PROD": "Comptes des autres charges et autres produits",
"FINC": "Comptes financiers",
"GROUP": "Groupe des Comptes (Comptes Titres)",
"LIST": "Liste des comptes",
"REV": "Comptes de produits",
"STOCKS": "Comptes des stocks",
"THPART": "Comptes de tiers et à régulariser",
"TYPE": "Type de Compte",
"ADD": "Ajouter un Compte",
"ADD_CHILD": "Ajouter un Compte fils",
"ALL_ACCOUNT": "Tous les comptes",
"ALL_CLASSES": "Toutes les classes",
"ASSET": "Comptes des valeurs immobilisées",
"BALANCED": "Comptes balancés",
"COST_CENTER": "Centre des coûts",
"CHART": "Plan Comptable",
"CLASS": "Classe de compte",
"CONFIRM_HIDE" : "Masquer un compte supprime le compte de tous les éléments de sélection de compte. Cela n'affectera pas les transactions en attente utilisant le compte. Le rendre caché ?",
"CONFIRM_LOCK" : "Le verrouillage d'un compte limite la possibilité de publier des transactions en utilisant le compte. Êtes-vous sûr de vouloir le verrouiller ?",
"CONFIRM_UNHIDE" : "Ce compte est actuellement caché. Êtes-vous sûr de vouloir le révéler pour l'utiliser ?",
"CONFIRM_UNLOCK" : "Le compte est bloqué. Le débloquer permettra d'afficher des transactions contenant ce compte. Êtes-vous sûr de vouloir le débloquer ?",
"COST": "Comptes des charges et pertes par nature",
"COST_CENTER": "Centre des coûts",
"CREATE": "Créer un plan Comptable",
"CREATED": "Crée",
"CREATE_ANOTHER": "Crée un autre",
"DELETED": "Supprimé",
"DISPLAY_HIDDEN": "Afficher les comptes cachés",
"EQUITY": "Comptes des fonds propres et emprunts a plus d'un an",
"EXCEPT": "sauf",
"EXP_PROD": "Comptes des autres charges et autres produits",
"FINC": "Comptes financiers",
"GENERATE": "Générer un rapport des Comptes",
"GROUP": "Groupe des Comptes (Comptes Titres)",
"HELP_TXT_1": "Un Plan Comptable pour",
"HELP_TXT_2": "Les informations sur les comptes, ainsi que leurs relations sont visibles sur le tableau à droite",
"HELP_TXT_3": "Cliquer 'Ajouter un Compte' pour l'ajout d'un compte",
"HIDE_HIDDEN": "Masquer les comptes cachés",
"LABEL": "Label",
"LIST": "Liste des comptes",
"NEW": "Ajouter un Compte",
"NOT_0_AS_ACCOUNT_NOMBER":"Vous ne pouvez pas enregistrer 0 comme numéro de compte!",
"NOT_BALANCED": "Comptes non balancés",
"NOT_FOUND": "Aucun compte enregistrés...",
"NOT_POSITIVE": "Contiens des valeurs non positives",
"NOT_0_AS_ACCOUNT_NOMBER":"Vous ne pouvez pas enregistrer 0 comme numéro de compte!",
"NUMBER": "Numéro de compte",
"PROFIT_CENTER": "Centre des profits",
"RECORDING": "Enregistrement",
"RECORD_SAME": "Aucun changement n'a été apporté au formulaire. Mettez à jour les informations du compte, puis appuyez sur Envoyer.",
"REV": "Comptes de produits",
"ROOT_PARENT": "Ce compte est défini comme un enfant du compte root. Cela signifie qu'il sera au plus haut niveau dans la hiérarchie des comptes.",
"SELECT_PARENT": "Choisir le compte parent..",
"SET_ROOT": "Définir comme un compte parent",
"STOCKS": "Comptes des stocks",
"SUBMIT_CREATE": "Créer un compte",
"SUBMIT_DELETE": "Supprimer un compte",
"SUBMIT_UPDATE": "Mettre à jour un compte",
"THPART": "Comptes de tiers et à régulariser",
"TITLE": "Gestion des Comptes",
"TITLE_ACCOUNT": "Comptes Titre",
"TYPE": "Type de Compte",
"TYPE_CHANGE_BLOCKED": "Vous ne pouvez pas modifier le type d'un compte de titre qui a des sous-comptes.",
"CONFIRM_HIDE" : "Masquer un compte supprime le compte de tous les éléments de sélection de compte. Cela n'affectera pas les transactions en attente utilisant le compte. Le rendre caché ?",
"CONFIRM_UNHIDE" : "Ce compte est actuellement caché. Êtes-vous sûr de vouloir le révéler pour l'utiliser ?",
"CONFIRM_LOCK" : "Le verrouillage d'un compte limite la possibilité de publier des transactions en utilisant le compte. Êtes-vous sûr de vouloir le verrouiller ?",
"CONFIRM_UNLOCK" : "Le compte est bloqué. Le débloquer permettra d'afficher des transactions contenant ce compte. Êtes-vous sûr de vouloir le débloquer ?",
"UPDATED": "Les données du compte ont été mis à jour",
"IMPORT" : {
"ACCOUNTS" : "Importer les comptes",
"ACCOUNT_LABEL_INFO" : "account_label : le libellé du compte",
"ACCOUNT_NUMBER_INFO" : "account_number : le numéro du compte",
"ACCOUNT_PARENT_INFO" : "account_parent : le numéro du compte parent",
"ACCOUNT_TYPE_INFO" : "account_type : le type de compte doit être soit (asset, liability, equity, expense, income, title)",
"DESCRIPTION" : "Vous êtes sur le point d'importer la liste des comptes à partir d'un fichier CSV",
"DOWNLOAD_TEMPLATE_HERE" : "Cliquez ici pour télécharger le fichier modèle pour l'importation des comptes",
"LOAD_DEFAULT_OHADA_ACCOUNTS" : "Utiliser les comptes par défaut OHADA",
"LOAD_FROM_FILE" : "Importer à partir d'un fichier",
"LOAD_OHADA_ACCOUNTS" : "Importer la liste des comptes OHADA de l'entreprise",
"LOAD_OTHER_ACCOUNTS" : "Importer une liste des comptes",
"LOAD_FROM_FILE" : "Importer à partir d'un fichier",
"ACCOUNT_NUMBER_INFO" : "account_number : le numéro du compte",
"ACCOUNT_LABEL_INFO" : "account_label : le libellé du compte",
"ACCOUNT_TYPE_INFO" : "account_type : le type de compte doit être soit (asset, liability, equity, expense, income, title)",
"ACCOUNT_PARENT_INFO" : "account_parent : le numéro du compte parent",
"UPLOAD_SUCCESS" : "Envoi du fichier avec succès",
"DOWNLOAD_TEMPLATE_HERE" : "Cliquez ici pour télécharger le fichier modèle pour l'importation des comptes"
"UPLOAD_SUCCESS" : "Envoi du fichier avec succès"
},
"REFERENCE":{
"REFERENCE":"Référence",
"DESCRIPTION":"Description",
"ACCOUNT_LIST":"Liste des comptes",
"ADD_REFERENCE":"Ajouter reference",
"AMO_DEP":"Amortissement",
"AMO_DEP_LONG":"Amortissement et dépreciation",
"ADD_REFERENCE":"Ajouter reference",
"UPDATE_REFERENCE":"Mettre à jour",
"CREATED":"Référence des comptes crée avec succès",
"UPDATED":"Référence des comptes mise à jour avec succès",
"DELETED":"Référence supprimée avec succès",
"ACCOUNT_LIST":"Liste des comptes",
"RECORD_ERROR":"Erreur lors de la soumission",
"DESCRIPTION":"Description",
"EXCEPTION":"Sauf",
"PARENT_REFERENCE":"Référence du parent",
"EXCEPTION":"Sauf"
"RECORD_ERROR":"Erreur lors de la soumission",
"REFERENCE":"Référence",
"UPDATED":"Référence des comptes mise à jour avec succès",
"UPDATE_REFERENCE":"Mettre à jour"
},
"TYPES": {
"ASSET":"Actif",
"BALANCE": "Balance",
"TITLE": "Titre",
"INCOME": "Profit",
"EQUITY":"Capital",
"EXPENSE": "Charge",
"ASSET":"Actif",
"INCOME": "Profit",
"LIABILITY":"Passif",
"EQUITY":"Capital",
"TIERS":"Tiers"
},
"UPDATED": "Les données du compte ont été mis à jour"
"TIERS":"Tiers",
"TITLE": "Titre"
}
}
}
Loading

0 comments on commit 741b8f5

Please sign in to comment.