-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stock): implement stock management modules
* Stock database design implementation * Server side api * database updates and fixing * stock api : create new stock * implements stock movement API * Implementing GET methods for stock API * move functions into core.js * Stock lots registry * Fix mergin conflicts * Fix mergin differences * Search in stock lots registry * e2e tests for stock lots registry * Stock Movements Implementations * Stock Movements Implementations * Search and Reports in Movements * Stock Inventories implementation * Stock inventory status * stock movement e2e test and fixing * Fix e2e test according dates updated * stock exit management * exit movement * Handle depot selections * Movement to patient * Patient distribution with proof * Enhancement of stock exit to patient receipt * Stock Exit to depot * Stock exit to service and to loss management * stock entry from purchase * Date picker component * Stock entry from purchase with document * Fix stock entry receipt for purchase * Stock entry implementations * Fix and enhancement of stock entry * remove purchase from inventory node * Adding grouping in stock registry * Fix and enhancements * Add integration of stocks * Add integration receipt * Fix mergin conflicts error * Disable donation until implementation * stock adjustment receipt * Starting today filter in movement * fix and enhancement * Fix and enhancements * fix stock registries tests * test for exit * e2e test for stock exit * Fix and enhancements * E2E tests for stock entry by purchase and integration * Fix e2e tests and enhancements * Fix and enhancements according the review * Fix and enhancement for 2nd review * Fix and enhancements * Daily record and tests enhancement
- Loading branch information
1 parent
8866491
commit 1c5364b
Showing
150 changed files
with
9,206 additions
and
221 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
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"STOCK" : { | ||
"ALERT" : "Alert", | ||
"ADJUSTMENT" : "Adjustment", | ||
"ADJUSTMENT_TYPE" : "Adjustment Type", | ||
"AMOUNT" : "Montant", | ||
"APPROVISIONING" : "Quantity to order", | ||
"CACHED_DATA" : "Data saved", | ||
"CODE" : "Code", | ||
"COST" : "Cost", | ||
"DECREASE" : "Decrease", | ||
"DECREASE_HELP" : "Adjustment of stock by decreasing the quantity of lots of products in stock", | ||
"DEPOT" : "Depot", | ||
"DEPOT_RESPONSIBLE" : "Depot Manager", | ||
"DETAILS" : "Details", | ||
"DOCUMENT" : "Document", | ||
"DONATION" : "Donation", | ||
"ENTRY" : "Stock Entry", | ||
"ENTRY_DATE" : "Entry Date", | ||
"ENTRY_DOCUMENT" : "Entry Document", | ||
"ENTRY_PURCHASE" : "Purchase", | ||
"ENTRY_INTEGRATION" : "Integration", | ||
"EXPIRATION_DATE" : "Expiration Date", | ||
"EXPIRATION" : "Expiration", | ||
"EXPIRATION_RISK" : "Expiration Risk", | ||
"EXIT" : "Stock Exit", | ||
"EXIT_DEPOT" : "Exit to a depot", | ||
"EXIT_PATIENT" : "Exit to a patient", | ||
"EXIT_SERVICE" : "Exit to a service", | ||
"EXIT_LOSS" : "Loss", | ||
"FILE" : "Stock File", | ||
"FLUX" : "Reason", | ||
"FROM" : "From", | ||
"GROUPING" : "Grouping", | ||
"INCREASE" : "Increase", | ||
"INCREASE_HELP" : "Adjustment of stock by increasing the quantity of lots of products in stock", | ||
"INVENTORY" : "Inventory", | ||
"INPUT" : "Input", | ||
"INTEGRATION" : "Integration", | ||
"IO" : "In/Out", | ||
"ITEMS" : "Items", | ||
"LEGEND" : "Legend", | ||
"LOSS" : "Stock Loss", | ||
"LOT" : "Lot", | ||
"LOTS" : "Lots", | ||
"MAXIMUM" : "Maximum Stock", | ||
"MINIMUM" : "Minimum Stock", | ||
"MONTH" : "Stock Months", | ||
"MONTHLY_CONSUM" : "Month Consumptions", | ||
"MOTIF" : "Motif", | ||
"MOVEMENTS" : "Movements", | ||
"NO_ORDER" : "No Orders", | ||
"OUTPUT" : "Output", | ||
"ORDERS" : "Orders", | ||
"ORIGIN" : "Origin", | ||
"ORIGINS" : "Lots Origins", | ||
"ORIGIN_DOCUMENT" : "Origin Document", | ||
"PURCHASE_ORDER" : "Purchase Order", | ||
"QUANTITY" : "Quantity", | ||
"RECEIPT" : { | ||
"ADJUSTMENT" : "Adjustment", | ||
"ENTRY_DEPOT" : "Stock Entry", | ||
"ENTRY_PURCHASE" : "Stock Entry - Purchase", | ||
"ENTRY_INTEGRATION" : "Stock Entry - Integration", | ||
"EXIT_PATIENT" : "Stock Exit - Patient", | ||
"EXIT_DEPOT" : "Stock Exit - Depot", | ||
"EXIT_SERVICE" : "Stock Exit - Service", | ||
"EXIT_LOSS" : "Stock Exit - Loss" | ||
}, | ||
"RECEIVER" : "Recepteur", | ||
"RESPONSIBLE" : "Stock Manager", | ||
"SEARCH" : "Search", | ||
"SECURITY" : "Security Stock", | ||
"STATUS" : { | ||
"IN_STOCK" : "In Stock", | ||
"LABEL" : "Etat", | ||
"MAXIMUM" : "Maximum Stock Reached", | ||
"MINIMUM" : "Minimum Stock Reached", | ||
"OVER_MAX" : "Over Maximum", | ||
"SECURITY" : "Security Stock Reached", | ||
"SOLD_OUT" : "Sold Out" | ||
}, | ||
"SUCCESS" : "Successfully created a movement", | ||
"TO" : "Destination", | ||
"UNIT_COST" : "Unit cost" | ||
}, | ||
"STOCK_FLUX" : { | ||
"FROM_PURCHASE" : "From Purchase Order", | ||
"FROM_OTHER_DEPOT" : "From Depot", | ||
"FROM_ADJUSTMENT" : "Adjustment (Positive)", | ||
"FROM_PATIENT" : "From Patient", | ||
"FROM_SERVICE" : "From Service", | ||
"FROM_DONATION" : "From Donation", | ||
"FROM_INTEGRATION" : "From Integration", | ||
"FROM_LOSS" : "From Loss", | ||
"TO_OTHER_DEPOT" : "To Depot", | ||
"TO_PATIENT" : "To Patient", | ||
"TO_SERVICE" : "To Service", | ||
"TO_LOSS" : "To Loss", | ||
"TO_ADJUSTMENT" : "Adjustment (Negative)" | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"STOCK" : { | ||
"ALERT" : "Alert", | ||
"ADJUSTMENT" : "Ajustement", | ||
"ADJUSTMENT_TYPE" : "Type d'Ajustement", | ||
"AMOUNT" : "Montant", | ||
"APPROVISIONING" : "Quantité à commander", | ||
"CACHED_DATA" : "Donnees mises en cache", | ||
"CODE" : "Code", | ||
"COST" : "Cout", | ||
"DECREASE" : "Diminution", | ||
"DECREASE_HELP" : "Ajustement de stock en reduisant la quantité des lots des produits en stock", | ||
"DEPOT" : "Depot", | ||
"DEPOT_RESPONSIBLE" : "Gestionnaire du depot", | ||
"DETAILS" : "Details", | ||
"DOCUMENT" : "Document", | ||
"DONATION" : "Donation", | ||
"ENTRY" : "Entrée de stock", | ||
"ENTRY_DATE" : "Date d'entrée", | ||
"ENTRY_DOCUMENT" : "Document d'entrée", | ||
"ENTRY_PURCHASE" : "Achat", | ||
"ENTRY_INTEGRATION" : "Integration", | ||
"EXPIRATION_DATE" : "Date d'expiration", | ||
"EXPIRATION_RISK" : "Risque à Perimer", | ||
"EXPIRATION" : "Expiration", | ||
"EXIT" : "Sortie de stock", | ||
"EXIT_DEPOT" : "Transfert vers un depot", | ||
"EXIT_PATIENT" : "Distribution vers un patient", | ||
"EXIT_SERVICE" : "Distribution vers un service", | ||
"EXIT_LOSS" : "Perte", | ||
"FILE" : "Fiche de stock", | ||
"FLUX" : "Raison", | ||
"FROM" : "Provenance", | ||
"GROUPING" : "Groupage", | ||
"INCREASE" : "Augmentation", | ||
"INCREASE_HELP" : "Ajustement de stock en augmentant la quantité des lots des produits en stock", | ||
"INVENTORY" : "Inventaire", | ||
"IO" : "Entrée/Sortie", | ||
"INPUT" : "Entrée", | ||
"INTEGRATION" : "Integration", | ||
"ITEMS" : "Items", | ||
"LEGEND" : "Legende", | ||
"LOSS" : "Perte de stock", | ||
"LOT" : "Lot", | ||
"LOTS" : "Lots", | ||
"MAXIMUM" : "Stock maximum", | ||
"MINIMUM" : "Stock minimum", | ||
"MONTH" : "Mois de stock", | ||
"MONTHLY_CONSUM" : "Consommation Mensuelle", | ||
"MOTIF" : "Motif", | ||
"MOVEMENTS" : "Mouvements", | ||
"NO_ORDER" : "Pas de commandes", | ||
"OUTPUT" : "Sortie", | ||
"ORDERS" : "Commandes", | ||
"ORIGIN" : "Origin", | ||
"ORIGINS" : "Origines des lots", | ||
"ORIGIN_DOCUMENT" : "Document de l'origine", | ||
"PURCHASE_ORDER" : "Commande d'Achat", | ||
"QUANTITY" : "Quantité", | ||
"RECEIPT" : { | ||
"ADJUSTMENT" : "Ajustement", | ||
"ENTRY_DEPOT" : "Entrée de Stock", | ||
"ENTRY_PURCHASE" : "Entree de Stock - Achat", | ||
"ENTRY_INTEGRATION" : "Entree de Stock - Integration", | ||
"EXIT_PATIENT" : "Sortie de Stock - Patient", | ||
"EXIT_DEPOT" : "Sortie de Stock - Depot", | ||
"EXIT_SERVICE" : "Sortie de Stock - Service", | ||
"EXIT_LOSS" : "Sortie de Stock - Perte" | ||
}, | ||
"RECEIVER" : "Recepteur", | ||
"RESPONSIBLE" : "Gestionnaire du stock", | ||
"SEARCH" : "Chercher", | ||
"SECURITY" : "Stock de securité", | ||
"STATUS" : { | ||
"IN_STOCK" : "Disponible", | ||
"LABEL" : "Etat", | ||
"MAXIMUM" : "Stock Max Atteint", | ||
"MINIMUM" : "Stock Min Atteint", | ||
"OVER_MAX" : "Stock Max Depassé", | ||
"SECURITY" : "Stock de Securité Atteint", | ||
"SOLD_OUT" : "Rupture de stock" | ||
}, | ||
"SUCCESS" : "Mouvement realisé avec success", | ||
"TO" : "Destination", | ||
"UNIT_COST" : "Cout unitaire" | ||
}, | ||
"STOCK_FLUX" : { | ||
"FROM_PURCHASE" : "Commande d'achat", | ||
"FROM_OTHER_DEPOT" : "En provenance d'un depot", | ||
"FROM_ADJUSTMENT" : "Ajustement (Positif)", | ||
"FROM_PATIENT" : "En provenance d'un patient", | ||
"FROM_SERVICE" : "En provenance d'un service", | ||
"FROM_DONATION" : "En provenance d'une donation", | ||
"FROM_INTEGRATION" : "En provenance d'une integration", | ||
"FROM_LOSS" : "En provenance d'une perte", | ||
"TO_OTHER_DEPOT" : "Vers un depot", | ||
"TO_PATIENT" : "Vers un patient", | ||
"TO_SERVICE" : "Vers un service", | ||
"TO_LOSS" : "Vers une perte", | ||
"TO_ADJUSTMENT" : "Ajustement (Negatif)" | ||
} | ||
} |
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.