Skip to content

Commit

Permalink
Changed the way the user selects the owner of the sale.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbdavide committed Oct 16, 2017
1 parent 5a9b6c5 commit 8794a6c
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions sales/templates/sales/create_sale.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,31 @@ <h1>Ingreso</h1>
<div class="form-group">
<label for="bar-code">Descripción: </label>
<input type="text" class="form-control" id="descripcion" placeholder="Descripción" required>
</div>
<div class="form-group">
<label for="bar-code">Cédula Empleado: </label>
<div class="input-group">
<span class="input-group-addon">C.C.</span>
<input type="text" class="form-control" id="cedula_vendedor" placeholder="Cédula del vendedor" required>
</div>
</div>
<div class="form-group">
<label for="bar-code">Cédula Cliente: </label>
<div class="input-group">
<span class="input-group-addon">C.C.</span>
<input type="text" class="form-control" id="cedula_cliente" placeholder="Cédula del cliente">
<div class="row">
<div class="col">
<div class="form-group">
<label for="bar-code">Empleado: </label>
<div class="input-group">
<span class="input-group-addon">Nombre: </span>
<select class="form-control">
{% for employee in employees %}
<option >{{ employee.name }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
</div>
<div class="col">
<div class="form-group">
<label for="bar-code">Cliente: </label>
<div class="input-group">
<span class="input-group-addon">C.C.</span>
<input type="text" class="form-control" id="cedula_cliente" placeholder="Cédula del cliente">
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="row">
<div class="col">
Expand Down

0 comments on commit 8794a6c

Please sign in to comment.