        <div class="row">
            <div class="table-responsive">
            <table class="table-striped">
              <tbody>
                <tr>
                  <td> Average Buy in price(USDT)</td>
                  <td><?php echo $order_info->live_price;?></td>
                <?php  if($order_info->type == 2) { ?>
                  <td> Profit(USDT)</td>
                  <?php if(!empty($avg_percentage)) { ?>
                  <td><?php echo $avg_price."(".$avg_percentage."%)";?></td>
                <?php } else { ?>
                  <td><?php echo $avg_price;?></td>
                <?php } } ?>
                </tr>
                <tr>
                  <td> Order Time </td>
                  <td class="hidden_order_time"><?php echo date('Y-m-d h:i:s',substr($orderstatus['updateTime'],0,-3));?></td>
                  <td> Order Number </td>
                  <td class="hidden_order_number"> <?php echo $orderstatus['orderId'];?> </td>
                </tr>
                <tr>
                  <td> Open Position Quantity </td>
                  <td> <?php echo $orderstatus['origQty']." ".substr($orderstatus['symbol'], 0,-4);?> </td>
                  <td> Open Position Limit</td>
                  <td> <?php if($orderstatus['type'] == "LIMIT") { echo $orderstatus['price']; }  else {  echo "MARKET price"; }?>  </td>
                </tr>
                  <tr>
                  <td> Status </td>
                  <td><?php echo $orderstatus['status'];?>  </td>
                  <td>Filled Quantity</td>
                  <td><?php echo $orderstatus['executedQty']." ".substr($orderstatus['symbol'], 0,-4);?> </td>
                  </tr>
            <tr>
                  <td> Deal Amont </td>
            <td><span id="down_price"><?php echo $orderstatus['cummulativeQuoteQty']." USDT";?></span></td>
            <?php  if($order_info->type == 2 && $order_info->subsell_status == 1) { ?>
              <td> Number of margin calls </td>
                  <td><span id="take_profit_trigger"><?php echo $order_info->margin_call_drops ? $order_info->margin_call_drops : " ";?></span></td>
                <?php  } else if($order_info->type == 2 && $order_info->subsell_status == 0) { ?>
                   <td> Fuel Fee </td>
                   <td><span id="down_price"><?php echo $order_info->comm_price ? $order_info->comm_price : "0";?><?php echo " USDT";?></span></td>
                <?php } ?>
                </tr>
            <?php  if($order_info->type == 2 && $order_info->subsell_status == 1) { ?>
            <tr>
            <td> Fuel Fee </td>
            <td><span id="down_price"><?php echo $order_info->comm_price ? $order_info->comm_price : "0";?><?php echo " USDT";?></span></td>
            </tr>
            <?php  } ?>
              </tbody>
            </table>
          </div>
          </div>