<?php if($trade->noInvoice):?>
<div class='noInvoice hide'>
  <span class='label label-warning' style='top:-2px'><?php echo $lang->trade->invoiceless;?></span>
</div>

<script>
$('.side-col table tr:nth(2) td').append($('.noInvoice').html());
</script>
<?php endif;?>

<?php if($trade->alipayTradeNo):?>
<div class='alipayTradeNo hide'>
  <table>
    <tbody>
      <tr>
        <th><?php echo $lang->trade->alipayTradeNo;?></th>
        <td><?php echo $trade->alipayTradeNo;?></td>
      </tr>
    </tbody>
  </table>
</div>

<script>
$('.side-col table tr:nth(0) > th').removeClass('w-80px').addClass('w-90px');
$('.side-col table tr:nth(2)').after($('.alipayTradeNo table tbody').html());
</script>
<?php endif;?>
