Skip to content

v3.0.0

Compare
Choose a tag to compare
@denniskigen denniskigen released this 07 May 21:37
6530fbe

What's Changed

Features

  • (feat) U4X-232: Initial items set up for commodity stock management by @jabahum in #2
  • (feat) Set up commodity requests by @jabahum in #3
  • (feat) U4X-233: Migrate lists of commodity objects by @jabahum in #4
  • (feat) Vertical tabs by @wizlif in #6
  • (feat) Overlay implementation by @wizlif in #8
  • (feat) U4X-238: Add controlled inputs fields by @jabahum in #9
  • (feat) U4X-235: Add delete, Add and search filter for Stock Commodity Items by @jabahum in #5
  • (feat) Add admin page link by @denniskigen in #11
  • (feat) Add functionality to hide global table toolbar by @wizlif in #13
  • (feat) Implement package units selector by @wizlif in #18
  • (feat) Implement reusable concepts selection component by @wizlif in #20
  • (feat) Implement batch information tab by @wizlif in #16
  • (feat) Upgrade reusable drugs selector to allow search by @wizlif in #21
  • (feat) Implement packaging units concept selector by @wizlif in #22
  • (feat) Implement packaging units tab by @wizlif in #23
  • (feat) Implement transactions tab by @wizlif in #24
  • (feat) Implement quantities tab by @wizlif in #26
  • (feat) Implement item edit by @wizlif in #27
  • (feat) Validated forms by @wizlif in #28
  • (feat) Rebase by @wizlif in #29
  • (feat) Stock-items: Improve pagination & add filters by @wizlif in #30
  • (feat) Show intable empty state by @jabahum in #31
  • (feat) When stock source is added successfully, close form by @makombe in #33
  • (feat) UI Tweaks on stock operations and user role scope by @makombe in #34
  • (feat) Save user role scope by @jabahum in #39
  • (feat) Stock items table actions column label by @jecihjoy in #41
  • (feat) Add ability to update stock sources by @jecihjoy in #43
  • (feat) U4X-272: The ability to edit user role scope is missing by @jabahum in #44
  • (feat) U4X-290: Editing stock items Edit links not fully operational by @jabahum in #48
  • (feat) Add packaging units widget to enable someone to add packaging units for stock item by @patryllus in #49
  • (feat) U4X-289: Deleting stock sources by @jabahum in #47
  • (feat) U4X-267: The function to delete or remove packaging unit entries is not working by @jabahum in #45
  • (feat) U4X-288: Approval for stock operation fails on the UI Operations status are not completed by @jabahum in #50
  • (feat) Updated item-type toggle for add-stock-item: Item Type not populating drugs and none drugs from drugs and concepts respectively by @patryllus in #51
  • (feat) U4X-297: Complete and Submit for review buttons don't work by @jabahum in #53
  • (feat) U4X-269: Request for information on the possibility of printing operation notes such as Goods Received Note by @jabahum in #54
  • (feat) Consolidated palladium fork changes by @donaldkibet in #56
  • (feat) U4X-264: Add bulk items import by @jabahum in #37
  • (feat) Pre-Populate stock issue table based on requisition by @PatrickWaweru in #57
  • (feat) Updated bulk stock item import feature updates to support import of stock items by @patryllus in #60
  • (feat) Updated stock operations expandable to show Date created instead of edit by @patryllus in #64
  • (feat) Added description to every stock function and added "from" and "to" locations in edit feature of stock operations by @meggmumbi in #63
  • (feat) Reroute tabs after addition of stock item to packaging unit after saving by @patryllus in #70
  • (feat) Pulling informative error response when adding duplicate stock item by @njorocs in #72
  • (feat) Formatted stock operations expandable to add space on operation By admin by @patryllus in #71
  • (feat) Handle Vertical stock item tables - add index to toggle between them by @patryllus in #73
  • (feat) Refresh feature with mutate in stock tables by @meggmumbi in #75
  • (feat) Add the Stock Rule menu entry on the stock item page, the stock rule listing and add CRUD by @PatrickWaweru in #78
  • (feat) Add stock management landing page by @meggmumbi in #80
  • (feat) Updated Edit tool and added overflow tab for Complete and Edit for operations by @patryllus in #89
  • (feat) Add ability to show batch quantity while issuing stock items by @makombe in #87
  • (feat) Add stock management menu item by @jabahum in #81
  • (feat) Refactor quantity and batch information details by @makombe in #93
  • (feat) User/Role fields are not selectable by @jabahum in #92
  • (feat) Display operation types by privilege by @jabahum in #96
  • (feat) Add mutate for stock item and operations by @makombe in #98
  • (feat) Allow for distinct selection of packaging unit by @makombe in #100
  • (feat) Show only roles related to stock management by @makombe in #101
  • (feat) U4X-385: Fix the search functionality on adding new stock item by @Daphne210 in #105
  • (feat) U4X-380: Re-organise stock management menus by @jabahum in #104
  • (feat) U4X-384: References in transactions should link to specific stock operation by @jabahum in #106
  • (feat) When assigning user role scope, load only stock related locations by @makombe in #110
  • (feat) U4X-383: Remove the ability of editing a packaging Unit by @jabahum in #107
  • (feat) Multiple operations entries by @patryllus in #112
  • (feat) Allowed UI loading for empty stock sources and user roles initially for stock management by @patryllus in #113
  • (feat) Enable filtering by stock sources by @Daphne210 in #115
  • (feat) Remove table headers from resource to component by @makombe in #114
  • (feat) U4X-392: Create a fully complete stock issue flow from a requisition and show the related requisitions operation by @jabahum in #108
  • (feat) Make concept constants configurable by @makombe in #118
  • (feat) Add filters to stock operations table by @kajambiya in #117
  • (feat) Correctly Set dispensing packaging unit and defaultoperationPackaging unit by @makombe in #122
  • (feat) Realigning the forms headers on stock operations by @Daphne210 in #125
  • (feat) Initial set up of inventory reports by @makombe in #127
  • (feat) Display generated reports list by @makombe in #128
  • (feat) Stock location reviews: Updated BaseUrl prefix and added location placeholder: reviews by @patryllus in #132
  • (feat) Modification of search function to enable filter in search by @gabriel090 in #130
  • (feat) Stock management: user roles aren't showing all users in the event by @gabriel090 in #133
  • (feat) Move report creation functionality from 2x by @makombe in #134
  • (feat) O3-3335: Enable search item with stock item pages by @agesa3 in #143
  • (feat) O3-3291: The units of notification frequency and frequency checks column are missing by @jabahum in #138
  • (feat) O3-3310: Adding a modal for deleting a packaging unit by @Daphne210 in #144
  • (feat) Updated stock requisition completion to be possible within approval page by @patryllus in #145
  • (feat) O3-3376: Added count for stock items expiring in 180 days by @agesa3 in #146
  • (feat) Updated stock issue on dispatch. Fixed bugging out on clicking dispatch within approval page for those who do not require approval by @patryllus in #147
  • (feat) O3-3292: The list of locations should only be limited to the stock management locations, not to the entire location hierarchy by @jabahum in #140
  • (feat) O3-3313: Supports integration of stock operations by referencing stock items to an external source by @jabahum in #137
  • (feat) Add filters to stock item transactions and batch information table by @jabahum in #154
  • (feat) O3-3562: Unable to edit multiple package units, fix the package unit dropdown view by @hadijahkyampeire in #159
  • (feat) O3-3674: Enhancement on responsiveness for stock management left nav by @donaldkibet in #167
  • (feat) O3-3671: Cancel button for Packaging Units by @patryllus in #169
  • (feat) O3-3690: Make logo when printing stock operation configurable by @makombe in #170
  • (feat) O3-3675: Allow user to only perform stock operation in assigned location by @makombe in #172
  • (feat) O3-3688: All tabs are visible without need to scroll by @TrevorAntony in #173
  • (feat) O3-3695: Show received stock items list after a stock issue operations has been dispatched by @TrevorAntony in #179
  • (feat) O3-3732: Assign Responsible Person as Default Person on Stock management operations base on User Login by @its-kios09 in #186
  • (feat) O3-3692: Print Transfer out note, requisition, receipt and stock issue notes by @lucyjemutai in #184
  • (feat) O3-3694: Show link to stock issue, requisition related operation by @jabahum in #178
  • (feat) O3-3667: Adding a new operation and transferring out should show the stock balance by @hadijahkyampeire in #189
  • (feat) Expand the view panel in stock operation by @gabriel090 in #192
  • (feat) O3-4067: Enhance reports UI by @jabahum in #234
  • (feat) O3-4187: Display comma-separated list of stock item common names in stock operations by @Ogollah in #236
  • (feat) O3-3966: At stock requisition, user should be able to see the number of the stock item and its availability by @TrevorAntony in #237
  • (feat) O3-4259: Show time taken to generate a report by @makombe in #243
  • (feat) O3-4283: Print item transactions (Bin Card and Stock Card) - BIN CARD by @PatrickWaweru in #246
  • (feat) O3-4284: Print item transactions (Bin Card and Stock Card) - Stock Card by @PatrickWaweru in #250
  • (feat) Make stock transactions print button configurable by @Bharath-K-Shetty in #253
  • (feat) O3-4548: Show expiry date on stock operation by @Ogollah in #261
  • (feat) O3-4626: Prevent Duplicate Batch Numbers in Opening and Receipt Stock Operations by @Omoshlawi in #262
  • (feat) O3-4276: Add stock operation items display table into expanded rows of stock operations table by @Omoshlawi in #249
  • (feat) O3-4649: Refactor stock operation form to use workspace in place of overlay by @Omoshlawi in #264

Refactors

  • (refactor) Replace usages of /ws/rest/v1 with restBaseUrl by @jwnasambu in #123
  • (refactor) Use rest base url from esm framework by @makombe in #129
  • (refactor) Destructure error and isLoading variables from SWR hooks by @denniskigen in #224
  • (refactor) Register modals using the modal system by @denniskigen in #221
  • (refactor) O3-4505: Refactor stock operations forms for ease of maintenance by @Omoshlawi in #258

Bug fixes

  • (fix) RadioButtonGroup not automatically selected by @wizlif in #12
  • (fix) Restore inline loading & number input to defaults by @wizlif in #14
  • (fix) Zod schema should allow null & undefined by @wizlif in #15
  • (fix) Resource lookups by @wizlif in #17
  • (fix) Various fixes to the stock management dashboard by @denniskigen in #19
  • (fix) Various fixes to the stock management dashboard by @denniskigen in #25
  • (fix) Fix stock sources cancel button not working by @makombe in #32
  • (fix) Avoid pre-selected source type value when the form is first rendered by @makombe in #35
  • (fix) Remove specific implementer/static backend url by @makombe in #36
  • (fix) Fix undefined errors thrown when clearing/deselecting values from form by @makombe in #40
  • (fix) Fix selection of user role bugs out by @makombe in #46
  • (fix) Fix adding new stock operation bug by @jabahum in #52
  • (fix) Fix edit stock operation loading indefinitely by @makombe in #55
  • (fix) Fixed pagination for stock management modules by @cbrianbet in #59
  • (fix) Fix item quantity being flaky by @makombe in #61
  • (fix) Fixed flaky batch information by @cbrianbet in #62
  • (fix) Fixed missing batchNo in batch information stock items by @cbrianbet in #65
  • (fix) Fix vertical tabs height to be uniform for stock items irrespective of content by @makombe in #66
  • (fix) Fix ci pre-release version plugin missing by @donaldkibet in #68
  • (fix) Fix radio button bug by @jabahum in #58
  • (fix) Revert "fix radio button bug" by @makombe in #76
  • (fix) Update requisition combobox to display correct text and clean up base operation by @donaldkibet in #77
  • (fix) Add default empty array for landing page to show by @donaldkibet in #82
  • (fix) Undefined find in stock management landing page by @meggmumbi in #83
  • (fix) Fix edit stock operation not updating by @makombe in #84
  • (fix) Revert "Fix edit stock operation not updating" by @makombe in #88
  • (fix) Remove debounce from batch no selector. Already set by item selector by @makombe in #86
  • (fix) Fix/radio-button by @jabahum in #85
  • (fix) Fix QtyUom default value not getting detected by @makombe in #90
  • (fix) Align quantity header and content by @makombe in #91
  • (fix) Clean up - remove unused imports by @makombe in #95
  • (fix) Fix build error by @jabahum in #97
  • (fix) Resolve packaging unit broken styles by @makombe in #94
  • (fix) Fix packaging unit display by @jabahum in #102
  • (fix) Add an empty row at the bottom of packaging units by @jabahum in #103
  • (fix) Fix return process buttons workflow by @kajambiya in #111
  • (fix) Align packaging unit delete button by @makombe in #116
  • (fix) Add expiration notice label by @makombe in #120
  • (fix) Fix undefined on role scope, issuing & receiving stock cards by @makombe in #124
  • (fix) Remove global styles by @denniskigen in #126
  • (fix) O3-3227: Fix error when issuing stock by @makombe in #135
  • (fix) O3-3334: Mutate stock operations and minor fixes by @makombe in #141
  • (fix) Fix/remove-repeating-stock-label by @charity553 in #148
  • (fix) O3-3446: Resolve pagination issue by @kajambiya in #151
  • (fix) Made UI issues on stock module by @FelixKiprotich350 in #150
  • (fix) O3-3399: Packaging Units Quantity field shouldn't allow user to input negative number of stock items by @kajambiya in #153
  • (fix) Fix report validation for required fields by @makombe in #152
  • (fix) O3-3554: Fix refreshing issue on packaging units and saving error on stock rules by @hadijahkyampeire in #155
  • (fix) O3-3450: Delete modal not closing and package units not refreshing after deleting by @hadijahkyampeire in #157
  • (fix) O3-3306 and O3-3307: When searching through the drug list, the list doesn't offer all drugs available (could be limited to the initial loaded drug when the drug endpoint is called) by @hadijahkyampeire in #160
  • (fix) O3-3591: New report does not display on the reports display list after generation and refreshing by @hadijahkyampeire in #161
  • (fix) Append pack size to Qty UoM for receipt & requisition operation by @makombe in #162
  • (fix) O3-366: Disable action buttons for a logged in user in user role by @makombe in #164
  • (fix) O3-3662: Prefill the user scope roles when editing by @makombe in #163
  • (fix) O3-3666: The stock item dropdown should display depending on what was checked above i.e drugs or non drug by @hadijahkyampeire in #165
  • (fix) O3-3670: Refresh/mutate the stock item after creating/editing a packaging unit by @hadijahkyampeire in #166
  • (fix) O3-3718: Modify the flow for choosing and displaying stock item type by @hadijahkyampeire in #177
  • (fix) O3-3696: Submission Approval should have an option selected if provided by @jabahum in #175
  • (fix) Fix number inputs (Re Order Level and Purchase Price) by @hadijahkyampeire in #176
  • (fix) Show Error when batch number doesn't exist for an item by @ODORA0 in #180
  • (fix) Ensured the default Packaging Unit is selected by @FelixKiprotich350 in #181
  • (fix) Follow up on fixing CI by @donaldkibet in #183
  • (fix) O3-3719: Stock-Item Details Fields Disabled in New Stock Issue by @TrevorAntony in #185
  • (fix) Remove UserScope which is causing the page to load endlessly by @hadijahkyampeire in #191
  • (fix) Fix undefined thrown when selecting an operation by @makombe in #193
  • (fix) O3-3796: When performing an operation location(s) not displayed by @makombe in #194
  • (fix) Revert "(bug) O3-3696: Submission Approval should have a option selected if provided" by @makombe in #195
  • (fix) O3-3819: Set logged-in user as default responsible person in stock management forms by @DavidSaruni in #200
  • (fix) O3-3767: Fix the stock operations table filtering (sources, type and status) by @hadijahkyampeire in #203
  • (fix) O3-3800: Error occurs while save or completing an operation by @jabahum in #197
  • (fix) O3-3780: Error displaying To and From location fields while editing by @TrevorAntony in #204
  • (fix) O3-3900: Stock Operation Name is not maintained when editing by @TrevorAntony in #208
  • (fix) O3-3962: On stock issue, the complete dispatch does not work unless you save first by @jabahum in #209
  • (fix) O3-3963: On Receipt, when submitted for approval, button should be approve and not dispatch by @jabahum in #210
  • (fix) O3-3964: When ordering, Stock balance doesn't display on UI (this feature was working before) by @hadijahkyampeire in #213
  • (fix) Disable number input scroll wheel functionality by @denniskigen in #226
  • (fix) O3-4055: Add link to related issue by @jabahum in #229
  • (fix) Correctly mutate generation of reports by @makombe in #235
  • (fix) O3-4209: Enhance stock operation validations to support negative stock adjustments by @makombe in #240
  • (fix) O3-4252: Stock issue operation bugs out while saving/completing by @makombe in #242
  • (fix) Autopopulate responsible person in stocks operation by @FelixKiprotich350 in #244
  • (fix) Add batch no and quantity to inventory alerts by @samsonmwanzia in #247
  • (fix) O3-4273: Fix Stock reports params to show location name and not the UUID by @makombe in #245
  • (fix) Show location name on the filter by @makombe in #251
  • (fix) Fixed the view all tabs on stock management dashboard, under inventory alerts, issuing and receiving by @samsonmwanzia in #248
  • (fix) O3-4446: Removing Misplaced '0' in Stock Operations Table by @Samstar10 in #257
  • (fix) O3-4423: Remove the duplicate Expiration Notice (days) from the admin page by @Munyua123 in #256
  • (fix) O3-4475: Rename the Operations empty state by @Samstar10 in #259
  • (fix) O3-4503: One items below min and above max on initial install by @Samstar10 in #260

Housekeeping

Testing

  • (test) O3-3765: Add Tests for stock source delete by @ODORA0 in #199
  • (test) O3-3764: Write unit tests to Add New Source on the Stock Source table by @TrevorAntony in #212
  • (test) O3-3754: Add unit tests for the Items table by @TrevorAntony in #225
  • (test) O3-3758: Stock operation tabs StockOperationSubmission test by @lucyjemutai in #214
  • (test) O3-3756: Add unit tests for the add a new Stock item by @TrevorAntony in #217
  • (test) Write tests for the stock sources table by @lucyjemutai in #227
  • (test) Add Tests for the Batch Number Selector by @ODORA0 in #232
  • (test) O3-3757: Add tests for the Stock Operation Table by @TrevorAntony in #230
  • (test) O3-3755: Add Tests for stock item bulk import by @TrevorAntony in #215
  • (test) O3-2902: Setup playwright for automated tests in Stock Management by @lucyjemutai in #231

New Contributors

Full Changelog: https://github.com/openmrs/openmrs-esm-stock-management/commits/v3.0.0