Open jberanek opened 6 years ago
Assuming you are using MRBS 1.7.1, then I think that all you need to do is
(1) change the capacity column in the rooms table from an int to a varchar, and
(2) edit add.php changing line 19 from
$capacity = get_form_var('capacity', 'int', null, INPUT_POST);
to
$capacity = get_form_var('capacity', 'string', null, INPUT_POST);
I haven't tested this though, so there may be other places where capacity is assumed to be an integer.
Original comment by: campbell-m
Hey guys, I'm using MRBS for our med school to reserve ultrasound machines for our students. We have several machines and certain machines have certain capabilities. When adding machines, is there an easy way to allow strings for the capacity, instead of forcing the capacity to be a number?
Reported by: *anonymous
Original Ticket: mrbs/support-requests/1576