rows; $allrooms = $this->allrooms; $lim0 = $this->lim0; $navbut = $this->navbut; $orderby = $this->orderby; $ordersort = $this->ordersort; // list of IDs for which VCM should monitor the guest messages in the chat $vcm_bids = array(); $dbo = JFactory::getDbo(); $app = JFactory::getApplication(); $vbo_app = VikBooking::getVboApplication(); $vbo_app->loadDatePicker(); $vbo_app->loadContextMenuAssets(); // JS lang def JText::script('VBOGENINVOICES'); JText::script('VBCONFIRMGENINV'); JText::script('VBADMINNOTESTOGGLE'); JText::script('VBDASHUPRESONE'); JText::script('VBOCHANNEL'); JText::script('VBCOUPON'); JText::script('VBCUSTOMERNOMINATIVE'); $nowdf = VikBooking::getDateFormat(true); if ($nowdf == "%d/%m/%Y") { $df = 'd/m/Y'; } elseif ($nowdf == "%m/%d/%Y") { $df = 'm/d/Y'; } else { $df = 'Y/m/d'; } $datesep = VikBooking::getDateSeparator(true); $juidf = $nowdf == "%d/%m/%Y" ? 'dd/mm/yy' : ($nowdf == "%m/%d/%Y" ? 'mm/dd/yy' : 'yy/mm/dd'); $cid = VikRequest::getVar('cid', array()); $pcust_id = $app->getUserStateFromRequest("vbo.orders.cust_id", 'cust_id', 0, 'int'); $pconfirmnumber = VikRequest::getString('confirmnumber', '', 'request'); // color tags $colortags = VikBooking::loadBookingsColorTags(); $bctags_tip = ''; if (count($colortags) > 0) { $bctags_tip = '