Commits

Alejandro Villanueva committed 3ed5d78

Fixing moved table and link to edit sales in checkout and detail of sales

  • Participants
  • Parent commits 398fd49

Comments (0)

Files changed (2)

File templates/ventas/checkout.html

         </table>
            
         </div>
+        {% if perms.ventas.change_ventas %}
+            <a class="btn btn-info btn-mini" href="{% url apps.ventas.views.edit_ventas venta.id %}"><i class="icon-pencil icon-white"></i> Editar</a>
+        {% endif %}
     </div>
 {% endblock %}

File templates/ventas/pendientes.html

             <h2>Ventas Pendientes</h2>
         </div>
         <div class="row-fluid span10">
-            <hr />
             <ul class="pager">
                 {% if ventas.has_previous %}
                     <li class="previous">
                 {% endif %}
             </ul>
         </div>
-        <div>
-            <table class="table table-striped  table-condensed table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
+        <div class="table table-striped  table-condensed table-bordered">
+            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <thead>
                <tr>
                     <th>Contrato</th>