<?php /* Smarty version Smarty-3.1.11, created on 2024-08-15 14:48:57
         compiled from "../views/obgy/reports/cashtransferdoctor.html" */ ?>
<?php /*%%SmartyHeaderCode:82494690966bdeb29e56283-86135702%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd98eb2afbbb878e4c203988f305c0496daa4c652' => 
    array (
      0 => '../views/obgy/reports/cashtransferdoctor.html',
      1 => 1709037250,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '82494690966bdeb29e56283-86135702',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'today' => 0,
    'refer' => 0,
    'data' => 0,
    'py_all_doc' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bdeb29ef0869_12255604',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bdeb29ef0869_12255604')) {function content_66bdeb29ef0869_12255604($_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>Doctor Cash Transfer Report
                        </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="cashtransferdectorreport" />
                        <!--Begin Semen-->

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

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

                                <input type="hidden" id="branch_id" value="1">


                                <div class="col-md-2">
                                    <div class="form-group">
                                        <label class="control-label ls2">Refer Dr.</label>

                                        <select class="form-control select2h" id="referDrId">
                                            <option value="">choose</option>
                                            <option value="-1">لا يوجد</option>
                                            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['refer']->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;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</option>
                                            <?php } ?>

                                            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['py_all_doc']->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;
?>
                                            <option value="*<?php echo $_smarty_tpl->tpl_vars['data']->value['user_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
</option>
                                            <?php } ?>
                                        </select>
                                    </div>
                                </div>
                            </div>

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

                            <div class="portlet box white">
                                <div class="portlet-title">
                                    <div class="actions">

                                        <!-- 
                                            <label style="color: black;font-weight:bold; " for="form_control_1"> Net
                                            <span>
                                                <input type="checkbox" id="netRes" class="checkGroup" value="1">
                                            </span>
                                        </label>
                                    -->
                                        <a class="btn btn-primary btn-sm" id="finSearchBtn">
                                            <i class="fa fa-search"></i> Search </a>

                                        <a class="btn btn-default btn-sm" id="printfi">
                                            <i class="fa fa-print"></i> Print </a>

                                    </div>
                                </div>

                                <div class="portlet-body form" id="financialDiv">
                                </div>
                            </div>
                        </div>

                    </div>

                    <!--End Semen-->


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

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

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


<div id="talks-loading"
    style="z-index: 3000;position: absolute;top: 7%;right: 2%;left: 6%;display:none; height: 65%; background-color: rgba(0, 0, 0,0.27); padding-top: 10%;"
    align="center">
    <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/loading.gif">
</div>



<script type="text/javascript">
    $(document).ready(function (e) {
        //    $('#finSearchBtn').trigger('click');
    });
</script>
<?php }} ?>