<?php if($trade->type == 'in'):?>
<div class='noInvoice hide'>
  <?php $checked = $trade->noInvoice ? "checked='checked'" : '';?>
  <span class='input-group-addon'>
    <label class='checkbox-inline'><input type='checkbox' id='noInvoice' name='noInvoice' value='1' <?php echo $checked;?>> <?php echo $lang->trade->invoiceless;?></label>
  </span>
</div>

<script>
$('#money').parent('.input-group').append($('.noInvoice').html());
</script>
<?php endif;?>
