<?php /* Smarty version Smarty-3.1.11, created on 2024-09-04 10:13:35
         compiled from "../views/obgy/organizations/org_report.html" */ ?>
<?php /*%%SmartyHeaderCode:20151290966bc96fe3301f5-11510800%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd30e63a9a1e5f693543ecf0a7bd4179cf6047e38' => 
    array (
      0 => '../views/obgy/organizations/org_report.html',
      1 => 1725254795,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '20151290966bc96fe3301f5-11510800',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bc96fe3fe8e8_76608020',
  'variables' => 
  array (
    'controllname' => 0,
    'today' => 0,
    'organizations' => 0,
    'data' => 0,
    'searchType' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bc96fe3fe8e8_76608020')) {function content_66bc96fe3fe8e8_76608020($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12 clinick invz" id="gprinModel">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Organizations
                        </div>
                        <div class="actions"> </div>
                    </div>
                    <div class="portlet-body all">
                        <input type="hidden" id="controllName" value="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"/>
                        <div class="row">
                            <div id="ultrasoundgynaDiv">
                                <div class="row">
                                    <div class="portlet-body form">
                                        <div class="form-body">

                                            <div class="row">

                                                <div class="col-md-2">
                                                    <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;?>
" readonly/>
                                                        <label for="form_control_1">Date From </label>
                                                    </div>
                                                </div>

                                                <div class="col-md-2">
                                                    <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;?>
" readonly/>
                                                        <label for="form_control_1">Date To </label>
                                                    </div>
                                                </div>

                                                <div class="col-md-6">
                                                    <div class="form-group">
                                                        <label class="control-label ls2">Organization </label>
                                                        <select class="form-control organization" id="orgRep">
                                                            <option value="">choose</option>
                                                            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['organizations']->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['organization_name'];?>
</option>
                                                            <?php } ?>
                                                        </select>

                                                    </div>
                                                </div>

                                                <div class="col-md-2" style="    margin-top: 22px;" >
                                                    <?php if ($_smarty_tpl->tpl_vars['searchType']->value=='complete'){?>
                                                    <a class="btn btn-primary btn-sm orgFinSearchBtn" data-print="0" >
                                                        <i class="fa fa-search"></i> Search </a>

                                                    <a class="btn btn-default btn-sm orgFinSearchBtn" data-print="1" >
                                                        <i class="fa fa-print"></i> Print </a>
                                                    <?php }else{ ?>
                                                    <a class="btn btn-primary btn-sm orgSearchBtn" data-print="0" >
                                                        <i class="fa fa-search"></i> Search </a>
                                                    <?php }?>
                                                </div>
                                            </div>

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

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


<div id="detailsContainer"></div>
<div id="printItDiv"></div>


<div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_detectionforview">
    <div class="modal-dialog   <?php if ($_smarty_tpl->tpl_vars['programesetting']->value->system_type==3){?>wds70 <?php }else{ ?> wds50<?php }?>">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> Edit </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form action="" id="" method="post" class="form-horizontal  emptyform" >
                        <div class="form-body">
                            <!------===========================================------->
                            <div>
                                <div id="detectionforview" class=""> </div>
                            </div>


                            <!------===========================================------->
                            <div class="modal-footer">
                                <!--                                <button type="button" class="btn green" id="editmodel_submit"> Update </button>-->
                                <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </div>
</div>

<?php }} ?>