-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1905: Refactor Stock distribution r=jniles This PR refactor the stock distribution page and closes #1854 Most of the work is about addressing points listed in #1854 and some refactor in order to reduce the code. A new component ```bhStockEntryExitType``` has been introduced to remove repeated code found in ```exit.html``` and ```entry.html``` for selecting the type of entry or exit. The main change is about stock distribution from depot to an other depot (Stock transfer) Now the stock transfer is a set of two processes which are a stock exit to depot and a stock entry from depot. Both of them are independent in other to avoid mistakes and guaranty the data integrity. Each time the stock in the depot will match the stock in the system.
- Loading branch information
Showing
51 changed files
with
1,040 additions
and
664 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,8 +1,15 @@ | ||
{"DEPOT":{"ADD_DEPOT":"Add a Depot", | ||
"ALL_DEPOTS":"All Depots", | ||
"DEPOTS_LIST":"Depots list", | ||
"DESCRIPTION":"This module allows you to List, Create, Edit and Delete a Depot", | ||
"EDIT_DEPOT":"Edit the information in a Depot", | ||
"MAIN":{"TITLE":"Depot Management"}, | ||
"NO_DEPOT":"No Depot", | ||
"TITLE":"Depot Management"}} | ||
{ | ||
"DEPOT": { | ||
"ADD_DEPOT": "Add a Depot", | ||
"ALL_DEPOTS": "All Depots", | ||
"DEPOTS_LIST": "Depots list", | ||
"DESCRIPTION": "This module allows you to List, Create, Edit and Delete a Depot", | ||
"EDIT_DEPOT": "Edit the information in a Depot", | ||
"ENTITY" : "Depot", | ||
"MAIN": { | ||
"TITLE": "Depot Management" | ||
}, | ||
"NO_DEPOT": "No Depot", | ||
"TITLE": "Depot Management" | ||
} | ||
} |
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
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,21 +1,26 @@ | ||
{"INVENTORY":{"ADD_GROUP":"Add Inventory Group", | ||
"ADD_METADATA":"Add Inventory Item", | ||
"ADD_TYPE":"Add Inventory Type", | ||
"ADD_UNIT":"Add Inventory unit form", | ||
"CONFIGURATION":"Configurations", | ||
"CONTAINS":"Contains", | ||
"CREATE_ANOTHER":"Create another inventory item", | ||
"EDIT_GROUP":"Edit inventory group", | ||
"EDIT_METADATA":"Edit inventory", | ||
"EDIT_TYPE":"Edit inventory type", | ||
"EDIT_UNIT":"Edit inventory unit form", | ||
"ELEMENT":"Element", | ||
"PRICE_LIST_REPORT":"Inventory Prices Report", | ||
"PRICES":"Inventory Prices", | ||
"LIST":"Inventory Data List", | ||
"LIST_METADATA":"Inventory", | ||
"LIST_GROUP":"Inventory Groups", | ||
"LIST_TYPE":"Inventory Types", | ||
"LIST_UNIT":"Inventory Unit form", | ||
"DEFAULT_QUANTITY_DEFINITION":"The default quantity allows you to customize the default quantity invoiced for. The invoicing module can change this quantity at invoice time.", | ||
"REGISTRY": "Inventories Registry"}} | ||
{ | ||
"INVENTORY": { | ||
"ADD_GROUP": "Add Inventory Group", | ||
"ADD_METADATA": "Add Inventory Item", | ||
"ADD_TYPE": "Add Inventory Type", | ||
"ADD_UNIT": "Add Inventory unit form", | ||
"CODE" : "Iventory Code", | ||
"CONFIGURATION": "Configurations", | ||
"CONTAINS": "Contains", | ||
"CREATE_ANOTHER": "Create another inventory item", | ||
"EDIT_GROUP": "Edit inventory group", | ||
"EDIT_METADATA": "Edit inventory", | ||
"EDIT_TYPE": "Edit inventory type", | ||
"EDIT_UNIT": "Edit inventory unit form", | ||
"ELEMENT": "Element", | ||
"PRICE_LIST_REPORT": "Inventory Prices Report", | ||
"PRICES": "Inventory Prices", | ||
"LIST": "Inventory Data List", | ||
"LIST_METADATA": "Inventory", | ||
"LIST_GROUP": "Inventory Groups", | ||
"LIST_TYPE": "Inventory Types", | ||
"LIST_UNIT": "Inventory Unit form", | ||
"DEFAULT_QUANTITY_DEFINITION": "The default quantity allows you to customize the default quantity invoiced for. The invoicing module can change this quantity at invoice time.", | ||
"REGISTRY": "Inventories Registry" | ||
} | ||
} |
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,5 +1,10 @@ | ||
{"PATIENT_REG":{"PAGE_TITLE":"Patient Registration", | ||
"PATIENT_DETAILS":"Patient Details", | ||
"SUCCESS":"Patient Registered Successfully", | ||
"CARD":"Patient Card", | ||
"IDENTITY":"Patient Identity"}} | ||
{ | ||
"PATIENT_REG": { | ||
"ENTITY" : "Patient", | ||
"PAGE_TITLE": "Patient Registration", | ||
"PATIENT_DETAILS": "Patient Details", | ||
"SUCCESS": "Patient Registered Successfully", | ||
"CARD": "Patient Card", | ||
"IDENTITY": "Patient Identity" | ||
} | ||
} |
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,7 +1,12 @@ | ||
{"SERVICE":{"ADDING_SERVICE":"Adding service", | ||
"ADD_SERVICE":"Add service", | ||
"ALL_SERVICES":"All services", | ||
"DESCRIPTION":"This module allows to create, list, edit, delete and view the cost and product service", | ||
"EDITING_SERVICE":"Editing service", | ||
"OVERVIEWING_SERVICE":"Overviewing Service", | ||
"TITLE":"Service Management"}} | ||
{ | ||
"SERVICE": { | ||
"ADDING_SERVICE": "Adding service", | ||
"ADD_SERVICE": "Add service", | ||
"ALL_SERVICES": "All services", | ||
"DESCRIPTION": "This module allows to create, list, edit, delete and view the cost and product service", | ||
"EDITING_SERVICE": "Editing service", | ||
"ENTITY" : "Service", | ||
"OVERVIEWING_SERVICE": "Overviewing Service", | ||
"TITLE": "Service Management" | ||
} | ||
} |
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
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
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,8 +1,15 @@ | ||
{"DEPOT":{"ADD_DEPOT":"Ajouter un dépôt", | ||
"ALL_DEPOTS":"Tous les dépôts", | ||
"DEPOTS_LIST":"Liste des dépôts", | ||
"DESCRIPTION":"Ce module vous permet de Lister, Creer, Modifier et Supprimer un dépôt", | ||
"EDIT_DEPOT":"Editer les informations d'un dépôt", | ||
"MAIN":{"TITLE":"Gestion des dépôts"}, | ||
"NO_DEPOT":"Aucun dépôt", | ||
"TITLE":"Gestion des dépôts"}} | ||
{ | ||
"DEPOT": { | ||
"ADD_DEPOT": "Ajouter un dépôt", | ||
"ALL_DEPOTS": "Tous les dépôts", | ||
"DEPOTS_LIST": "Liste des dépôts", | ||
"DESCRIPTION": "Ce module vous permet de Lister, Creer, Modifier et Supprimer un dépôt", | ||
"EDIT_DEPOT": "Editer les informations d'un dépôt", | ||
"ENTITY" : "Depot", | ||
"MAIN": { | ||
"TITLE": "Gestion des dépôts" | ||
}, | ||
"NO_DEPOT": "Aucun dépôt", | ||
"TITLE": "Gestion des dépôts" | ||
} | ||
} |
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
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,21 +1,26 @@ | ||
{"INVENTORY":{"ADD_GROUP":"Ajouter Groupe d'Inventaires", | ||
"ADD_METADATA":"Ajouter Inventaire", | ||
"ADD_TYPE":"Ajouter Types d'Inventaires", | ||
"ADD_UNIT":"Ajouter Forme d'Inventaires", | ||
"CONFIGURATION":"Configurations", | ||
"CONTAINS":"Contient", | ||
"CREATE_ANOTHER":"Ajouter une Autre Inventaires", | ||
"DEFAULT_QUANTITY_DEFINITION":"Ce champ suggérera le quantité par défaut dans le facture.", | ||
"EDIT_GROUP":"Modifier Groupe d'inventaires", | ||
"EDIT_METADATA":"Modifier Inventaire", | ||
"EDIT_TYPE":"Modifier Types d'inventaires", | ||
"EDIT_UNIT":"Modifier Forme d'inventaires", | ||
"ELEMENT":"Élément", | ||
"PRICE_LIST_REPORT":"Rapport des prix des articles et services", | ||
"PRICES":"Tarification", | ||
"LIST":"Liste des données d'inventaire", | ||
"LIST_METADATA":"Inventaires", | ||
"LIST_GROUP":"Groupes d'inventaires", | ||
"LIST_TYPE":"Types d'inventaires", | ||
"LIST_UNIT":"Formes d'inventaires", | ||
"REGISTRY": "Registre des inventaires"}} | ||
{ | ||
"INVENTORY": { | ||
"ADD_GROUP": "Ajouter Groupe d'Inventaires", | ||
"ADD_METADATA": "Ajouter Inventaire", | ||
"ADD_TYPE": "Ajouter Types d'Inventaires", | ||
"ADD_UNIT": "Ajouter Forme d'Inventaires", | ||
"CODE" : "Code Item", | ||
"CONFIGURATION": "Configurations", | ||
"CONTAINS": "Contient", | ||
"CREATE_ANOTHER": "Ajouter une Autre Inventaires", | ||
"DEFAULT_QUANTITY_DEFINITION": "Ce champ suggérera le quantité par défaut dans le facture.", | ||
"EDIT_GROUP": "Modifier Groupe d'inventaires", | ||
"EDIT_METADATA": "Modifier Inventaire", | ||
"EDIT_TYPE": "Modifier Types d'inventaires", | ||
"EDIT_UNIT": "Modifier Forme d'inventaires", | ||
"ELEMENT": "Élément", | ||
"PRICE_LIST_REPORT": "Rapport des prix des articles et services", | ||
"PRICES": "Tarification", | ||
"LIST": "Liste des données d'inventaire", | ||
"LIST_METADATA": "Inventaires", | ||
"LIST_GROUP": "Groupes d'inventaires", | ||
"LIST_TYPE": "Types d'inventaires", | ||
"LIST_UNIT": "Formes d'inventaires", | ||
"REGISTRY": "Registre des inventaires" | ||
} | ||
} |
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,5 +1,10 @@ | ||
{"PATIENT_REG":{"CARD":"Fiche du patient", | ||
"PAGE_TITLE":"Enregistrement des Patients", | ||
"PATIENT_DETAILS":"Détails Patient", | ||
"SUCCESS":"Patient enregistré avec succès", | ||
"IDENTITY":"Identité du patient"}} | ||
{ | ||
"PATIENT_REG": { | ||
"ENTITY" : "Patient", | ||
"CARD": "Fiche du patient", | ||
"PAGE_TITLE": "Enregistrement des Patients", | ||
"PATIENT_DETAILS": "Détails Patient", | ||
"SUCCESS": "Patient enregistré avec succès", | ||
"IDENTITY": "Identité du patient" | ||
} | ||
} |
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,7 +1,12 @@ | ||
{"SERVICE":{"ADDING_SERVICE":"Ajout service", | ||
"ADD_SERVICE":"Ajouter service", | ||
"ALL_SERVICES":"Tous les services", | ||
"DESCRIPTION":"Ce module permet de creer, lister, modifier, supprimer et voir le cout et produit du service", | ||
"EDITING_SERVICE":"Modification service", | ||
"OVERVIEWING_SERVICE":"Visualisation sommaire du service", | ||
"TITLE":"Gestion des services"}} | ||
{ | ||
"SERVICE": { | ||
"ADDING_SERVICE": "Ajout service", | ||
"ADD_SERVICE": "Ajouter service", | ||
"ALL_SERVICES": "Tous les services", | ||
"DESCRIPTION": "Ce module permet de creer, lister, modifier, supprimer et voir le cout et produit du service", | ||
"EDITING_SERVICE": "Modification service", | ||
"ENTITY" : "Service", | ||
"OVERVIEWING_SERVICE": "Visualisation sommaire du service", | ||
"TITLE": "Gestion des services" | ||
} | ||
} |
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
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
Oops, something went wrong.