forked from TFMM/silent-auction
fix: resolve receipt 404 and add save receipt pdf functionality
This commit is contained in:
@@ -24,11 +24,14 @@
|
||||
</h4>
|
||||
</th>
|
||||
<th align='right'>
|
||||
<h2>
|
||||
<a class="btn btn-primary" target=_blank href="receiptpdf?checkout_id={{$checkout_result }}" role="button">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary" target=_blank href="{{ route('receiptpdf', ['checkout_id' => $checkout_result]) }}" role="button">
|
||||
Print Receipt
|
||||
</a>
|
||||
</h2>
|
||||
<a class="btn btn-success" href="{{ route('download_receipt', ['checkout_id' => $checkout_result]) }}" role="button">
|
||||
Save Receipt PDF
|
||||
</a>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user