1
0
forked from poc/pds

Added sticker print page

This commit is contained in:
dhanabalan
2026-08-12 09:38:35 +05:30
parent 26dd1bddc1
commit 91ede80655
2 changed files with 469 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<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>