</tr><?php } else { ?> <span style='color:red; '><?php echo 'Error in getting Order-Status: No Getting Expecting Data!!<br>'; ?> </span><?php } } else { ?> <span style='color:red; '><?php echo 'Error in getting Classes: ' . $info['userMessage']; ?> </span><?php } $location = $apicall->linksync_QuickBook_location(); if (!isset($location['errorCode'])) { if (isset($location) && !empty($location)) { $location_db = get_option('QBO_locations'); ?> <tr valign="top"> <th class="titledesc">Location Tracking<a href="https://www.linksync.com/help/woocommerce"><img title="" style="margin-bottom: -4px;margin-left: 4px;" src="../wp-content/plugins/linksync/img/help.png" height="16" width="16"></a></th> <td class="forminp forminp-checkbox"> <select style="width: 310px;" name="QBO_locations"> <option>Select Location</option> <?php foreach ($location['locations'] as $sub_location) { if (isset($location_db) && !empty($location_db)) { if ($location_db == $sub_location['id']) { $check_location = 'selected'; } else {