Reply To: Fixed Price Table

You could add

Select Code
1
if(date('d.m.Y',$this->arrival) !== date('d.m.Y',$this->departure)) $this->times += 1;

to the beginning and

Select Code
1
if(date('d.m.Y',$this->arrival) !== date('d.m.Y',$this->departure)) $this->times –= 1;

to the end of the Calculate () function in /lib/classes/reservation.class.php
Regards