report
This commit is contained in:
@@ -12,7 +12,12 @@ use App\Models\ManageRestaurant;
|
||||
|
||||
class ManageReportsController extends Controller
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* Created By : sayali parab
|
||||
* Created at : 03 July 2024
|
||||
* Use : To get manage report page.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
try {
|
||||
@@ -25,17 +30,15 @@ class ManageReportsController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
// public function exportReports(Request $request)
|
||||
// {
|
||||
// $reportType = $request->input('reportType');
|
||||
// $states = $request->input('states');
|
||||
// $startDate = $request->input('startDate');
|
||||
// $endDate = $request->input('endDate');
|
||||
|
||||
// return Excel::download(new ReportExport($reportType, $states, $startDate, $endDate), 'report.xlsx');
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* Created By : sayali parab
|
||||
* Created at : 03 July 2024
|
||||
* Use : To download the excel.
|
||||
*/
|
||||
|
||||
public function exportReports(Request $request)
|
||||
{
|
||||
$reportType = $request->input('reportType');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="footer-wrapper">
|
||||
<div class="footer-section f-section-1">
|
||||
<p class="">Copyright © <span class="dynamic-year">2022</span>All rights reserved.</p>
|
||||
<p class="">Copyright © <span class="dynamic-year">2024</span>All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../layouts/modern-light-menu/loader.js"></script>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
<div class="footer-wrapper">
|
||||
<div class="footer-section f-section-1">
|
||||
<p class="">Copyright © <span class="dynamic-year">2022</span>All rights reserved.</p>
|
||||
<p class="">Copyright © <span class="dynamic-year">2024</span>All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
@yield('scripts')
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<td>{{ $redemption->restaurant->name ?? 'N/A' }}</td>
|
||||
<td>{{ $redemption->redeem_date }}</td>
|
||||
<td>{{ $redemption->customer->state->name ?? 'N/A' }}</td>
|
||||
<td>{{$redemption->created_at ?? 'N/A'}}</td>
|
||||
<td> {{$redemption->created_at ?? 'N/A'}} </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user