Hi, i think i've found a bug on edit form: slots usage count (during validation) don't seems right.
Function appointment_calendar_slot_capacity_value() doesn't take in account date (only slot key) so it counts all slot with same key booked in all possible dates.
Attached patch introduces a date argument for this function.
Marked with priority Major as it blocks normal date/slots editing.

Comments

maurizio.ganovelli created an issue. See original summary.

anushaMeka’s picture

Status: Active » Reviewed & tested by the community

ajay_reddy’s picture

Status: Reviewed & tested by the community » Fixed
maurizio.ganovelli’s picture

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.