ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/updates/app/Http/Controllers/Seller/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/updates/app/Http/Controllers/Seller/PaymentController.php

<?php

namespace App\Http\Controllers\Seller;

use App\Models\Payment;
use Auth;

class PaymentController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $payments = Payment::where('seller_id', Auth::user()->id)->paginate(9);
        return view('seller.payment_history', compact('payments'));
    }
}

Zerion Mini Shell 1.0