Commit bc4f531
Dolicraft
Fix Dolibarr#34927 allow returning to floor 0 in TakePOS Bar/Restaurant
floors.php hid the previous-floor arrow as soon as floor was 1 ("if ($floor > 1)"),
and the click-handler also fell back to 1 instead of decrementing past it, so users
could never get back to floor 0 once they navigated away. Lower both thresholds to
"$floor > 0" so the arrow stays visible at floor 1 and decrements to 0.
Signed-off-by: Dolicraft <contact@dolicraft.com>1 parent 13f21da commit bc4f531
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments