Closed kroces closed 1 year ago
Ok, I didnt read documentation. sorry What I needed was on https://wkhtmltopdf.org/usage/wkhtmltopdf.txt in "section", "Headers and footers can also be supplied with HTML documents". But, beware tag script does not work if you are using "php artisan serve" command.
how do you send [page] and [topage] in a header-html? is it possible?
my option: ->setOption('header-html', View::make('my.path', ['order' => $order])->render())