Bring in Fee Sheet improvements from recent IPPF work.
commit7317996c3449bb71bc3c9dc77e365d02d9eae9eb
authorRod Roark <rod@sunsetsystems.com>
Thu, 4 Aug 2016 17:40:06 +0000 (4 10:40 -0700)
committerRod Roark <rod@sunsetsystems.com>
Mon, 8 Aug 2016 14:15:24 +0000 (8 07:15 -0700)
treeb1a5a4b8e53110f3ba0f42eed356e3de2e56bd95
parent30b3d850d3ae17fa2581a9c3281889b52236ec08
Bring in Fee Sheet improvements from recent IPPF work.

This refactors much of the Fee Sheet into a new pair of classes: FeeSheet to contain
the "business logic" and FeeSheetHtml which extends it and adds functions to facilitate
generation of HTML.  Other improvements include:

o Line item price levels. A new column at the line item level that appears if you
  have more than one price level to choose from.
o Button to Add More Items, which is a step towards supporting multiple checkouts
  which will be in a following commit.
o Button to re-open the encounter.
o Improved logging.
o Some fixes related to translation.
o New feature with checkboxes instead of drop-lists for adding new items.
o Corresponding updates to drugs.inc.php and billing.inc that will be used later.
o Fixed failure of the review feature due to knockout library being moved.
16 files changed:
interface/drugs/drugs.inc.php
interface/forms/fee_sheet/code_choice/css/code_choices.css [new file with mode: 0644]
interface/forms/fee_sheet/code_choice/initialize_code_choice.php [new file with mode: 0644]
interface/forms/fee_sheet/code_choice/js/view_model.js [new file with mode: 0644]
interface/forms/fee_sheet/code_choice/templates/code_choices.php [new file with mode: 0644]
interface/forms/fee_sheet/new.php
interface/forms/fee_sheet/review/initialize_review.js
interface/forms/fee_sheet/review/initialize_review.php
interface/forms/fee_sheet/review/js/fee_sheet_core.js
library/FeeSheet.class.php [new file with mode: 0644]
library/FeeSheetHtml.class.php [new file with mode: 0644]
library/appointment_status.inc.php [new file with mode: 0644]
library/billing.inc
sql/4_2_2-to-4_3_1_upgrade.sql
sql/database.sql
version.php