4 * Batch list processor, included from batchcom
7 * @link http://www.open-emr.org
9 * @author Jason 'Toolbox' Oettinger <jason@oettinger.email>
10 * @copyright Copyright (c) 2008 cfapress
11 * @copyright Copyright (c) 2017 Jason 'Toolbox' Oettinger <jason@oettinger.email>
12 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 * @todo menu for fields could be added in the future
16 require_once("../globals.php");
18 use OpenEMR\Common\Csrf\CsrfUtils
;
19 use OpenEMR\Core\Header
;
21 if (!CsrfUtils
::verifyCsrfToken($_POST["csrf_token_form"])) {
22 CsrfUtils
::csrfNotVerified();
28 <?php Header
::setupHeader(); ?
>
29 <title
><?php
echo xlt("Phone Call List"); ?
></title
>
31 <body
class="body_top container">
33 <?php
require_once("batch_navigation.php");?
>
34 <h1
class="col-md-12">
35 <a href
="batchcom.php"><?php
echo xlt('Batch Communication Tool'); ?
></a
>
36 <small
><?php
echo xlt('Phone Call List report'); ?
></small
>
39 <main
class="row mx-4">
40 <div
class="col-md-12">
41 <table
class="table table-striped table-bordered">
44 foreach ([xlt('Name'),xlt('DOB'),xlt('Home'),xlt('Work'),xlt('Contact'),xlt('Cell')] as $header) {
45 echo "<th>$header</th>";
51 while ($row = sqlFetchArray($res)) {
53 echo text($row['title']) . ' ' . text($row['fname']) . ' ' . text($row['lname']);
55 echo text($row['DOB']);
57 echo text($row['phone_home']);
59 echo text($row['phone_biz']);
61 echo text($row['phone_contact']);
63 echo text($row['phone_cell']);