MIF_E31222881/app/Http/Controllers/PaymentController.php

78 lines
1.4 KiB
PHP

<?php
namespace App\Http\Controllers;
use App\Models\Payment;
use Illuminate\Http\Request;
use App\Models\Santri;
use Inertia\Inertia;
class PaymentController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index() {}
public function manualPayment()
{
$santri = Santri::with('payments', 'payments.detailPayments', 'payments.detailPayments.paymentType')->get();
return Inertia::render('list-admin/payment/ManualPayment', [
'santri' => $santri,
'fields' => [
'nis' => 'text',
]
]);
}
/**
* 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(Payment $payment)
{
//
}
/**
* Show the form for editing the specified resource.
*/
public function edit(Payment $payment)
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, Payment $payment)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Payment $payment)
{
//
}
}