Fully responsive globals.php with vertical menu (#2460)
[openemr.git] / interface / billing / customize_log.php
blob00a0d1d395d1c31b7c3e5bdb0612a105e2591cfc
1 <?php
2 /**
3 * interface/billing/customize_log.php - starting point for customization of billing log
5 * @package OpenEMR
6 * @link http://www.open-emr.org
7 * @author Stephen Waite <stephen.waite@cmsvt.com>
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2014 Stephen Waite <stephen.waite@cmsvt.com>
10 * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
15 require_once("../globals.php");
17 use OpenEMR\Common\Crypto\CryptoGen;
19 $filename = $GLOBALS['OE_SITE_DIR'] . '/documents/edi/process_bills.log';
21 $fh = file_get_contents($filename);
23 $cryptoGen = new CryptoGen();
24 if ($cryptoGen->cryptCheckStandard($fh)) {
25 $fh = $cryptoGen->decryptStandard($fh, null, 'database');
28 if (!empty($fh)) {
29 echo nl2br(text($fh));
30 } else {
31 echo xlt("Billing log is empty");