* @copyright Copyright (c) 2022 Ken Schaefer * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ require_once("../../globals.php"); require_once("$srcdir/forms.inc"); require_once("$srcdir/options.inc.php"); require_once("billing.class.php"); use OpenEMR\Common\Csrf\CsrfUtils; use OpenEMR\Core\Header; if (!empty($_POST)) { if (!CsrfUtils::verifyCsrfToken($_POST["csrf_token_form"])) { CsrfUtils::csrfNotVerified(); } } // Store form variables if (isset($_POST['form_from_date'])) { $form_from_date = date("Y-m-d", strtotime($_POST['form_from_date'])); } else { $form_from_date = date('Y-m-d'); } if (isset($_POST['form_to_date'])) { $form_to_date = date("Y-m-d", strtotime($_POST['form_to_date'])); } else { $form_to_date = date('Y-m-d'); } if (isset($_POST['form_biller'])) { $form_biller = $_POST['form_biller']; } else { $form_biller = 0; } $billing = new Billing(); if (!empty($_POST)) { // Process form data $main_query = $billing->getARActivity($form_biller, $form_from_date, $form_to_date); $main_results = sqlStatement($main_query); } ?>
Encounter | Date of Service | Patient | Code | Modifier | Bill Date | Post Date | User | Payment | Adjustment |
---|---|---|---|---|---|---|---|---|---|