thank you for your respect 🤠
esto no funcionaba?
eso se usa cuando quieres referneciar a tu misma ruta
https://laravel.com/docs/5.7/urls#accessing-the-current-url
Documentation.
ah thanks.
Ready, Thanks.
Dale muchas gracias.
no hay problema.
Do u know what is a controller file 😐?

I have created symlink also
Any solution
Then create symlink
Then made on file name invoice.blade.php in resource/view
Then created a controller for it
Then updated the web.php with routes




See I have not mentioned any font or storage but I don’t know why it ….

views/pdf/invoice


#dompdf: Dompdf {#550 ▼
-version: “dompdf <75f13c70>”
-dom: DOMDocument {#577 ▶}
-tree: FrameTree {#576 ▶}
-css: Stylesheet {#560 ▶}
-canvas: CPDF {#570 ▶}
-paperSize: “a4”
-paperOrientation: “portrait”
-callbacks: []
-cacheId: null
-baseHost: “”
-basePath: “C:xampphtdocsturmericturmerichotelpublic”
-protocol: null
-httpContext: null
-startTime: null
-systemLocale: null
-localeStandard: true
-defaultView: “Fit”
-defaultViewOptions: []
-quirksmode: true
-allowedProtocols: array:5 [▶]
-allowedLocalFileExtensions: array:2 [▶]
-messages: []
-options: Options {#563 ▶}
-fontMetrics: FontMetrics {#568 ▶}
}
#config: Repository {#42 ▶}
#files: Filesystem {#176}
#view: Factory {#177 ▼
#engines: EngineResolver {#170 ▶}
#finder: FileViewFinder {#175 ▶}
#events: Dispatcher {#35 ▶}
#container: Application {#2 ▶}
#shared: array:3 [▶]
#extensions: array:4 [▶]
#composers: []
#renderCount: 0
#componentStack: []
#componentData: []
#slots: []
#slotStack: []
#sections: []
#sectionStack: []
#loopsStack: []
#pushes: []
#prepends: []
#pushStack: []
#translationReplacements: []
}
#rendered: false
#showWarnings: false
#public_path: null
}
</thead>
<tbody>
<tr>
<td></td>
<td class=”text-center”>996311</td>
<td class=”text-center”></td>
<td class=”text-right”></td>
</tr>
<tr>
<td class=”highrow”></td>
<td class=”highrow”></td>
<td class=”highrow text-center”><strong>Subtotal</strong></td>
<td class=”highrow text-right”></td>
</tr>
<tr>
<td class=”emptyrow”></td>
<td class=”emptyrow”></td>
<td class=”emptyrow text-center”><strong>SGST</strong></td>
<td class=”emptyrow text-right”></td>
</tr>
<tr>
<td class=”emptyrow”></td>
<td class=”emptyrow”></td>
<td class=”emptyrow text-center”><strong>CGST</strong></td>
<td class=”emptyrow text-right”></td>
</tr>
<tr>
<td class=”emptyrow”></td>
<td class=”emptyrow”></td>
<td class=”emptyrow text-center”><strong>Total</strong></td>
<td class=”emptyrow text-right”></td>
</tr>
<td> Note: This is a computer generated invoice and doesn’t require any signature</td>
<td class=”text-center”></td>
<td class=”text-center”></td>
<td class=”text-right”></td>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
.height {
min-height: 200px;
}
.icon {
font-size: 47px;
color: #5CB85C;
}
.iconbig {
font-size: 77px;
color: #5CB85C;
}
.table > tbody > tr > .emptyrow {
border-top: none;
}
.table > thead > tr > .emptyrow {
border-bottom: none;
}
.table > tbody > tr > .highrow {
border-top: 3px solid;
}
</style>
<!– Simple Invoice – END –>
</div>
</body>
</html>
<html>
<head>
<meta charset=”utf-8″ />
<title>The Turmeric Hotel – Tax Invoice</title>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
<link rel=”stylesheet” type=”text/css” href=”bootstrap/css/bootstrap.min.css” />
<link rel=”stylesheet” type=”text/css” href=”font-awesome/css/font-awesome.min.css” />
<script type=”text/javascript” src=”js/jquery-1.10.2.min.js”></script>
<script type=”text/javascript” src=”bootstrap/js/bootstrap.min.js”></script>
</head>
<body>
<div class=”container”>
<div class=”page-header”>
<img src=”assets/images/logo.png” alt=”” class=”img-responsive”>
</div>
<!– Simple Invoice – START –>
<div class=”container”>
<div class=”row”>
<div class=”col-xs-12″>
<div class=”text-center”>
<h2>Tax Invoice</h2>
</div>
<hr>
<div class=”row”>
<div class=”col-xs-12 col-md-3 col-lg-3 pull-left”>
<div class=”panel panel-default height”>
<div class=”panel-heading”>Billing Details</div>
<div class=”panel-body”>
<strong>The Turmeric hotel</strong><br>
In Front of Bahadur Bidyapitha, Daringbadi, Odisha<br>
762104<br>
<strong>GSTIN:</strong>21AAOFT9702G1Z4<br>
</div>
</div>
</div>
<div class=”col-xs-12 col-md-3 col-lg-3″>
<div class=”panel panel-default height”>
<div class=”panel-heading”>Payment Information</div>
<div class=”panel-body”>
<strong>Payment Id:</strong> <br>
<strong>Date of Payment:</strong> <br>
</div>
</div>
</div>
<div class=”col-xs-12 col-md-3 col-lg-3″>
<div class=”panel panel-default height”>
<div class=”panel-heading”>Customer Details</div>
<div class=”panel-body”>
<strong>Name:</strong> <br>
<strong>Email:</strong> <br>
<strong>Mobile:</strong> <br>
<strong>GSTIN:</strong> <br>
<strong>PAN:</strong> <br>
</div>
</div>
</div>
<div class=”col-xs-12 col-md-3 col-lg-3 pull-right”>
<div class=”panel panel-default height”>
<div class=”panel-heading”>Booking Details</div>
<div class=”panel-body”>
<strong>Check In:</strong><br>
<strong>Check Out:</strong><br>
<strong>Booking Id:</strong><br>
<strong>Invoice No:</strong><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=”row”>
<div class=”col-md-12″>
<div class=”panel panel-default”>
<div class=”panel-heading”>
<h3 class=”text-center”><strong>Order summary</strong></h3>
</div>
<div class=”panel-body”>
<div class=”table-responsive”>
<table class=”table table-condensed”>
<thead>
<tr>
<td><strong>Description</strong></td>
<td class=”text-center”><strong>HSN/SAC</strong></td>
<td class=”text-center”><strong>Tariff</strong></td>
<td class=”text-right”><strong>Amount</strong></td>