Skip to content

Commit

Permalink
add globals to control menu links for Posting and Batch Payments (ope…
Browse files Browse the repository at this point in the history
  • Loading branch information
shachar058 authored and bradymiller committed Jan 25, 2017
1 parent cb4aa6e commit 3dd6a6c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions interface/main/left_nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,8 @@ function selpopup(selobj) {
<?php genMiscLink('RBot','pay','1',xl('Payment'),'patient_file/front_payment.php'); ?>
<?php genMiscLink('RBot','bil','1',xl('Checkout'),'patient_file/pos_checkout.php?framed=1'); ?>
<?php if (! $GLOBALS['simplified_demographics']) genTreeLink('RTop','bil',xl('Billing')); ?>
<?php genTreeLink('RTop','npa',xl('Batch Payments'),false,2);?>
<?php genMiscLink('RTop','eob','0',xl('Posting'), 'billing/sl_eob_search.php'); ?>
<?php if ($GLOBALS['enable_batch_payment']) genTreeLink('RTop','npa',xl('Batch Payments'),false,2);?>
<?php if ($GLOBALS['enable_posting']) genMiscLink('RTop','eob','0',xl('Posting'), 'billing/sl_eob_search.php'); ?>
<?php if ($GLOBALS['enable_edihistory_in_left_menu'] && acl_check('acct', 'eob')) genTreeLink('RTop','edi',xl('EDI History'),false,2);?>
</ul>
</li>
Expand Down
18 changes: 15 additions & 3 deletions library/globals.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,26 @@

// TajEmo Work BY CB 2012/06/21 10:42:31 AM added option to Hide Fees
'enable_fees_in_left_menu' => array(
xl('Enable Fees In Left Menu'),
xl('Enable Fees'),
'bool', // data type
'1', // default = true
xl('Enable Fees In Left Menu')
xl('Enable Fees')
),
'enable_batch_payment' => array(
xl('Enable Batch Payment'),
'bool', // data type
'1', // default = true
xl('Batch Payment')
),
'enable_posting' => array(
xl('Enable Posting'),
'bool', // data type
'1', // default = true
xl('Posting')
),
// EDI history 2012-09-13
'enable_edihistory_in_left_menu' => array(
xl('Enable EDI History In Left Menu'),
xl('Enable EDI History'),
'bool', // data type
'1', // default = true
xl('EDI History (under Fees) for storing and interpreting EDI claim response files')
Expand Down

0 comments on commit 3dd6a6c

Please sign in to comment.