funcion/arreglar-planillas #43

Merged
atasistro merged 22 commits from funcion/arreglar-planillas into master 2025-05-12 19:42:28 -03:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit b1caed8b15 - Show all commits

View file

@ -128,7 +128,7 @@ class Subpedido extends Model
public function generarHTML()
{
$view = view("pdfgen.subpedido_tabla", ["subpedido" => $this]);
$view = view("pdfgen.pedido_tabla", ["pedido" => $this]);
return $view->render();
}

View file

@ -4,7 +4,7 @@
background: #CCC
}
</style>
<h3>{{$subpedido->nombre}}</h3>
<h3>{{$pedido->nombre}}</h3>
<table style="width: 100%">
<tr>
@ -25,7 +25,7 @@
</th>
</tr>
@foreach($subpedido->productos as $producto)
@foreach($pedido->productos as $producto)
@if(!$producto->bono)
<tr>