4 * Billing process Program
6 * This program processes data for claims generation
9 * @link http://www.open-emr.org
10 * @author Brady Miller <brady.g.miller@gmail.com>
11 * @author Terry Hill <terry@lilysystems.com>
12 * @author Jerry Padgett <sjpadgett@gmail.com>
13 * @author Stephen Waite <stephen.waite@cmsvt.com>
14 * @copyright Copyright (c) 2014-2020 Brady Miller <brady.g.miller@gmail.com>
15 * @copyright Copyright (c) 2016 Terry Hill <terry@lillysystems.com>
16 * @copyright Copyright (c) 2017-2020 Jerry Padgett <sjpadgett@gmail.com>
17 * @copyright Copyright (c) 2018-2021 Stephen Waite <stephen.waite@cmsvt.com>
18 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
21 require_once("../globals.php");
23 use OpenEMR\Billing\BillingProcessor\BillingProcessor
;
24 use OpenEMR\Common\Csrf\CsrfUtils
;
25 use OpenEMR\Core\Header
;
27 if (!CsrfUtils
::verifyCsrfToken($_POST["csrf_token_form"])) {
28 CsrfUtils
::csrfNotVerified();
31 // Initialize billing processor with the post variables from the billing manager form
32 $billingProcessor = new BillingProcessor($_POST);
33 $logger = $billingProcessor->execute();
37 <?php Header
::setupHeader(); ?
>
40 $
("#close-link").click(function () {
47 <div
class="container mt-3">
50 <h3
><?php
echo xlt('Billing queue results'); ?
>:</h3
>
52 <?php
foreach ($logger->bill_info() as $infoline) { ?
>
54 <?php
echo nl2br(text($infoline)); ?
>
63 $logger->onLogComplete();