Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 28s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 26s
Laravel Pint / pint (pull_request) Successful in 3m19s
Laravel Larastan / larastan (pull_request) Failing after 4m42s
29 lines
424 B
PHP
29 lines
424 B
PHP
<x-filament-panels::page>
|
|
|
|
|
|
{{ $this->form }}
|
|
|
|
<script>
|
|
document.addEventListener('livewire:init', () => {
|
|
|
|
Livewire.on('open-sticker-pdf', (event) => {
|
|
|
|
console.log('PDF EVENT RECEIVED', event);
|
|
|
|
const urls = event.urls;
|
|
|
|
console.log('PDF URLs:', urls);
|
|
|
|
urls.forEach(url => {
|
|
window.open(url, '_blank');
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</x-filament-panels::page>
|
|
|
|
|