$(function(){ $('#calendar').fullCalendar({ //defaultDate: '2016-04-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: 'Carnê Leão\nIRPJ/CSLL Quota Única ou 1ª Quota', start: '2024-01-31', } , { title: 'Salário Empregados', start: '2024-02-06', } , { title: 'FGTS/eSocial Doméstico', start: '2024-02-07', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2024-02-12', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2024-02-12', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2024-02-15', } , { title: 'GPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)', start: '2024-02-20', } , { title: 'COFINS/PIS/IPI\n', start: '2024-02-23', } , { title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota', start: '2024-02-29', } , { title: 'Salário Empregados', start: '2024-03-06', } , { title: 'FGTS/eSocial Doméstico', start: '2024-03-07', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2024-03-15', } , { title: 'GPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)', start: '2024-03-20', } , { title: 'COFINS/PIS/IPI', start: '2024-03-25', } , { title: 'Carnê Leão\nIRPJ/CSLL 3ª Quota', start: '2024-03-29', } , { title: 'Salário Empregados\nFGTS/eSocial Doméstico', start: '2024-04-05', } , { title: 'ICMS/ST/Diferencial/IPVA', start: '2024-04-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2024-04-15', } , { title: 'GPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708', start: '2024-04-19', } , { title: 'Simples Nacional (DAS)\n', start: '2024-04-22', } , { title: 'COFINS/PIS/IPI', start: '2024-04-25', } , { title: 'Carnê Leão\nIRPJ/CSLL Quota Única ou 1ª Quota', start: '2024-04-30', } , { title: 'Salário Empregados\nFGTS/eSocial Doméstico', start: '2024-05-07', } , { title: 'ICMS/ST/Diferencial/IPVA\n', start: '2024-05-10', } , { title: 'GPS/INSS Individual e facultativo\nISS', start: '2024-05-15', } , { title: 'GPS/INSS Empresas\nIRRF 0561, 0588, 3280, 3208, 8045, 1708\nSimples Nacional (DAS)', start: '2024-05-20', } , { title: 'COFINS/PIS/IPI', start: '2024-05-24', } , { title: 'Carnê Leão\nIRPJ/CSLL 2ª Quota', start: '2024-05-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); }