foca-abm-precios-condiciones-listado.html 1.25 KB
<foca-cabecera-facturador 
    titulo="'Precios y condiciones'"
    fecha="now"
    class="mb-0 col-lg-12"
    ></foca-cabecera-facturador>
<div class="lista">
    <table class="table table-sm table-hover table-nonfluid">
        <thead>
            <tr>
                <th>Código</th>
                <th>Nombre</th>
                <th colspan="2" class="text-center">
                    <button class="btn btn-default boton-accion" ng-click="editar(0)">
                        <i class="fa fa-plus"></i>
                    </button>
                </th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="precioCondicion in preciosCondiciones">
                <td ng-bind="precioCondicion.codigo"></td>
                <td ng-bind="precioCondicion.nombre"></td>
                <td>
                    <button class="btn btn-default boton-accion" ng-click="editar(precioCondicion.id)">
                        <i class="fa fa-pencil"></i>
                    </button>
                    <button class="btn btn-default boton-accion" ng-click="solicitarConfirmacion(precioCondicion)">
                        <i class="fa fa-trash"></i>
                    </button>
                </td>
            </tr>
        </tbody>
    </table>
</div>