예제 #1
0
    ?>
                                <br><?php 
} else {
    ?>
<span style='color:red; '><?php 
    echo 'Error in getting  Order-Status: No Getting Expecting Data!!<br>';
    ?>
</span><?php 
}
?>
</td>
                    </tr>
                    <?php 
if (!isset($info['errorCode'])) {
    if ($info['version'] == 'QuickBooks Online Plus') {
        $class = $apicall->linksync_QuickBook_class();
        if (!isset($class['errorCode'])) {
            if (isset($class) && !empty($class)) {
                $class_db = get_option('QBO_class');
                ?>
 <tr valign="top">
                                        <th  class="titledesc">Class 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_class">
                                                <option>Select Class</option>
                                                <?php 
                foreach ($class['classes'] as $sub_classes) {
                    if (isset($class_db) && !empty($class_db)) {
                        if ($class_db == $sub_classes['id']) {
                            $check_class = 'selected';
                        } else {