mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Add wait for report with chart
This commit is contained in:
committed by
Constantin Graf
parent
a4d8a02b80
commit
05da595470
@@ -409,6 +409,7 @@ class TimeEntryController extends Controller
|
||||
$footerHtml = Blade::render($footerViewFile);
|
||||
$request = Gotenberg::chromium(config('services.gotenberg.url'))
|
||||
->pdf()
|
||||
->waitForExpression("window.status === 'ready'")
|
||||
->pdfa('PDF/A-3b')
|
||||
->paperSize('8.27', '11.7') // A4
|
||||
->footer(Stream::string('footer', $footerHtml))
|
||||
|
||||
Reference in New Issue
Block a user