Improvements mostly concerning inventory.
commit0335b8780e276811177a532629e0dfff06996a40
authorRod Roark <rod@sunsetsystems.com>
Sun, 28 Feb 2021 06:19:30 +0000 (28 17:19 +1100)
committerRod Roark <rod@sunsetsystems.com>
Thu, 1 Apr 2021 09:04:22 +0000 (1 20:04 +1100)
treefdab2d5775744513b8d27f9a8558c3ae6ab52b5f
parentbae45d1cee1b9c83c0e3ccc7546b9ff1d1009d01
Improvements mostly concerning inventory.

o Added a collection of permissions for different actions related to inventory.
o Added ability to restrict inventory access to specified facilities and warehouses.
o Added the concept of "basic units" for a product template which is the number of inventory
  items in the ordered package. For example the facility might stock individual pills
  but sell them in bottles of 20, 50 or 100 with a separate template for each.
o Implemented "transaction types" for different kinds of actions taken on inventory.
  Improved related validation checks.
o Added validation and prompting for reason and notes when destroying lots.
o Added warehouse attribute to user facilities.
o Added patient ID as an index to the log table.
o Added check for missing encounter when dispensing inventory.
o Added some IPPF-specific logic related to contraception.
o Added ability to hide prices in the Fee Sheet.
o Support for negative units in the Fee Sheet, as when returning a previously sold item.
o Added an option for the default rendering provider.
o Added global settings specific to IPPF (will not appear for others).
o Assorted cleanup and bug fixes.
39 files changed:
acl_upgrade.php
interface/drugs/add_edit_drug.php
interface/drugs/add_edit_lot.php
interface/drugs/destroy_lot.php
interface/drugs/drug_inventory.php
interface/drugs/drugs.inc.php
interface/forms/LBF/new.php
interface/forms/fee_sheet/contraception_products/ajax/find_contraception_products.php [new file with mode: 0644]
interface/forms/fee_sheet/contraception_products/css/contraception_products.css [new file with mode: 0644]
interface/forms/fee_sheet/contraception_products/initialize_contraception_products.php [new file with mode: 0644]
interface/forms/fee_sheet/contraception_products/js/view_model.js [new file with mode: 0644]
interface/forms/fee_sheet/contraception_products/templates/contraception_products.php [new file with mode: 0644]
interface/forms/fee_sheet/new.php
interface/main/tabs/menu/menus/standard.json
interface/patient_file/encounter/find_code_popup.php
interface/patient_file/pos_checkout_ippf.php
interface/reports/appointments_report.php
interface/reports/appt_encounter_report.php
interface/reports/collections_report.php
interface/reports/inventory_activity.php
interface/reports/inventory_list.php
interface/super/edit_list.php
interface/usergroup/adminacl.php
interface/usergroup/user_admin.php
interface/usergroup/usergroup_admin.php
interface/usergroup/usergroup_admin_add.php
library/FeeSheet.class.php
library/FeeSheetHtml.class.php
library/calendar.inc
library/classes/Installer.class.php
library/globals.inc.php
library/patient.inc
sites/default/documents/custom_menus/Custom.json
sql/6_0_0-to-6_1_0_upgrade.sql
sql/database.sql
src/Billing/BillingUtilities.php
src/Billing/SLEOB.php
src/Common/Acl/AclMain.php
version.php