AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.192
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/hering/application/plugins/module_med_scheduling/views/diary/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/hering/application/plugins/module_med_scheduling/views/diary/add.tpl
<div class="wrapper wrapper-content">

    {$title_action = $_L['Diary_Add_Module']}
    {if (!empty($diary->id))}
        {$title_action = $_L['Diary_Edit_Module']}
    {/if}

    <form class="form-horizontal" id='form-diary' method="post" >

        <div class="row">

            <div class="col-md-12">

                <div class="ibox float-e-margins">

                    <div class="ibox-title">
                        <h5>{$title_action}</h5>
                        <a href="{$_url}module_med_scheduling/diary/listDiary"
                           class="btn btn-xs btn-primary btn-rounded pull-right">
                            <i class="fa fa-bars"></i> {$_L['Diary_List']}
                        </a>
                    </div>

                    <div class="ibox-content" id="ibox_form">
                        <div class="alert alert-danger" id="emsg">
                            <span id="emsgbody"></span>
                        </div>
                        
                        <div class="row">

                            <div class="col-md-12 col-sm-12 col-xs-12">
                         
                                <label class="control-label" for="title">
                                    {$_L['Diary_Diary']} <small class="red">*</small>
                                </label>
                                <input type="text" name="diary" id="diary" class="form-control"
                                       value="{$diary->diary}" required>
                            </div>

                        </div>

             
                       {* <div class="row">

                            <div class="col-md-12 col-sm-12 col-xs-12">
                                {$sim = ''}
                                {if (!empty($diary->simultaneous))}
                                    {$sim = $diary->simultaneous}
                                {/if}
                                <label class="control-label" for="title">{$_L['Diary_Simultaneous']}</label>
                                <input name="simultaneous" id="simultaneous" class="form-control" value="{$sim}">
                            </div>

                        </div>*}
                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling Diary']}</h2> </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                               
                                <label class="control-label" for="title">{$_L['Diary_Interval']}</label>
                                <input name="interval" id="interval" class="form-control" value="{$diary->interval}" required>
                                <span class="help-block">{$_L['Scheduling minutes']}</span>
                            </div>
                            <br/>
                            <div class="col-md-12 col-sm-12 col-xs-12 top10">
                                <div class="jumbotron">
                                    <h3>{$_L['Scheduling Diary Atendiment']}</h3><br>
                                    <div class='row' style="font-weight: bolder; font-size: 14px;">
                                        <div class="col-sm-1 text-center">
                                            {$_L['Func Status']}
                                        </div>
                                        <div class="col-sm-2">
                                            {$_L['Func Day']}
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            {$_L['Scheduling Period']} 1
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            {$_L['Scheduling Period']} 2
                                        </div>
                                    </div><hr>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_dom" {if isset($listScheduling[0]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 0']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="{if isset($listScheduling[0])}{$listScheduling[0]['hr_ini_manha']}{/if}" name="hr_dom_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[0])}{$listScheduling[0]['hr_fim_manha']}{/if}" class="form-control clss_hr" name="hr_dom_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="{if isset($listScheduling[0])}{$listScheduling[0]['hr_ini_tarde']}{/if}" name="hr_dom_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[0])}{$listScheduling[0]['hr_fim_tarde']}{/if}" class="form-control clss_hr" name="hr_dom_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_seg" {if isset($listScheduling[1]['status'])}checked{/if} >
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 1']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_manha clss_hr" value="{if isset($listScheduling[1])}{$listScheduling[1]['hr_ini_manha']}{/if}" name="hr_seg_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[1])}{$listScheduling[1]['hr_fim_manha']}{/if}" class="form-control hr_fim_manha clss_hr" name="hr_seg_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_tard clss_hr" value="{if isset($listScheduling[1])}{$listScheduling[1]['hr_ini_tarde']}{/if}" name="hr_seg_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[1])}{$listScheduling[1]['hr_fim_tarde']}{/if}" class="form-control hr_fim_tard clss_hr" name="hr_seg_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_ter"  {if isset($listScheduling[2]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 2']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_manha clss_hr" value="{if isset($listScheduling[2])}{$listScheduling[2]['hr_ini_manha']}{/if}" name="hr_ter_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[2])}{$listScheduling[2]['hr_fim_manha']}{/if}" class="form-control hr_fim_manha clss_hr" name="hr_ter_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_tard clss_hr" value="{if isset($listScheduling[2])}{$listScheduling[2]['hr_ini_tarde']}{/if}" name="hr_ter_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[2])}{$listScheduling[2]['hr_fim_tarde']}{/if}" class="form-control hr_fim_tard clss_hr" name="hr_ter_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_qua" {if isset($listScheduling[3]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 3']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_manha clss_hr" value="{if isset($listScheduling[3])}{$listScheduling[3]['hr_ini_manha']}{/if}" name="hr_qua_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[3])}{$listScheduling[3]['hr_fim_manha']}{/if}" class="form-control hr_fim_manha clss_hr" name="hr_qua_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_tard clss_hr" value="{if isset($listScheduling[3])}{$listScheduling[3]['hr_ini_tarde']}{/if}" name="hr_qua_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[3])}{$listScheduling[3]['hr_fim_tarde']}{/if}" class="form-control hr_fim_tard clss_hr" name="hr_qua_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_qui" {if isset($listScheduling[4]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 4']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_manha clss_hr" value="{if isset($listScheduling[4])}{$listScheduling[4]['hr_ini_manha']}{/if}" name="hr_qui_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[4])}{$listScheduling[4]['hr_fim_manha']}{/if}" class="form-control hr_fim_manha clss_hr" name="hr_qui_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_tard clss_hr" value="{if isset($listScheduling[4])}{$listScheduling[4]['hr_ini_tarde']}{/if}" name="hr_qui_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[4])}{$listScheduling[4]['hr_fim_tarde']}{/if}" class="form-control hr_fim_tard clss_hr" name="hr_qui_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_sex" {if isset($listScheduling[5]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 5']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_manha clss_hr" value="{if isset($listScheduling[5])}{$listScheduling[5]['hr_ini_manha']}{/if}" name="hr_sex_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[5])}{$listScheduling[5]['hr_fim_manha']}{/if}" class="form-control hr_fim_manha clss_hr" name="hr_sex_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control hr_ini_tard clss_hr" value="{if isset($listScheduling[5])}{$listScheduling[5]['hr_ini_tarde']}{/if}" name="hr_sex_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[5])}{$listScheduling[5]['hr_fim_tarde']}{/if}" class="form-control hr_fim_tard clss_hr" name="hr_sex_fim_tr" style="width: 65px;">
                                        </div>
                                    </div>
                                    <div class='row'>
                                        <div class="col-sm-1">
                                            <input type="checkbox" class="form-control btn-sm" name="ind_sab" {if isset($listScheduling[6]['status'])}checked{/if}>
                                        </div>
                                        <div class="col-sm-2" style="padding-top: 4px; font-size: 16px;">
                                            <span>{$_L['Day 6']}</span>
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="{if isset($listScheduling[6])}{$listScheduling[6]['hr_ini_manha']}{/if}" name="hr_sab_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[6])}{$listScheduling[6]['hr_fim_tarde']}{/if}" class="form-control clss_hr" name="hr_sab_fim_mn" style="width: 65px;">
                                        </div>
                                        <div class="col-sm-3 text-center">
                                            <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="{if isset($listScheduling[6])}{$listScheduling[6]['hr_ini_tarde']}{/if}" name="hr_sab_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="{if isset($listScheduling[6])}{$listScheduling[6]['hr_fim_tarde']}{/if}" class="form-control clss_hr" name="hr_sab_fim_tr" style="width: 65px;">
                                        </div>
                                    </div><hr>
                                    <div class="row">
                                        <div class="col-sm-4" style="padding-top: 20px;">
                                            <input type="button" class="btn btn-success btn-block redf_hr" value="{$_L['Scheduling Redefine Hr']}">
                                        </div>
                                        <div class="col-sm-8 redf_hr_on">
                                            <div class="row">
                                                <div>
                                                    <div class="col-sm-5 text-center">
                                                        {$_L['Scheduling Period']} 1
                                                    </div>
                                                    <div class="col-sm-5 text-center">
                                                        {$_L['Scheduling Period']} 2
                                                    </div>
                                                </div>
                                                <div>
                                                    <div class="col-sm-5 text-center">
                                                        <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="" id="nv_hr_ini_mn" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="" class="form-control clss_hr" id="nv_hr_fim_mn" style="width: 65px;">
                                                    </div>
                                                    <div class="col-sm-5 text-center">
                                                        <span style="float: left; margin-left: 40px;" class="text-center"><input type="text" class="form-control clss_hr" value="" id="nv_hr_ini_tr" style="width: 65px; float: left;">&nbsp;:&nbsp;</span><input type="text" value="" class="form-control clss_hr" id="nv_hr_fim_tr" style="width: 65px;">
                                                    </div>
                                                    <div class="col-sm-2 text-center">
                                                        <input type="button" class="btn btn-success btn-block redf_hr_func" value="{$_L['Func Jou Change']}">
                                                        <input type="button" class="btn btn-danger btn-block clse_redf_hr" value="X">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                                                        
                        </div>
                        <div class='row'>
                            <div class="col-md-4 col-sm-4 col-xs-12 top10">  
                                <label class="control-label" >{$_L['Timezone']}</label>
                                <select name="timezone" class="form-control select2">
                                   {* {foreach $tlist as $value => $label}
                                    <option value="{$value}"
                                        {if $diary->timezone eq $value}selected="selected" {/if}>{$label}</option>
                                    {/foreach}*}
                                    <option value="-2" {if $diary->timezone eq '-2'}selected="selected" {/if}>
                                             Fernando de Noronha 
                                    </option>
                                    <option value="-3" {if $diary->timezone eq '-3'}selected="selected" {/if}>
                                             Horário de Brasília 
                                    </option>
                                    <option value="-4" {if $diary->timezone eq '-4 '}selected="selected" {/if}>
                                             Horário da Amazônia 
                                    </option>
                                    <option value="-5" {if $diary->timezone eq '-5'}selected="selected" {/if}>
                                             Horário do Acre 
                                    </option>
                                </select>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12 top10">  
                                <label class="control-label" >{$_L['Scheduling Do you participate in daylight saving time']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="participe_daylight" {if $diary->participe_daylight=='Y'}checked{/if} name="participe_daylight" value="Y">     
                            </div>
                               
                                
                            <div class="col-md-12 col-sm-12 col-xs-12 top10"> 
                                <label class="control-label" >{$_L['Scheduling Base Time']}</label>
                                <i class='fa fa-clock-o'> </i> <span id='hour'></span>
                            </div>

                        </div>

                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling Extra Settings']}</h2> </div>
                        
                            

                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Use Rebuilding']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="use_rebuilding" {if $diary->use_rebuilding=='Y'}checked{/if} name="use_rebuilding" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L["Can you add procedures to the agenda after it's finished"]}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="permit_add_procedure_pos_finished" {if $diary->permit_add_procedure_pos_finished=='Y'}checked{/if} name="permit_add_procedure_pos_finished" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Require completion of procedures in the agenda']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="require_completion_procedure_agenda" {if $diary->require_completion_procedure_agenda=='Y'}checked{/if} name="require_completion_procedure_agenda" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Block scheduling to the professional who does not use the agreement']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="block_professional_not_use_agreement" {if $diary->block_professional_not_use_agreement=='Y'}checked{/if} name="block_professional_not_use_agreement" value="Y">     
                            </div>
                            
                            
                        </div>
                            
                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling Reconsult']}</h2> </div>
                        
                            <div class="col-md-4 col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Number of days to reconsider']}</label>
                                <input type="number"  name="days_reconsult" class="form-control" value="{$diary->days_reconsult}">     
                            </div>
                            
                            <div class="col-xs-12 col-md-6 ">  
                                <label class="control-label" >{$_L['Scheduling Maximum number of reassessments in the period']}</label>
                                <input type="number"   name="max_reassessments_period" class="form-control" value="{$diary->max_reassessments_period}">     
                            </div>
                        </div>
                            
                         
                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling Patient notifications']}</h2> </div>
                        
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send email scheduling']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="patient_always_send_email_scheduling" {if $diary->patient_always_send_email_scheduling=='Y'}checked{/if} name="patient_always_send_email_scheduling" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send emails one day before the consultation']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="patient_always_send_email_one_day_before_consultation" {if $diary->patient_always_send_email_one_day_before_consultation=='Y'}checked{/if} name="patient_always_send_email_one_day_before_consultation" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send SMS scheduling']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="patient_always_send_sms_scheduling" {if $diary->patient_always_send_sms_scheduling=='Y'}checked{/if} name="patient_always_send_sms_scheduling" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send SMS the day before the consultation']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="patient_always_send_sms_one_day_before_consultation" {if $diary->patient_always_send_sms_one_day_before_consultation=='Y'}checked{/if} name="patient_always_send_sms_one_day_before_consultation" value="Y">     
                            </div>
                        </div>
   
                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling Notifications to professionals']}</h2> </div>
                        
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send SMS to new address book']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="professional_always_send_sms_address_book" {if $diary->professional_always_send_sms_address_book=='Y'}checked{/if} name="professional_always_send_sms_address_book" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send SMS to delete or change calendar']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="professional_always_send_sms_delete_update_address_book" {if $diary->professional_always_send_sms_delete_update_address_book=='Y'}checked{/if} name="professional_always_send_sms_delete_update_address_book" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send email to new address book']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="professional_always_send_email_address_book" {if $diary->professional_always_send_email_address_book=='Y'}checked{/if} name="professional_always_send_email_address_book" value="Y">     
                            </div>
                            
                            <div class="col-xs-12 ">  
                                <label class="control-label" >{$_L['Scheduling Always send email to delete or change calendar']}?</label>
                                <input type="checkbox"  data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" id="professional_always_send_email_delete_update_address_book" {if $diary->professional_always_send_email_delete_update_address_book=='Y'}checked{/if} name="professional_always_send_email_delete_update_address_book" value="Y">     
                            </div>
                        </div>
                            
                        <div class='row' >
                            <div class="col-xs-12 div_form">  <h2> {$_L['Scheduling_Doctor_Module']}</h2> </div>
                           
                       
                        <table class="table table-bordered table-hover sys_table footable" >
                            <thead>
                                <tr>
                                    <th class="col-xs-1">{$_L['Active']}</th>
                                    <th>{$_L['Name']}</th>
                                </tr>
                            </thead>
                            <tbody>
                            {if count($doctors) > 0}
                                {foreach $doctors as $a}
                                    <tr>
                                        <td><input type="checkbox" {if isset($doctorsDiary[$a->id])}checked{/if} class="form-control  doctor_check" data-id='{$a->id}' name="doctor_{$a->id}" value="Y"></td>
                                        <td>{$a->name}</td>
                                    </tr>
                                {/foreach}
                            {else}
                                <tr>
                                    <td colspan="2">
                                        {$_L['No_Records_Found']}
                                    </td>
                                </tr>
                            {/if}
                            </tbody>
                        </table>
                        </div>
                            
                   {*         <div class="col-md-12 col-sm-12 col-xs-12">
                                <label class="control-label" for="title">
                                    {$_L['Doctor_Name']} <small class="red">*</small>
                                </label>
                                <select class="form-control doctor_select" multiple="multiple" name="doctor_id[]" id="doctor_id"
                                        style="width:100%">
                                    {if count($doctors) > 0}
                                        {foreach $doctors as $d}
                                            <option {if $d->id}selected{/if}
                                                    value="{$d->id}">{$d->name}</option>
                                        {/foreach}
                                    {/if}
                                </select>
                            </div>

                        </div>*}

                        <div class="row" style="margin-top:20px">
                            <div class=" col-md-12 form-group">
                                <div class="col-lg-10">
                                        <input type="hidden" id="diaryId" name="id" value="{$diary->id}">
                                    <button class="md-btn md-btn-primary waves-effect waves-light" type="submit" id="submit">
                                        <i class="fa fa-check"></i> {$_L['Submit']}
                                    </button>
                                    | <a href="{$_url}module_med_scheduling/diary/listDiary">{$_L['Or Cancel']}</a>
                                </div>
                            </div>
                        </div>

                    </div>

                </div>

            </div>

        </div>

    </form>

</div>

Anon7 - 2022
AnonSec Team