<?php
/* Smarty version 4.3.2, created on 2024-09-09 18:24:15
  from '/home/cyphered/public_html/crm.asmamateri.com/public/legacy/themes/suite8/modules/Calendar/tpls/form.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_66df3d4fce6450_39508889',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '5fbf9f657149794ef7c3741a32faa14e1dd319aa' => 
    array (
      0 => '/home/cyphered/public_html/crm.asmamateri.com/public/legacy/themes/suite8/modules/Calendar/tpls/form.tpl',
      1 => 1723455826,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66df3d4fce6450_39508889 (Smarty_Internal_Template $_smarty_tpl) {
?>
	<form id="CalendarEditView" name="CalendarEditView" method="POST">

		<input type="hidden" name="current_module" id="current_module" value="Meetings">
		<input type="hidden" name="return_module" id="return_module" value = "Calendar">
		<input type="hidden" name="record" id="record" value="">
		<input type="hidden" name="full_form" value="">
		<input type="hidden" name="user_invitees" id="user_invitees">
		<input type="hidden" name="contact_invitees" id="contact_invitees">
		<input type="hidden" name="lead_invitees" id="lead_invitees">
		<input type="hidden" name="send_invites" id="send_invites">


		<input type="hidden" name="edit_all_recurrences" id="edit_all_recurrences">
		<input type="hidden" name="repeat_parent_id" id="repeat_parent_id">
		<input type="hidden" name="repeat_type" id="repeat_type">
		<input type="hidden" name="repeat_interval" id="repeat_interval">
		<input type="hidden" name="repeat_count" id="repeat_count">
		<input type="hidden" name="repeat_until" id="repeat_until">
		<input type="hidden" name="repeat_dow" id="repeat_dow">

		<div class="clearfix"></div>
		<div>
			
				<input type="radio" id="radio_meeting" value="Meetings" onclick="CAL.change_activity_type(this.value);" checked="true"  name="appttype" tabindex="100"/>
			
			<label for="radio_meeting"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CREATE_MEETING'];?>
</label>
			
				<input type="radio" id="radio_call" value="Calls" onclick="CAL.change_activity_type(this.value);" name="appttype" tabindex="100"/>
			
			<label for="radio_call"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CREATE_CALL'];?>
</label>
		</div>

		<div id="form_content">
			<input type="hidden" name="date_start" id="date_start" value="<?php echo $_smarty_tpl->tpl_vars['user_default_date_start']->value;?>
">
			<input type="hidden" name="duration_hours" id="duration_hours">
			<input type="hidden" name="duration_minutes" id="duration_minutes">
		</div>
	</form>
<?php echo '<script'; ?>
 type="text/javascript">
enableQS(false);

function cal_isValidDuration(){ 
	form = document.getElementById('CalendarEditView');
	if(typeof form.duration_hours == "undefined" || typeof form.duration_minutes == "undefined")
		return true;
	if(form.duration_hours.value + form.duration_minutes.value <= 0){
		alert('<?php echo $_smarty_tpl->tpl_vars['MOD']->value['NOTICE_DURATION_TIME'];?>
'); 
		return false; 
	} 
	return true;
}

<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="include/SugarFields/Fields/Datetimecombo/Datetimecombo.js"><?php echo '</script'; ?>
>
<?php }
}
