Skip to content

Instantly share code, notes, and snippets.

Last active March 6, 2020 20:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
@section("titulo", "Agregar producto")
<div class="row">
<div class="col-12">
<form method="POST" action="{{route("")}}">
<div class="form-group">
<label class="label">Código de barras</label>
<input required autocomplete="off" name="codigo_barras" class="form-control"
type="text" placeholder="Código de barras">
<div class="form-group">
<label class="label">Descripción</label>
<input required autocomplete="off" name="descripcion" class="form-control"
type="text" placeholder="Descripción">
<div class="form-group">
<label class="label">Precio de compra</label>
<input required autocomplete="off" name="precio_compra" class="form-control"
type="decimal(9,2)" placeholder="Precio de compra">
<div class="form-group">
<label class="label">Precio de venta</label>
<input required autocomplete="off" name="precio_venta" class="form-control"
type="decimal(9,2)" placeholder="Precio de venta">
<div class="form-group">
<label class="label">Existencia</label>
<input required autocomplete="off" name="existencia" class="form-control"
type="decimal(9,2)" placeholder="Existencia">
<button class="btn btn-success">Guardar</button>
<a class="btn btn-primary" href="{{route("productos.index")}}">Volver al listado</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment