76 lines
1.5 KiB
PHP
76 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Admin;
|
|
|
|
use App\Models\Refund;
|
|
use App\Models\Refunds;
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Http\Request;
|
|
|
|
class RefundController extends Controller
|
|
{
|
|
/**
|
|
* Display a listing of the resource.
|
|
*/
|
|
public function index()
|
|
{
|
|
// $refundData = Refund::all();
|
|
// return view('Admin.refund.history-refund', ['history_refund' => $refundData]);
|
|
return view('admin/refund/history-refund',[
|
|
'name'=>'Jilhan Haura',
|
|
"history_refund" => Refunds::HistoryRefund()
|
|
]);
|
|
}
|
|
|
|
/**
|
|
* Show the form for creating a new resource.
|
|
*/
|
|
public function create()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Store a newly created resource in storage.
|
|
*/
|
|
public function store(Request $request)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Display the specified resource.
|
|
*/
|
|
public function show(Refund $refund)
|
|
{
|
|
return view('admin/refund/detail-refund',[
|
|
'name'=>'Jilhan Haura',
|
|
"detail_refund"=> Refunds::DetailRefund()
|
|
]);
|
|
}
|
|
|
|
/**
|
|
* Show the form for editing the specified resource.
|
|
*/
|
|
public function edit(Refund $refund)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Update the specified resource in storage.
|
|
*/
|
|
public function update(Request $request, Refund $refund)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Remove the specified resource from storage.
|
|
*/
|
|
public function destroy(Refund $refund)
|
|
{
|
|
//
|
|
}
|
|
}
|