Inserimento barcode della commessa (template.blade.php)
This commit is contained in:
parent
c1b8a3e48e
commit
0bb00623b9
@ -41,7 +41,13 @@ class ClienteController extends Controller
|
|||||||
{
|
{
|
||||||
|
|
||||||
$pdf=Pdf::loadview('PDF.informativa',['cliente'=>Cliente::getClientebyId($id)]);
|
$pdf=Pdf::loadview('PDF.informativa',['cliente'=>Cliente::getClientebyId($id)]);
|
||||||
//$pdf=Pdf::loadview('PDF.template');
|
return $pdf->stream();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function schedaCommessaPDF($idcommessa)
|
||||||
|
{
|
||||||
|
$idcommessa='081231723897';
|
||||||
|
$pdf=Pdf::loadview('PDF.template',['barcode'=>Cliente::generateBarcode($idcommessa)]);
|
||||||
return $pdf->stream();
|
return $pdf->stream();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user