fix: resolve receipt 404 and add save receipt pdf functionality

This commit is contained in:
2026-05-01 09:32:26 -04:00
parent 290498c728
commit a3fd278536
3 changed files with 40 additions and 3 deletions
+6 -3
View File
@@ -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>