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