<?php /* Smarty version Smarty-3.1.11, created on 2024-11-18 04:14:21
         compiled from "../views/obgy/reports/expected.html" */ ?>
<?php /*%%SmartyHeaderCode:1806059485673b2f9d46e4c7-29718569%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd0a7038e3a50500294a5dc2617ae1ea14c9f848b' => 
    array (
      0 => '../views/obgy/reports/expected.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1806059485673b2f9d46e4c7-29718569',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'today' => 0,
    'allData' => 0,
    'i' => 0,
    'hosturl' => 0,
    'data' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_673b2f9d54e439_18294743',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_673b2f9d54e439_18294743')) {function content_673b2f9d54e439_18294743($_smarty_tpl) {?><div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-users"></i>Expected Delivery
                        </div>
                    </div>
                    <div class="portlet-body all">
                        <input type="hidden" id="reportPage" value="1"/>
                        <input type="hidden" id="tdate" value="<?php echo $_smarty_tpl->tpl_vars['today']->value;?>
">
                        <input type="hidden" id="controllName" value="expected"/>
                        <!--Begin Semen-->

                        <div class="row">
                            <div class="row clinick posre">
                                <div class="col-md-2">

                                </div>
                                <div class="col-md-3">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control datepicker today txtc" id="fromdate" value="<?php echo $_smarty_tpl->tpl_vars['today']->value;?>
"/>
                                        <label for="form_control_1">Date from: </label>
                                    </div>
                                </div>
                                <div class="col-md-2">

                                </div>
                                <div class="col-md-3">
                                    <div class="form-group form-md-line-input form-md-floating-label has-info">
                                        <input type="text" class="form-control datepicker tomoro txtc" id="todate" value="<?php echo $_smarty_tpl->tpl_vars['today']->value;?>
"/>
                                        <label for="form_control_1">Date to: </label>
                                    </div>
                                </div>

                            </div>
                        </div>

                        <div class="clearfix"></div>

                        <div class="portlet box white">
                            <div class="portlet-title">
                                <div class="actions">
                                    <a class="btn btn-default btn-sm" id="printe">
                                        <i class="fa fa-print"></i> Print </a>

                                </div>
                            </div>

                            <div class="portlet-body form" id="expectedDiv" style="margin: 0px 8px;">
                                <table class="table table-hover portlet light bg-inverse" id="controllpropr">
                                    <thead>
                                        <tr>
                                            <th>No.</th>
                                            <th>
                                                Patient Name
                                            </th>
                                            <th>
                                                Patient Number
                                            </th>
                                            <th>
                                                Husband Name
                                            </th>
                                            <th>Expected delivery date</th>
                                            <th>Contact</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                        <tr class="odd gradeX">
                                            <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                                            <td>
                                                <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/patienthistory.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['data']->value->patientid;?>
" target="_new"><?php echo $_smarty_tpl->tpl_vars['data']->value->info->wifename;?>
</a>
                                            </td>
                                            <td>
                                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->statusno;?>

                                            </td>
                                            <td>
                                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->husdandname;?>

                                            </td>
                                            <td>
                                                <?php echo $_smarty_tpl->tpl_vars['data']->value->eed;?>

                                            </td>
                                            <td>
                                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->mobile;?>
 - <?php echo $_smarty_tpl->tpl_vars['data']->value->info->phone;?>

                                            </td>
                                        </tr>
                                        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp1, null, 0);?>
                                        <?php } ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>

                    </div>

                </div>

                <div class="clearfix"></div>

            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
<div id="expectedPrint"></div>

<div id="long" class="modal fade modal-scroll" tabindex="-1" data-replace="true">
    <div class="modal-dialog wds75">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close hidden-print" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body printtable" id="printd">
                <center><h4 class="modal-title">Expected Delivery Date</h4></center>
                <table class="table table-hover portlet light bg-inverse tbl2prnt">
                    <thead>
                        <tr>
                            <th width="1%">No.</th>
                            <th width="30%">
                                Patient Name
                            </th>
                            <th width="30%">
                                Husband Name
                            </th>
                            <th>Expected date</th>
                            <th>Conatact</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                        <tr class="odd gradeX">
                            <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                            <td>
                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->wifename;?>

                            </td>
                            <td>
                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->husdandname;?>

                            </td>
                            <td>
                                <?php echo $_smarty_tpl->tpl_vars['data']->value->eed;?>

                            </td>
                            <td>
                                <?php echo $_smarty_tpl->tpl_vars['data']->value->info->mobile;?>
 <br> <?php echo $_smarty_tpl->tpl_vars['data']->value->info->phone;?>

                            </td>
                        </tr>
                        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp2, null, 0);?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn hidden-print">Close</button>
                <button type="button" id="print1" class="btn red hidden-print">print</button>
            </div>
        </div>
    </div>
</div>
<?php }} ?>