Hey Everyone,
We are using 1.4.1 and I am having some issues. I want to limit bookings to 45 minutes, no more.
I took this code from online:
# if not administrator, reject bookings longer than 2 hours
if ((!getAuthorised(2)) && (($units * $duration) > 7200))
{
print_header($day, $month, $year, $area);
?>
<?php echo get_vocab('invalid_booking'); ?>
<?php echo get_vocab('invalid_duration'); ?>