How to change default text in Laravel Spark PDF receipt?

238 Views Asked by At

I need to translate text on the PDF receipt like Invoice Number: Product: but can not find in the code where to do this. Please direct me the correct files.

1

There are 1 best solutions below

2
Kevin Marsden On

Laravel Spark uses Cashier to generate the PDF invoices. After publishing the Cashier views, you can edit the receipt.blade.php file in /resources/views/vendor/cashier

Publish the Cashier views by running:

php artisan vendor:publish --tag=cashier-views