Commit 21a3b935b72a3dd73ea70fd4e4548294e9c0d172

Authored by Eric Fernandez
1 parent 09f6214677
Exists in master

Agrego botón para crear nota de pedido

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/views/nota-pedido-lista.html
1 <table class="table table-sm table-hover table-nonfluid"> 1 <table class="table table-sm table-hover table-nonfluid">
2 <thead> 2 <thead>
3 <tr> 3 <tr>
4 <th>Código</th> 4 <th>Código</th>
5 <th>Vendedor</th> 5 <th>Vendedor</th>
6 <th>Cliente</th> 6 <th>Cliente</th>
7 <th>Petrolera</th> 7 <th>Petrolera</th>
8 <th></th> 8 <th><button class="btn btn-primary" ng-click="crearPedido()">Crear</button></th>
9 </tr> 9 </tr>
10 </thead> 10 </thead>
11 <tbody> 11 <tbody>
12 <tr ng-repeat="item in notaPedidos"> 12 <tr ng-repeat="item in notaPedidos">
13 <td ng-bind="item.id"></td> 13 <td ng-bind="item.id"></td>
14 <td ng-bind="item.vendedor"></td> 14 <td ng-bind="item.vendedor"></td>
15 <td ng-bind="item.cliente"></td> 15 <td ng-bind="item.cliente"></td>
16 <td ng-bind="item.petrolera"></td> 16 <td ng-bind="item.petrolera"></td>
17 <td> 17 <td>
18 <button ng-click="editar(item)"><i class="glyphicon glyphicon-pencil"></i></button> 18 <button class="btn btn-info" ng-click="editar(item)"><i class="fa fa-edit"></i></button>
19 <button ng-click="borrar(item.id)"><i class="glyphicon glyphicon-trash"></i></button> 19 <!-- <button class="btn btn-danger" ng-click="borrar(item.id)"><i class="fa fa-trash"></i></button> -->
20 </td> 20 </td>
21 </tr> 21 </tr>
22 </tbody> 22 </tbody>
23 </table>
23 </table>