Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@section("titulo", "Detalle de venta ")
<div class="row">
<div class="col-12">
<h1>Detalle de venta #{{$venta->id}}</h1>
<a class="btn btn-info" href="{{route("ventas.index")}}">
<i class="fa fa-arrow-left"></i>&nbsp;Volver
<a class="btn btn-success" href="{{route("ventas.ticket", ["id" => $venta->id])}}">
<i class="fa fa-print"></i>&nbsp;Ticket
<table class="table table-bordered">
<th>Código de barras</th>
@foreach($venta->productos as $producto)
<td>${{number_format($producto->cantidad * $producto->precio)}}</td>
<td colspan="3"></td>
<td>${{number_format($total, 2)}}</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.