Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

189
Visualizações
Fullcalendar v2, ¿cómo seleccionar el tiempo libre en la cita abierta de recursos para crear una hoja con las fechas seleccionadas? Laravel

Tengo fullcalendar v2 y la aplicación Laravel. Casi todo se hace con bases de datos y otras cosas, pero falta lo último. No soy tan bueno en JS y necesito ayuda.

Tengo este script y funciona bien para mostrar citas y recursos.

 $(document).ready(function () { var events ={!! json_encode($events) !!}; var resources ={!! json_encode($resources) !!}; $('#calendar').fullCalendar({ defaultView: 'agendaDay', defaultDate: moment().format("YYYY-MM-DD"), timeFormat : 'HH:mm', editable: true, height: 1150, eventLimit: true, // allow "more" link when too many events header: { left: 'prev,next today', center: 'title', right: 'agendaDay,agendaTwoDay,agendaWeek,month' }, views: { agendaTwoDay: { type: 'agenda', duration: { days: 2 }, // views that are more than a day will NOT do this behavior by default // so, we need to explicitly enable it groupByResource: true //// uncomment this line to group by day FIRST with resources underneath //groupByDateAndResource: true } }, //// uncomment this line to hide the all-day slot allDaySlot: false, slotLabelFormat:"HH:mm", hiddenDays: [0], minTime:"07:00:00", maxTime: "23:59:59", slotDuration:"00:15:00", resources: resources, events: events, selectable: true, initialView: 'resourceTimelineWeek', headerToolbar: { left: 'prev,next today', center: 'title', right: 'resourceTimelineWeek,timeGridDay' }, select: function(startDate, endDate, jsEvent, view, resource) { alert('selected ' + startDate.format() + ' to ' + endDate.format() + ' on resource ' + resource.id); } }); })

Mi necesidad aquí es seleccionar el tiempo libre, mi aplicación abre create-appointment.blade.php y analiza el recurso, startDatetime y endDatetime

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda