PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/widgets/check_availability.php +4 -2 1.6.7 → 1.8.16 View file →
@@ -164,9 +164,11 @@
164 164 $av_helper->setRoomIds($room_ids);
165 165 }
166 166
167 167 // load available room rates (all records, before pagination that will be applied later)
168 - $room_rates = $av_helper->getRates();
168 + $room_rates = $av_helper->getRates([
169 + 'wtax' => 1,
170 + ]);
169 171
170 172 // load rooms and rate plans
171 173 $all_rooms = $av_helper->loadRooms();
172 174 $all_rplans = $av_helper->loadRatePlans();
@@ -574,9 +576,9 @@
574 576 // load assets
575 577 $this->vbo_app->loadDatePicker();
576 578 }
577 579
578 - public function render(VBOMultitaskData $data = null)
580 + public function render(?VBOMultitaskData $data = null)
579 581 {
580 582 // increase widget's instance counter
581 583 static::$instance_counter++;
582 584