<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;

class my_payment_schedule_Controller extends Controller
{
    public $selfName = 'my_payment_schedule_Controller';
    public $dashboardName = 'dashboard';

	// GET /my_payment_schedule
	public function index(Request $request) {
		$records = DB::table('pro_rate')->where('pro_id', session('proId'))->get();
		return response()->view('pro/my_payment_schedule/index', compact('records'), session('message') ? 500 : 200)->header('Content-Type', 'text/html');
	}
}
