Files
pds/resources/views/filament/pages/panel-box-inspection-stock.blade.php
dhanabalan fcbe328833
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Laravel Pint / pint (pull_request) Successful in 2m34s
Laravel Larastan / larastan (pull_request) Failing after 4m36s
Added audio in panel box inspection stock page
2026-10-26 11:06:00 +05:30

27 lines
675 B
PHP

<x-filament-panels::page>
<div class="space-y-4">
<div class="space-y-4">
{{ $this->form }}
</div>
</div>
<audio id="error-sound" src="{{ asset('sounds/scan_serial_tamil.mp3') }}" preload="auto"></audio>
<script>
document.addEventListener('livewire:init', () => {
Livewire.on('play-error-sound', () => {
const audio = document.getElementById('error-sound');
if (audio) {
audio.currentTime = 0;
audio.play().catch(error => {
console.log('Could not play error sound:', error);
});
}
});
});
</script>
</x-filament-panels::page>