<?php /* Smarty version Smarty-3.1.11, created on 2024-08-26 07:34:08
         compiled from "../views/obgy/setupsetting.html" */ ?>
<?php /*%%SmartyHeaderCode:15586982566cc92600977c8-07835477%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6b775b5baa8c30b83100ad1f6ddbcbafc2f6733d' => 
    array (
      0 => '../views/obgy/setupsetting.html',
      1 => 1545831554,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15586982566cc92600977c8-07835477',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cc92600ddde5_94377999',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cc92600ddde5_94377999')) {function content_66cc92600ddde5_94377999($_smarty_tpl) {?><meta charset="utf8" />
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <h1>Database Setting</h1>
            <span>
                clean all tables from database if you are sure click at
            </span>
            <a class="btn btn-danger clntbls"  data-loading-text="Loading..." data-all="0">Clean all tables</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                clean all tables from database without default tables like (jobs , status , educations)
            </span>
            <a class="btn btn-danger clntblsdefault"  data-loading-text="Loading..." data-all="1">Clean all tables</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                erp database.
            </span>
            <input class="form-control" type="text" id="erpDB" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value->erpdb;?>
" name="erpDB" style="text-transform: none;width: 50%;display: inline;" data-placement="bottom" data-content="100" title="optional it is need only to communicate with erp system if needed">
            <a class="btn btn-success saveErpDB"  data-loading-text="Loading...">save</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                erp save.
            </span>
            <input type="hidden" id="erpDBSave" name="erpDBSave" data-placeholder="Select save ..." style="width: 40%!important"/>
            <input type="hidden" name="save" id="save" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value->erpdbsave;?>
"/>
            <input type="hidden" name="erpdbsavename" id="erpdbsavename" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value->erpdbsavename;?>
"/>
            <a class="btn btn-success saveErpSave"  data-loading-text="Loading...">save</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                Add all patients to ERP
            </span>
            <a class="btn btn-success syncPatientsToERP"  data-loading-text="Loading...">GO</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                Add all detections to ERP
            </span>
            <a class="btn btn-success syncDetectionsToERP"  data-loading-text="Loading...">GO</a>
        </div>
    </div>
</div>
<!-- END CONTENT -->
<?php }} ?>