Add surcharge every weekend
-
I want to add surcharge on my weekend calendar..How can I do that..??or is that possible??I have this Jquery code, can it be done in here??
jQuery( ‘fieldset[data-id=”‘ + data_id + ‘”] input’ ).datepicker({
beforeShowDay: function(date){
var formattedDate = $.fn.datepicker.DPGlobal.formatDate(date, ‘dd.mm.yyyy’, ‘pl’);
if ($.inArray(formattedDate.toString(), disabled_dates) != -1){
return {
enabled : false
};
}
return;
},
defaultDate: “+1w”,
changeMonth: true,
numberOfMonths: 1,
dateFormat: “mm-dd-yy”,
onClose: function( selectedDate ) {
jQuery( ‘fieldset[data-id=”‘ + data_id_1 + ‘”] input’ ).datepicker( “option”, “minDate”, selectedDate );}
});THANKS..
- The topic ‘Add surcharge every weekend’ is closed to new replies.