<?php /* Smarty version Smarty-3.1.8, created on 2020-12-13 17:12:41
         compiled from "/home/agmc/beta/application/core/views/manage/standard/CommonJavaScriptBottom.tpl" */ ?>
<?php /*%%SmartyHeaderCode:552839495e26cace9fe1a2-97491133%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6d00e63637e9f1deb6c7644d98a9dc4b777b4724' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/CommonJavaScriptBottom.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '552839495e26cace9fe1a2-97491133',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e26cacea087e4_78962573',
  'variables' => 
  array (
    'language' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e26cacea087e4_78962573')) {function content_5e26cacea087e4_78962573($_smarty_tpl) {?><script type="text/javascript">
$(document).ready(function(){ 
var addContent=$('li.add_new_link_rightblock').html()
if(addContent==""){
	$('li.add_new_link_rightblock').remove();
}
$(".rightblock ul li").each(function()
{
 var presnt=$(this).has("a").length;
 if(presnt==0){
	$(this).remove() 
 }
});
/*for privilege*/
	$("[task=delete]").removeAttr("href");
	$("[task=status-change]").removeAttr("href"); 
/*for privilege*/

})

function setCustomDisabled()
{
	$("select:disabled").parent(".select-wrapper").addClass("disabled");
}
function unsetCustomDisabled()
{
	$("select:enabled").parent(".select-wrapper").removeClass("disabled");
}
function unsetCustomText(domField)
{
	$(domField).next(".holder").text($(domField +" option:first").text());
}
function setCustomText(domField)
{
	//$(domField).next(".holder").text($(domField +" option:selected").text());
}
function hideCustomText(domField)
{
	$(domField).next(".holder").addClass("hide");
}
/** for custom select -end*/
/** for custom Radio/checkbox - start*/
function setCustomInput(domField)
{
	$(domField).next(".custom-label").addClass("checked");
}
function unsetCustomInput(domField)
{
	$(domField).next(".custom-label").removeClass("checked");
}
//Added For calendar and chosen language based labels
//@Lijo
var lblLast7days="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['language']->value['lblLast7Days'])===null||$tmp==='' ? '' : $tmp);?>
";
var lblMonthtodate="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblMonthtodate'];?>
";
var lblSpecificDate="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSpecificDate'];?>
";
var lblDateRange="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDateRange'];?>
";
var lblToday="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblToday'];?>
";
var lblLast7days="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['language']->value['lblLast7Days'])===null||$tmp==='' ? '' : $tmp);?>
";
var lblMonthtodate="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblMonthtodate'];?>
";
var lblThePreviousMonth="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['language']->value['lblThepreviousMonth'])===null||$tmp==='' ? '' : $tmp);?>
";
var lblSelectSomeOption="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectSomeOption'];?>
";
</script>
<?php }} ?>