You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
722 B
PHTML

1 year ago
<?php
namespace App\Http\Controllers\Customer;
use App\Http\Controllers\Controller;
use App\Models\PaylaterHistory;
use Illuminate\Http\Request;
class PaylaterController extends Controller
{
public function index()
{
$histories = PaylaterHistory::where('customer_id', auth()->id())
->orderBy('updated_at', 'desc');
return inertia('Paylater/Index', [
'histories' => $histories->paginate(20),
]);
}
public function show(Request $request, PaylaterHistory $paylater)
{
return inertia('Paylater/Detail', [
'paylater' => $paylater,
]);
}
public function create()
{
}
public function store()
{
}
1 year ago
}