<?php


/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/


include_once('/home/leaparyanict/sec.leap.aryanict.com/project-security.php');

use App\Http\Controllers\InvoicePayment\InvoicePaymentController;
use Illuminate\Support\Facades\Route;

require __DIR__.'/auth.php';
require __DIR__.'/user.php';
require __DIR__.'/admin.php';


Route::controller(InvoicePaymentController::class)->group(function(){

    Route::get('/invoice-payment', 'index')->name('invoice.index');
    Route::post('/invoice-payment-result', 'checkInvoice')->name('check.invoice');

});