<?php /* Smarty version Smarty-3.1.11, created on 2023-08-30 14:49:53
         compiled from "../views/obgy/setupsetting.html" */ ?>
<?php /*%%SmartyHeaderCode:52135830764ef2ce112fab7-56118690%%*/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 => 1647314610,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '52135830764ef2ce112fab7-56118690',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64ef2ce1173335_55147515',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64ef2ce1173335_55147515')) {function content_64ef2ce1173335_55147515($_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>
                Prepare Empty Database
            </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>
                erp visa account.
            </span>
            <input type="hidden" id="erpDBVisaAccount" name="erpDBVisaAccount" data-placeholder="Select account ..." style="width: 40%!important"/>
            <input type="hidden" name="erpDBVisaAccountId" id="erpDBVisaAccountId" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value->erpdbvisaaccount;?>
"/>
            <input type="hidden" name="erpDBVisaAccountName" id="erpDBVisaAccountName" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value->erpdbvisaaccountname;?>
"/>
            <a class="btn btn-success saveERPDBVisaAccount"  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>
            <br />
            <br />
            <br />
            <br />
            <span>
                Add all doctors to ERP
            </span>
            <a class="btn btn-success syncDoctorsToERP"  data-loading-text="Loading...">GO</a>
            <br />
            <br />
            <br />
            <br />
            <span>
                Add all Investigation "Lab." to ERP
            </span>
            <a class="btn btn-success syncInvestigationsToERP"  data-loading-text="Loading...">GO</a>


        </div>
    </div>
</div>
<!-- END CONTENT -->
<?php }} ?>