$(function(){
$('#calendar').fullCalendar({
//defaultDate: '2016-05-12',
lang: 'pt-br.js',
editable: false,
eventLimit: true, // allow "more" link when too many events
columnFormat: 'ddd',
timeFormat: 'H:mm',
header: {
left: 'prev',
center: 'title',
right: 'next'
},
viewRender: viewRenderCallback,
events: [
{
title: 'Salário Empregados',
start: '2025-02-06',
}
, {
title: 'ICMS/ST/Diferencial/IPVA',
start: '2025-02-10',
}
, {
title: 'GPS/INSS Individual e facultativo\nISS',
start: '2025-02-17',
}
, {
title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)\n',
start: '2025-02-20',
}
, {
title: 'COFINS/PIS/IPI',
start: '2025-02-25',
}
, {
title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota',
start: '2025-02-28',
}
, {
title: 'Salário Empregados',
start: '2025-03-07',
}
, {
title: 'ICMS/ST/Diferencial/IPVA',
start: '2025-03-10',
}
, {
title: 'GPS/INSS Individual e facultativo\nISS',
start: '2025-03-17',
}
, {
title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)',
start: '2025-03-20',
}
, {
title: 'COFINS/PIS/IPI',
start: '2025-03-25',
}
, {
title: 'Carnê Leão\nIRPJ/CSLL 3ª Quota',
start: '2025-03-31',
}
, {
title: 'Salário Empregados',
start: '2025-04-05',
}
, {
title: 'ICMS/ST/Diferencial/IPVA',
start: '2025-04-10',
}
, {
title: 'GPS/INSS Individual e facultativo\nISS',
start: '2025-04-15',
}
, {
title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708',
start: '2025-04-18',
}
, {
title: 'Simples Nacional (DAS)',
start: '2025-04-21',
}
, {
title: 'COFINS/PIS/IPI',
start: '2025-04-25',
}
, {
title: 'Carnê Leão\nIRPJ/CSLL Quota Única ou 1ª Quota',
start: '2025-04-30',
}
, {
title: 'Salário Empregados',
start: '2025-05-07',
}
, {
title: 'ICMS/ST/Diferencial/IPVA',
start: '2025-05-12',
}
, {
title: 'GPS/INSS Individual e facultativo\nISS',
start: '2025-05-15',
}
, {
title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)',
start: '2025-05-20',
}
, {
title: 'COFINS/PIS/IPI',
start: '2025-05-23',
}
, {
title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota',
start: '2025-05-30',
}
, {
title: 'Salário Empregados',
start: '2025-06-06',
}
, {
title: 'ICMS/ST/Diferencial/IPVA',
start: '2025-06-10',
}
, {
title: 'GPS/INSS Individual e facultativo\nISS',
start: '2025-06-16',
}
, {
title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)',
start: '2025-06-20',
}
, {
title: 'COFINS/PIS/IPI',
start: '2025-06-25',
}
, {
title: 'Carnê Leão\nIRPJ/CSLL 3ª Quota',
start: '2025-06-30',
}
]
});
});
function viewRenderCallback(){
setTimeout(function(){
$('.fc-event-container').each(function(){
var date = $(this).attr('data-date');
var hint = $(this).find('.fc-title').html();
hint = hint.replace(/
/g,"\n");
$(this).parent('tr').parent('tbody').parent('table').find('thead').find('td[data-date='+date+']').find('span').addClass('fc-active hint--bottom').attr('title',hint);
$('#calendar').tooltip({
position: {
my: "center bottom-12",
at: "center top",
using: function( position, feedback ) {
$( this ).css( position );
$( "