Move copyLogs from PHP Livewire method to Alpine.js to avoid unnecessary server round-trips. Extract collectVisibleLogs() helper shared by both copy and download actions. Hide refund section entirely when not eligible instead of rendering a permanently disabled button. |
||
|---|---|---|
| .. | ||
| index.blade.php | ||
| show.blade.php | ||