<div id="verdetalle<?php echo $reg["tra_id"];?>" class="modal fade" tabindex="-1" role="dialog">
    <div class="modal-dialog  modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">Detalle del Traslado</h4>
            </div>
            <div class="modal-body">
                <div class="table-responsive">
                    <table class="table table-bordered table-hover table-striped">
                        <tr>
                            <th>CODIGO</th>
                            <th>CANTIDAD</th>
                            <th>DESCRIPCION</th>
                        </tr>
                        <?php
                            $tra_id=$reg['tra_id'];   
                            $sql1=mysqli_query($con, "SELECT * from traslado_detalle where traslado_tra_id='$tra_id'");
                            while ($row=mysqli_fetch_array($sql1))
                            {
                                $trad_referencia=$row['trad_referencia'];
                                $trad_nombre=$row['trad_nombre'];
                                $trad_cantidad=$row['trad_cantidad'];
                        ?>
                        <tr>
                            <td><?php echo $trad_referencia;?></td>
                            <td><?php echo $trad_cantidad;?></td>
                            <td><?php echo $trad_nombre;?></td>
                        </tr>   
                        <?php  } ?>
                    </table>
                </div> <!-- /.responsive- -->
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div>
</div>