Feat: Create a Service for Download Proof and make it reusable

This commit is contained in:
Sallu9007
2025-05-11 15:41:58 +05:30
parent c224497740
commit 6e634eda5a
4 changed files with 141 additions and 58 deletions

View File

@@ -139,12 +139,10 @@
</div>
</div>
</div>
<button id="download-proofs" class="btn btn-success ms-2" disabled>
<i class="fas fa-download me-1"></i> Download Proofs
</button>
<!-- Include the reusable download-proofs component -->
<x-download-proofs :route="route('activitiesAttended.downloadProofs')" />
</div>
<!-- Table -->
<div class="table-responsive">
<table id="responses-table" class="table table-striped table-hover">
@@ -265,7 +263,6 @@
</div>
</div>
@endif
@endsection
@section('scripts')