Homepage
Welcome to the store
Write a short welcome message here
New Products
let max_date = '';
jQuery( document ).ready(function($) { const calendarEl = document.getElementById( 'bkap_67349e40811af' ); var bkap_67349e40811af = new FullCalendar.Calendar(calendarEl, { noEventsMessage: bkap_data.no_bookable_slot, nextDayThreshold : '23:00:00', plugins: [ 'rrule', 'dayGrid','list' ], header: {"left":"title","center":"","right":"prev,next"}, defaultView: 'listMonth', loading: function (isLoading) { bkapListing.loading( isLoading, bkap_data.is_admin ); }, events: { url: '?bkap_events_feed=json&bkap_view=list', method: 'POST', extraParams: {"view":"list","filter":"all","type":"day","dayType":"only_day","timeType":"date_time","multipleType":"multidates","duration":"month","showQuantity":true,"showTimes":false,"showNavigation":true,"sortingSingleEvents":true,"greyOutBooked":false,"products":"","categories":"","resources":""}, }, eventOrder: 'sort, start,-duration,allDay,title', eventRender: function(info) {
if ( '' != info.event ) { if ( 'undefined' !== typeof info.event.extendedProps.last_event_date ) { max_date = info.event.extendedProps.last_event_date; }
bkapListing.eventRender( info, bkap_data.is_admin ); } }, allDayText: bkap_data.full_day_text, datesRender: function( info ) { let start = info.view.currentStart;
// Some little delay so as to ensure max_date is available. setTimeout( function() {
if ( moment() >= start ) { $( ".fc-prev-button" ).prop( 'disabled', true ); $( ".fc-prev-button" ).addClass( 'fc-state-disabled' ); } else { $( ".fc-prev-button" ).removeClass( 'fc-state-disabled' ); $( ".fc-prev-button" ).prop( 'disabled', false ); }
let next_month = moment( start ).add( 1, 'M' ).format( 'YYYY-MM-DD' ) + ' 23:59:00';
if ( '' !== max_date && next_month > max_date ) { $( ".fc-next-button" ).prop( 'disabled', true ); $( ".fc-next-button" ).addClass( 'fc-state-disabled' ); } else { $( ".fc-next-button" ).removeClass( 'fc-state-disabled' ); $( ".fc-next-button" ).prop( 'disabled', false ); } }, 5000 ); }, firstDay: parseInt( bkap_data.first_day ), eventClick: function( info ) { // Adding date param to url when Calendar view let cal_view = [ 'dayGridMonth', 'dayGridWeek', 'dayGridDay' ]; let view_type = info.view.type; let clicked_date = moment( info.event.start ).format( 'YYYY-MM-DD' ); if ( info.event.url ) { if( cal_view.includes( view_type ) ) { window.open( info.event.url + '?bkap_date=' + clicked_date ); } } }, locale: bkap_data.lang, }); bkap_67349e40811af.render(); });
-
Wine & Welding$225.00
-
Spruce Tip Pot$50.00
let max_date = '';
jQuery( document ).ready(function($) { const calendarEl = document.getElementById( 'bkap_67349e40e0cd5' ); var bkap_67349e40e0cd5 = new FullCalendar.Calendar(calendarEl, { noEventsMessage: bkap_data.no_bookable_slot, nextDayThreshold : '23:00:00', plugins: [ 'rrule', 'dayGrid','list' ], header: {"left":"title","center":"","right":"prev,next"}, defaultView: 'dayGridMonth', loading: function (isLoading) { bkapListing.loading( isLoading, bkap_data.is_admin ); }, events: { url: '?bkap_events_feed=json&bkap_view=dayGrid', method: 'POST', extraParams: {"view":"calendar","filter":"all","type":"day","dayType":"only_day","timeType":"date_time","multipleType":"multidates","duration":"month","showQuantity":true,"showTimes":false,"showNavigation":true,"sortingSingleEvents":true,"greyOutBooked":false,"products":"","categories":"","resources":""}, }, eventOrder: 'sort, start,-duration,allDay,title', eventRender: function(info) {
if ( '' != info.event ) { if ( 'undefined' !== typeof info.event.extendedProps.last_event_date ) { max_date = info.event.extendedProps.last_event_date; }
bkapListing.eventRender( info, bkap_data.is_admin ); } }, allDayText: bkap_data.full_day_text, datesRender: function( info ) { let start = info.view.currentStart;
// Some little delay so as to ensure max_date is available. setTimeout( function() {
if ( moment() >= start ) { $( ".fc-prev-button" ).prop( 'disabled', true ); $( ".fc-prev-button" ).addClass( 'fc-state-disabled' ); } else { $( ".fc-prev-button" ).removeClass( 'fc-state-disabled' ); $( ".fc-prev-button" ).prop( 'disabled', false ); }
let next_month = moment( start ).add( 1, 'M' ).format( 'YYYY-MM-DD' ) + ' 23:59:00';
if ( '' !== max_date && next_month > max_date ) { $( ".fc-next-button" ).prop( 'disabled', true ); $( ".fc-next-button" ).addClass( 'fc-state-disabled' ); } else { $( ".fc-next-button" ).removeClass( 'fc-state-disabled' ); $( ".fc-next-button" ).prop( 'disabled', false ); } }, 5000 ); }, firstDay: parseInt( bkap_data.first_day ), eventClick: function( info ) { // Adding date param to url when Calendar view let cal_view = [ 'dayGridMonth', 'dayGridWeek', 'dayGridDay' ]; let view_type = info.view.type; let clicked_date = moment( info.event.start ).format( 'YYYY-MM-DD' ); if ( info.event.url ) { if( cal_view.includes( view_type ) ) { window.open( info.event.url + '?bkap_date=' + clicked_date ); } } }, locale: bkap_data.lang, }); bkap_67349e40e0cd5.render(); });
Showing all 2 results