gnmg
gnmg

Reputation: 41

How to change default text in Laravel Spark PDF receipt?

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.

Upvotes: 0

Views: 258

Answers (1)

Kevin Marsden
Kevin Marsden

Reputation: 764

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

Upvotes: 1

Related Questions