<?php /* Smarty version Smarty-3.1.11, created on 2024-05-22 00:30:02
         compiled from "..\views\obgy\receipt\show.html" */ ?>
<?php /*%%SmartyHeaderCode:4777664d9efac1f019-21738832%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e1bf53e5274f9023aa87a828578db5ef2954b729' => 
    array (
      0 => '..\\views\\obgy\\receipt\\show.html',
      1 => 1542464240,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4777664d9efac1f019-21738832',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allreceipt' => 0,
    'datarow' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_664d9efad58717_89602653',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_664d9efad58717_89602653')) {function content_664d9efad58717_89602653($_smarty_tpl) {?><!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">


        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->


        <div class="portlet box green tabbable">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-gift"></i>All Prescriptions
                </div>
            </div>
            <div class="portlet-body">
                <div class=" portlet-tabs">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a href="#portlet_tab2_3" data-toggle="tab" aria-expanded="true">
                                New Prescriptions</a>
                        </li>
                        <li class="">
                            <a href="#portlet_tab2_2" data-toggle="tab" aria-expanded="false">
                                Cashed Prescriptions </a>
                        </li>

                    </ul>
                    <div class="tab-content">

                        <div class="tab-pane" id="portlet_tab2_2">

                            <div class="portlet light bg-inverse">

                                <table class="table" >
                                    <thead>
                                        <tr>
                                            <th>Doctor Name</th>
                                            <th>Patient Name</th>

                                            <th>Receipt Date</th>

                                        </tr>
                                    </thead>
                                    <tbody>

                                        <?php  $_smarty_tpl->tpl_vars['datarow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['datarow']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allreceipt']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['datarow']->key => $_smarty_tpl->tpl_vars['datarow']->value){
$_smarty_tpl->tpl_vars['datarow']->_loop = true;
?>

                                        <?php if ($_smarty_tpl->tpl_vars['datarow']->value->status==1){?>
                                        <tr>
                                            <td><?php echo $_smarty_tpl->tpl_vars['datarow']->value->namedoc;?>
</td>
                                            <td><?php echo $_smarty_tpl->tpl_vars['datarow']->value->patientname;?>
</td>

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

                                            </td>
                                        </tr>
                                        <?php }?>

                                        <?php } ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="tab-pane active" id="portlet_tab2_3">
                            <div class="portlet light bg-inverse">

                                <table class="table" >
                                    <thead>
                                        <tr>
                                            <th>Doctor Name</th>
                                            <th>Patient Name</th>
                                            <th>Receipt Date</th>
                                            <th class="wds1">Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>

                                        <?php  $_smarty_tpl->tpl_vars['datarow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['datarow']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allreceipt']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['datarow']->key => $_smarty_tpl->tpl_vars['datarow']->value){
$_smarty_tpl->tpl_vars['datarow']->_loop = true;
?>
                                        <?php if ($_smarty_tpl->tpl_vars['datarow']->value->status==0){?>
                                        <tr>
                                            <td><?php echo $_smarty_tpl->tpl_vars['datarow']->value->namedoc;?>
</td>
                                            <td><?php echo $_smarty_tpl->tpl_vars['datarow']->value->patientname;?>
</td>

                                            <td><?php echo $_smarty_tpl->tpl_vars['datarow']->value->rect_date;?>
</td>
                                            <td>
                                                <a class="btn blue btn-xs" style=" float: left;" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/receipt.php?ac=showdetails&id=<?php echo $_smarty_tpl->tpl_vars['datarow']->value->id;?>
" >
                                                    <i class="fa fa-eye"></i> Cashing

                                                </a>
                                            </td>
                                        </tr>
                                        <?php }?>

                                        <?php } ?>
                                    </tbody>
                                </table>
                            </div>

                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>












    <!-- END PAGE CONTENT-->
</div>

<!-- END CONTENT -->



<?php }} ?>