$(function(){ $('#calendar').fullCalendar({ //defaultDate: '2016-10-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: 'COFINS/PIS/IPI', start: '2026-07-24', } , { title: 'Carnê Leão\nIRPJ/CSLL Quota Única ou 1ª Quota', start: '2026-07-31', } , { title: 'Salário Empregados', start: '2026-08-06', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2026-08-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2026-08-17', } , { title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)', start: '2026-08-20', } , { title: 'COFINS/PIS/IPI', start: '2026-08-25', } , { title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota', start: '2026-08-31', } , { title: 'Salário Empregados', start: '2026-09-05', } , { title: 'ICMS/ST/Diferencial/IPVA\n', start: '2026-09-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2026-09-15', } , { title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708', start: '2026-09-18', } , { title: 'Simples Nacional (DAS)', start: '2026-09-21', } , { title: 'COFINS/PIS/IPI', start: '2026-09-25', } , { title: 'Carnê Leão\nIRPJ/CSLL 3ª Quota', start: '2026-09-30', } , { title: 'Salário Empregados', start: '2026-10-06', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2026-10-13', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2026-10-15', } , { title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)', start: '2026-10-20', } , { title: 'COFINS/PIS/IPI', start: '2026-10-23', } , { title: 'Carnê Leão\nIRPJ/CSLL Quota Única ou 1ª Quota', start: '2026-10-30', } , { title: 'Salário Empregados', start: '2026-11-07', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2026-11-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2026-11-13', } , { title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708', start: '2026-11-19', } , { title: 'Simples Nacional (DAS)', start: '2026-11-23', } , { title: 'COFINS/PIS/IPI', start: '2026-11-25', } , { title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota', start: '2026-11-30', } , { title: 'Salário Empregados', start: '2026-12-05', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2026-12-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2026-12-15', } , { title: 'FGTS/eSocial Doméstico\nGPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708', start: '2026-12-18', } , { title: 'Simples Nacional (DAS)', start: '2026-12-21', } , { title: 'COFINS/PIS/IPI', start: '2026-12-24', } , { title: 'Carnê Leão\nIRPJ/CSLL 3ª Quota ', start: '2026-12-31', } ] }); }); 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 ); $( "
" ) .addClass( "arrow" ) .addClass( feedback.vertical ) .addClass( feedback.horizontal ) .appendTo( this ); } } }); }); }, 500); }