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/views/editorder/view.html.php +7 -0 1.7.1 → 1.8.16 View file →
@@ -111,8 +111,9 @@
111 111 $ptot_taxes = VikRequest::getString('tot_taxes', '', 'request');
112 112 $ptot_city_taxes = VikRequest::getString('tot_city_taxes', '', 'request');
113 113 $ptot_fees = VikRequest::getString('tot_fees', '', 'request');
114 114 $pcmms = VikRequest::getString('cmms', '', 'request');
115 + $ptot_damage_dep = VikRequest::getString('tot_damage_dep', '', 'request');
115 116 $pcustmail = VikRequest::getString('custmail', '', 'request');
116 117 $pcustphone = VikRequest::getString('custphone', '', 'request');
117 118 $pmakepay = VikRequest::getInt('makepay', 0, 'request');
118 119 $pnewamountpaid = VikRequest::getFloat('newamountpaid', -1, 'request');
@@ -272,8 +273,14 @@
272 273 $q = "UPDATE `#__vikbooking_orders` SET `cmms`='".floatval($pcmms)."' WHERE `id`=".$row['id'].";";
273 274 $dbo->setQuery($q);
274 275 $dbo->execute();
275 276 $row['cmms'] = $pcmms;
277 + }
278 + if (strlen($ptot_damage_dep) > 0) {
279 + $q = "UPDATE `#__vikbooking_orders` SET `tot_damage_dep`='".floatval($ptot_damage_dep)."' WHERE `id`=".$row['id'].";";
280 + $dbo->setQuery($q);
281 + $dbo->execute();
282 + $row['tot_damage_dep'] = $ptot_damage_dep;
276 283 }
277 284 if (strlen($pcustmail) > 0) {
278 285 $q = "UPDATE `#__vikbooking_orders` SET `custmail`=".$dbo->quote($pcustmail)." WHERE `id`=".$row['id'].";";
279 286 $dbo->setQuery($q);