From 68925f8db62f0380b8d2dafc884301d144921a1e Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sat, 18 Dec 2010 00:23:10 -0800 Subject: [PATCH] Clarify Address Book gui for laboratories: Turns out the Address Book contains lots of administrative information in it, so I think it's time it gets promoted to the Administration menu along with the following changes: 1) Moved the 'Address Book' to the Administration menu in left tree menu 2) In the Address Book listing, it will show the Organization if no name exist 3) The Address Book data entry form will not show the Name fields for company centric fields; so main name can only go in the Organization field, and no redundant entries using the now non-existant name fields can be entered. 4) The categories can now be set as company/person centric in the Administration->Lists gui. 5) To further avoid confusion, in the address list, when you select to create a new entry it will use the type from the selector with it as default. 6) Made order facilities, vendors, and distributors all company centric (again this can be changed in Administration->Lists gui). 7) Modified options.inc.php internals to play nicely with ord_lab type. --- interface/main/left_nav.php | 2 +- interface/super/edit_list.php | 21 ++++++++++++++- interface/usergroup/addrbook_edit.php | 48 +++++++++++++++++++++++++++++++++-- interface/usergroup/addrbook_list.php | 29 ++++++++++++++------- library/options.inc.php | 10 ++++++-- sql/3_2_0-to-4_0_0_upgrade.sql | 9 +++++++ sql/database.sql | 14 +++++----- version.php | 2 +- 8 files changed, 112 insertions(+), 23 deletions(-) diff --git a/interface/main/left_nav.php b/interface/main/left_nav.php index 28d1ee654..2559e1185 100644 --- a/interface/main/left_nav.php +++ b/interface/main/left_nav.php @@ -984,6 +984,7 @@ if (!empty($reg)) { + Practice Settings - Pharmacy... Dec 09,09 .. Visolve ... This replaces empty frame with Pharmacy window if (acl_check('admin', 'practice' )) genMiscLink('RTop','adm','0',xl('Practice'),'../controller.php?practice_settings&pharmacy&action=list'); ?> @@ -1106,7 +1107,6 @@ if (!empty($reg)) {