uksarkar

uksarkar

Member Since 8 Months Ago

Experience Points
4,810
Total
Experience

190 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
5
Lessons
Completed
Best Reply Awards
6
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
4,810 XP
Jan
15
2 days ago
Activity icon

Replied to What's Wrong With My Sql Query?

@mvd Oh… Really it was that!

Jan
14
3 days ago
Activity icon

Replied to How To Connect To Google Cloud MySql To Extranal Hosted Laravel Project

Hi @jove Here is my complete .env file


  APP_NAME=Laravel
  APP_ENV=production
  APP_KEY=base64:asdfgdfgrtyhdhjytuiu8oiouiolhuiouio=
  APP_DEBUG=true
  APP_LOG_LEVEL=debug
  APP_URL=https://bookr.xyz/squarepark

  DB_CONNECTION=mysql
  DB_HOST=35.198.221.85
  DB_PORT=3306
  DB_DATABASE=db_name
  DB_USERNAME=db_user
  DB_PASSWORD=password


  BROADCAST_DRIVER=log
  CACHE_DRIVER=file
  SESSION_DRIVER=file
  SESSION_LIFETIME=120
  QUEUE_DRIVER=sync
Activity icon

Started a new Conversation How To Connect To Google Cloud MySql To Extranal Hosted Laravel Project

I have working project hosted with a PHP server. I want to connect my project with Google Cloud MySQL instance. I have a instance and I add MySQL database and user to it, now I edit my .env file with the following content

DB_CONNECTION=mysql
DB_HOST= GCP instance IP address
DB_PORT=3306
DB_DATABASE= database name
DB_USERNAME= user name 
DB_PASSWORD= the password

Now I am getting error like this

SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'GCP instance IP address' (111 "Connection refused")
Activity icon

Replied to What's Wrong With My Sql Query?

@willvincent I am following your code but still same error

SELECT * 
FROM `rooms` WHERE
NOT EXIST ( 
    SELECT  *  
    FROM `reservation_nights`
    JOIN `reservations` 
    ON `reservation_nights`.`reservation_id` = `reservations`.`id`
    WHERE  `rooms`.`id` = `reservation_nights`.`room_id` 
    AND `reservations`.`status` NOT IN ('CANCEL')
);

@mvd I just tried your code but still same error.

Activity icon

Replied to What's Wrong With My Sql Query?

SELECT
  *
FROM
  `rooms`
WHERE
  NOT EXIST (
    SELECT
      *
    FROM
      `reservation_nights`
    JOIN `reservations`
    WHERE
      `rooms`.`id` = `reservation_nights`.`room_id` ON `reservation_nights`.`reservation_id` = `reservations`.`id`
      AND `reservations`.`status` NOT IN ('CANCEL')
  );

Same error is happening ):

Activity icon

Replied to What's Wrong With My Sql Query?

@bobbybouwmann Take a look at this picture here https://imgur.com/n94WDKL

Error in my hidiSql like this:

SQL Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELECT * FROM `reservation_nights` WHERE `rooms`.`id` = `reservation_nights`.`' at line 3uery
Activity icon

Started a new Conversation What's Wrong With My Sql Query?

SELECT
  *
FROM
  `rooms`
WHERE
  NOT EXIST (
    SELECT
      *
    FROM
      `reservation_nights`
    WHERE
      `rooms`.`id` = `reservation_nights`.`room_id`
      JOIN `reservations` ON `reservation_nights`.`reservation_id` = `reservations`.`id`
      AND `reservations`.`status` NOT IN ('CANCEL')
  );
Dec
25
3 weeks ago
Activity icon

Replied to How To Handle Dynamic Input Filed With One V-model

Thank you @piljac1 . I was just idiot :( .

Activity icon

Started a new Conversation How To Handle Dynamic Input Filed With One V-model

I am showing some input fields based on database. And I am trying to set one v-model on it. My code is here

<div class="form" v-for="product in products">
    <div class="title">@{{ product.title }} </div>
    <div class="qnt">
        <input type="number" v-model="form.qnt[product.id]">
    </div>
</div>

// vue data property
data: {
    form: {
        qnt: []
    },
}

I have loaded two products id(2,3). Now I am getting output like this [ 0:undefined, 1:undefined, 2:"5", 3:"4" ]. How can I get output like this [productId:inputValue].

Dec
24
3 weeks ago
Activity icon

Replied to How To Make Hidden Routes

@nakov finally I able to find the trick of registering route via package. Thanks a lot to you sir!

Activity icon

Replied to How To Make Hidden Routes

@nakov You are right, but I am not talking about /api/config route. I am wandering about /api/install route please take look at second two route in the picture.

Activity icon

Replied to How To Make Hidden Routes

@nakov And also I am not able to run route:list command some error is happening

In Container.php line 805:
                                                                                                      
  Target class [App\Http\Controllers\Configuration\Exam\ObservationRecordController] does not exist.  
                                                                                                      

In Container.php line 803:
                                                                                            
  Class App\Http\Controllers\Configuration\Exam\ObservationRecordController does not exist
Activity icon

Replied to How To Make Hidden Routes

@nakov I tried it but it's looks like clean, see here:

<?php

namespace App\Providers;

use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;

class RouteServiceProvider extends ServiceProvider
{
    /**
     * This namespace is applied to your controller routes.
     *
     * In addition, it is set as the URL generator's root namespace.
     *
     * @var string
     */
    protected $namespace = 'App\Http\Controllers';

    /**
     * Define your route model bindings, pattern filters, etc.
     *
     * @return void
     */
    public function boot()
    {
        //

        parent::boot();
    }

    /**
     * Define the routes for the application.
     *
     * @return void
     */
    public function map()
    {
        $this->mapApiRoutes();

        $this->mapWebRoutes();

        //
    }

    /**
     * Define the "web" routes for the application.
     *
     * These routes all receive session state, CSRF protection, etc.
     *
     * @return void
     */
    protected function mapWebRoutes()
    {
        Route::middleware('web')
             ->namespace($this->namespace)
             ->group(base_path('routes/web.php'));
    }

    /**
     * Define the "api" routes for the application.
     *
     * These routes are typically stateless.
     *
     * @return void
     */
    protected function mapApiRoutes()
    {
        Route::prefix('api')
             ->middleware('api')
             ->namespace($this->namespace)
             ->group(base_path('routes/api.php'));
    }
}

Dec
23
3 weeks ago
Activity icon

Started a new Conversation How To Make Hidden Routes

Currently, I am installing a Laravel project for an organization, but I am imagined to see an awesome implementation of installing process of the application. They are using some routes for installation process, but those routes are not defined to web.php or api.php. See the request here: https://i.imgur.com/zMvILLi.png

Here is the route files api.php

<?php

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
 */

// Guest Routes
Route::group(['prefix' => 'auth'], function () {
    Route::post('/login', 'Auth\[email protected]');
    Route::post('/login/otp', 'Auth\[email protected]');
    Route::post('/check', 'Auth\[email protected]');
    Route::post('/password', 'Auth\[email protected]');
    Route::post('/validate-password-reset', 'Auth\[email protected]');
    Route::post('/reset', 'Auth\[email protected]');
});

Route::get('/config', 'Configuration\[email protected]');

Route::post('/frontend/contact', 'Reception\[email protected]');
Route::get('/frontend/menu/list', 'Frontend\[email protected]');
Route::get('/frontend/page/{slug}/content', 'Frontend\[email protected]');
Route::get('/frontend/block/{uuid}/detail', 'Frontend\[email protected]');
Route::get('/frontend/article/list', 'Frontend\[email protected]');
Route::get('/frontend/article/{uuid}/detail', 'Frontend\[email protected]');
Route::get('/frontend/event/list', 'Frontend\[email protected]');
Route::get('/frontend/event/{uuid}/detail', 'Frontend\[email protected]');
Route::get('/frontend/teacher/list', 'Frontend\[email protected]');
Route::get('/frontend/calendar/event', 'Frontend\[email protected]');
Route::get('/frontend/online-registration/pre-requisite', 'Frontend\[email protected]');
Route::post('/frontend/online-registration', 'Student\[email protected]');

Route::group(['middleware' => ['auth:api']], function () {

    // Authentication Routes
    Route::post('/demo/message', '[email protected]');
    Route::post('/auth/refresh', 'Auth\[email protected]');
    Route::post('/auth/me', 'Auth\[email protected]');
    Route::post('/auth/logout', 'Auth\[email protected]');
    Route::post('/auth/lock', 'Auth\[email protected]');
    Route::post('/auth/security', 'Auth\[email protected]');
    Route::post('/change/password', 'Auth\[email protected]');
    Route::post('/user/preference', 'Auth\[email protected]');
    Route::get('/user/preference/pre-requisite', 'Auth\[email protected]');

    // Upload Routes
    Route::post('/upload', 'Upload\[email protected]');
    Route::post('/upload/extension', 'Upload\[email protected]');
    Route::post('/upload/image', 'Upload\[email protected]');
    Route::post('/upload/fetch', 'Upload\[email protected]');
    Route::post('/upload/{id}', 'Upload\[email protected]');

    // Dashboard & Report Routes
    Route::get('/dashboard', '[email protected]');
    Route::post('/dashboard/calendar/event', '[email protected]');
    Route::post('/dashboard/student/strength/chart', '[email protected]');
    Route::get('/search', '[email protected]');

    /*
             * Configuration Routes Start
    */
    Route::get('/configuration/variable', 'Configuration\[email protected]');
    Route::get('/configuration', 'Configuration\[email protected]');
    Route::post('/configuration', 'Configuration\[email protected]');
    Route::post('/configuration/{type}', 'Configuration\[email protected]');
    Route::delete('/configuration/{type}/remove', 'Configuration\[email protected]');
    Route::get('/fetch/lists', 'Configuration\[email protected]');
    Route::post('/setup/wizard', 'Configuration\[email protected]');

    Route::get('/locale', 'Configuration\[email protected]');
    Route::post('/locale', 'Configuration\[email protected]');
    Route::get('/locale/{id}', 'Configuration\[email protected]');
    Route::patch('/locale/{id}', 'Configuration\[email protected]');
    Route::delete('/locale/{id}', 'Configuration\[email protected]');
    Route::post('/locale/fetch', 'Configuration\[email protected]');
    Route::post('/locale/translate', 'Configuration\[email protected]');
    Route::post('/locale/add-word', 'Configuration\[email protected]');

    Route::get('/role', 'Configuration\[email protected]');
    Route::get('/role/employee/list', 'Configuration\[email protected]');
    Route::get('/role/{id}', 'Configuration\[email protected]');
    Route::post('/role', 'Configuration\[email protected]');
    Route::delete('/role/{id}', 'Configuration\[email protected]');

    Route::get('/permission', 'Configuration\[email protected]');
    Route::get('/permission/pre-requisite', 'Configuration\[email protected]');
    Route::get('/permission/{module}/pre-requisite', 'Configuration\[email protected]');
    Route::get('/permission/{id}', 'Configuration\[email protected]');
    Route::post('/permission', 'Configuration\[email protected]');
    Route::post('/permission/module', 'Configuration\[email protected]');
    /*
             * Configuration Routes End
    */

    /*
             * Utility Routes Start
    */
    Route::post('/backup', 'Utility\[email protected]');
    Route::get('/backup', 'Utility\[email protected]');
    Route::delete('/backup/{id}', 'Utility\[email protected]');

    Route::get('/ip-filter', 'Utility\[email protected]');
    Route::get('/ip-filter/{id}', 'Utility\[email protected]');
    Route::post('/ip-filter', 'Utility\[email protected]');
    Route::patch('/ip-filter/{id}', 'Utility\[email protected]');
    Route::delete('/ip-filter/{id}', 'Utility\[email protected]');

    Route::get('/email-template', 'Utility\[email protected]');
    Route::post('/email-template', 'Utility\[email protected]');
    Route::get('/email-template/{id}', 'Utility\[email protected]');
    Route::patch('/email-template/{id}', 'Utility\[email protected]');
    Route::delete('/email-template/{id}', 'Utility\[email protected]');
    Route::get('/email-template/{category}/lists', 'Utility\[email protected]');
    Route::get('/email-template/{id}/content', 'Utility\[email protected]');

    Route::get('/todo', 'Utility\[email protected]');
    Route::get('/todo/today', 'Utility\[email protected]');
    Route::get('/todo/{id}', 'Utility\[email protected]');
    Route::post('/todo', 'Utility\[email protected]');
    Route::patch('/todo/{id}', 'Utility\[email protected]');
    Route::delete('/todo/{id}', 'Utility\[email protected]');
    Route::post('/todo/{id}/status', 'Utility\[email protected]');

    Route::get('/email-log', 'Utility\[email protected]');
    Route::get('/email-log/{id}', 'Utility\[email protected]');
    Route::delete('/email-log/{id}', 'Utility\[email protected]');

    Route::get('/activity-log', 'Utility\[email protected]');
    Route::delete('/activity-log/{id}', 'Utility\[email protected]');
    /*
             * Utility Routes End
    */

    /*
             * Misc Routes Start
    */

    Route::get('/custom-field/pre-requisite', 'Configuration\[email protected]');
    Route::get('/custom-field', 'Configuration\[email protected]');
    Route::get('/custom-field/fetch', 'Configuration\[email protected]');
    Route::get('/custom-field/{id}', 'Configuration\[email protected]');
    Route::post('/custom-field', 'Configuration\[email protected]');
    Route::post('/custom-field/reorder', 'Configuration\[email protected]');
    Route::post('/custom-field/print', 'Configuration\[email protected]');
    Route::post('/custom-field/pdf', 'Configuration\[email protected]');
    Route::patch('/custom-field/{id}', 'Configuration\[email protected]');
    Route::delete('/custom-field/{id}', 'Configuration\[email protected]');

    Route::get('/misc/blood/group', 'Configuration\Misc\[email protected]');
    Route::get('/misc/blood/group/{id}', 'Configuration\Misc\[email protected]');
    Route::post('/misc/blood/group', 'Configuration\Misc\[email protected]');
    Route::post('/misc/blood/group/print', 'Configuration\Misc\[email protected]');
    Route::post('/misc/blood/group/pdf', 'Configuration\Misc\[email protected]');
    Route::patch('/misc/blood/group/{id}', 'Configuration\Misc\[email protected]');
    Route::delete('/misc/blood/group/{id}', 'Configuration\Misc\[email protected]');

    Route::get('/misc/religion', 'Configuration\Misc\[email protected]');
    Route::get('/misc/religion/{id}', 'Configuration\Misc\[email protected]');
    Route::post('/misc/religion', 'Configuration\Misc\[email protected]');
    Route::post('/misc/religion/print', 'Configuration\Misc\[email protected]');
    Route::post('/misc/religion/pdf', 'Configuration\Misc\[email protected]');
    Route::patch('/misc/religion/{id}', 'Configuration\Misc\[email protected]');
    Route::delete('/misc/religion/{id}', 'Configuration\Misc\[email protected]');

    Route::get('/misc/caste', 'Configuration\Misc\[email protected]');
    Route::get('/misc/caste/{id}', 'Configuration\Misc\[email protected]');
    Route::post('/misc/caste', 'Configuration\Misc\[email protected]');
    Route::post('/misc/caste/print', 'Configuration\Misc\[email protected]');
    Route::post('/misc/caste/pdf', 'Configuration\Misc\[email protected]');
    Route::patch('/misc/caste/{id}', 'Configuration\Misc\[email protected]');
    Route::delete('/misc/caste/{id}', 'Configuration\Misc\[email protected]');

    Route::get('/misc/category', 'Configuration\Misc\[email protected]');
    Route::get('/misc/category/{id}', 'Configuration\Misc\[email protected]');
    Route::post('/misc/category', 'Configuration\Misc\[email protected]');
    Route::post('/misc/category/print', 'Configuration\Misc\[email protected]');
    Route::post('/misc/category/pdf', 'Configuration\Misc\[email protected]');
    Route::patch('/misc/category/{id}', 'Configuration\Misc\[email protected]');
    Route::delete('/misc/category/{id}', 'Configuration\Misc\[email protected]');

    Route::get('/academic/course/group', 'Configuration\Academic\[email protected]');
    Route::get('/academic/course/group/{id}', 'Configuration\Academic\[email protected]');
    Route::post('/academic/course/group', 'Configuration\Academic\[email protected]');
    Route::post('/academic/course/group/reorder', 'Configuration\Academic\[email protected]');
    Route::post('/academic/course/group/print', 'Configuration\Academic\[email protected]');
    Route::post('/academic/course/group/pdf', 'Configuration\Academic\[email protected]');
    Route::patch('/academic/course/group/{id}', 'Configuration\Academic\[email protected]');
    Route::delete('/academic/course/group/{id}', 'Configuration\Academic\[email protected]');

    Route::get('/academic/institute', 'Configuration\Academic\[email protected]');
    Route::get('/academic/institute/{id}', 'Configuration\Academic\[email protected]');
    Route::post('/academic/institute', 'Configuration\Academic\[email protected]');
    Route::post('/academic/institute/print', 'Configuration\Academic\[email protected]');
    Route::post('/academic/institute/pdf', 'Configuration\Academic\[email protected]');
    Route::patch('/academic/institute/{id}', 'Configuration\Academic\[email protected]');
    Route::delete('/academic/institute/{id}', 'Configuration\Academic\[email protected]');

    Route::get('/academic/certificate/template/pre-requisite', 'Configuration\Academic\[email protected]');
    Route::get('/academic/certificate/template', 'Configuration\Academic\[email protected]');
    Route::get('/academic/certificate/template/{id}', 'Configuration\Academic\[email protected]');
    Route::post('/academic/certificate/template', 'Configuration\Academic\[email protected]');
    Route::post('/academic/certificate/template/print', 'Configuration\Academic\[email protected]');
    Route::post('/academic/certificate/template/pdf', 'Configuration\Academic\[email protected]');
    Route::patch('/academic/certificate/template/{id}', 'Configuration\Academic\[email protected]');
    Route::delete('/academic/certificate/template/{id}', 'Configuration\Academic\[email protected]');

    Route::get('/academic/id-card/template', 'Configuration\Academic\[email protected]');
    Route::get('/academic/id-card/template/{id}', 'Configuration\Academic\[email protected]');
    Route::post('/academic/id-card/template', 'Configuration\Academic\[email protected]');
    Route::post('/academic/id-card/template/print', 'Configuration\Academic\[email protected]');
    Route::post('/academic/id-card/template/pdf', 'Configuration\Academic\[email protected]');
    Route::patch('/academic/id-card/template/{id}', 'Configuration\Academic\[email protected]');
    Route::delete('/academic/id-card/template/{id}', 'Configuration\Academic\[email protected]');

    Route::post('/academic/id-card/template/{type}/{id}', 'Configuration\Academic\[email protected]');
    Route::delete('/academic/id-card/template/{type}/remove/{id}', 'Configuration\Academic\[email protected]');

    Route::get('/asset/building', 'Configuration\Asset\[email protected]');
    Route::get('/asset/building/{id}', 'Configuration\Asset\[email protected]');
    Route::post('/asset/building', 'Configuration\Asset\[email protected]');
    Route::post('/asset/building/print', 'Configuration\Asset\[email protected]');
    Route::post('/asset/building/pdf', 'Configuration\Asset\[email protected]');
    Route::patch('/asset/building/{id}', 'Configuration\Asset\[email protected]');
    Route::delete('/asset/building/{id}', 'Configuration\Asset\[email protected]');

    Route::get('/asset/room/pre-requisite', 'Configuration\Asset\[email protected]');
    Route::get('/asset/room', 'Configuration\Asset\[email protected]');
    Route::get('/asset/room/{id}', 'Configuration\Asset\[email protected]');
    Route::post('/asset/room', 'Configuration\Asset\[email protected]');
    Route::post('/asset/room/print', 'Configuration\Asset\[email protected]');
    Route::post('/asset/room/pdf', 'Configuration\Asset\[email protected]');
    Route::patch('/asset/room/{id}', 'Configuration\Asset\[email protected]');
    Route::delete('/asset/room/{id}', 'Configuration\Asset\[email protected]');

    Route::get('/student/document/type', 'Configuration\Student\[email protected]');
    Route::get('/student/document/type/{id}', 'Configuration\Student\[email protected]');
    Route::post('/student/document/type', 'Configuration\Student\[email protected]');
    Route::post('/student/document/type/print', 'Configuration\Student\[email protected]');
    Route::post('/student/document/type/pdf', 'Configuration\Student\[email protected]');
    Route::patch('/student/document/type/{id}', 'Configuration\Student\[email protected]');
    Route::delete('/student/document/type/{id}', 'Configuration\Student\[email protected]');

    Route::get('/student/group', 'Configuration\Student\[email protected]');
    Route::get('/student/group/{id}', 'Configuration\Student\[email protected]');
    Route::post('/student/group', 'Configuration\Student\[email protected]');
    Route::post('/student/group/print', 'Configuration\Student\[email protected]');
    Route::post('/student/group/pdf', 'Configuration\Student\[email protected]');
    Route::patch('/student/group/{id}', 'Configuration\Student\[email protected]');
    Route::delete('/student/group/{id}', 'Configuration\Student\[email protected]');

    Route::get('/employee/group', 'Configuration\Employee\[email protected]');
    Route::get('/employee/group/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/group', 'Configuration\Employee\[email protected]');
    Route::post('/employee/group/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/group/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/group/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/group/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/document/type', 'Configuration\Employee\[email protected]');
    Route::get('/employee/document/type/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/document/type', 'Configuration\Employee\[email protected]');
    Route::post('/employee/document/type/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/document/type/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/document/type/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/document/type/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/leave/type', 'Configuration\Employee\[email protected]');
    Route::get('/employee/leave/type/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/leave/type', 'Configuration\Employee\[email protected]');
    Route::post('/employee/leave/type/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/leave/type/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/leave/type/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/leave/type/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/attendance/type', 'Configuration\Employee\[email protected]');
    Route::get('/employee/attendance/type/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/attendance/type', 'Configuration\Employee\[email protected]');
    Route::post('/employee/attendance/type/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/attendance/type/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/attendance/type/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/attendance/type/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/pay/head', 'Configuration\Employee\[email protected]');
    Route::get('/employee/pay/head/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/pay/head', 'Configuration\Employee\[email protected]');
    Route::post('/employee/pay/head/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/pay/head/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/pay/head/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/pay/head/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/category', 'Configuration\Employee\[email protected]');
    Route::get('/employee/category/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/category', 'Configuration\Employee\[email protected]');
    Route::post('/employee/category/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/category/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/category/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/category/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/department', 'Configuration\Employee\[email protected]');
    Route::get('/employee/department/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/department', 'Configuration\Employee\[email protected]');
    Route::post('/employee/department/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/department/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/department/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/department/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/employee/designation/pre-requisite', 'Configuration\Employee\[email protected]');
    Route::get('/employee/designation', 'Configuration\Employee\[email protected]');
    Route::get('/employee/designation/{id}', 'Configuration\Employee\[email protected]');
    Route::post('/employee/designation', 'Configuration\Employee\[email protected]');
    Route::post('/employee/designation/print', 'Configuration\Employee\[email protected]');
    Route::post('/employee/designation/pdf', 'Configuration\Employee\[email protected]');
    Route::patch('/employee/designation/{id}', 'Configuration\Employee\[email protected]');
    Route::delete('/employee/designation/{id}', 'Configuration\Employee\[email protected]');

    Route::get('/transport/vehicle/document/type', 'Configuration\Transport\Vehicle\[email protected]');
    Route::get('/transport/vehicle/document/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/document/type', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/document/type/print', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/document/type/pdf', 'Configuration\Transport\Vehicle\[email protected]');
    Route::patch('/transport/vehicle/document/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::delete('/transport/vehicle/document/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');

    Route::get('/transport/vehicle/fuel/type', 'Configuration\Transport\Vehicle\[email protected]');
    Route::get('/transport/vehicle/fuel/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/fuel/type', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/fuel/type/print', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/fuel/type/pdf', 'Configuration\Transport\Vehicle\[email protected]');
    Route::patch('/transport/vehicle/fuel/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::delete('/transport/vehicle/fuel/type/{id}', 'Configuration\Transport\Vehicle\[email protected]');

    Route::get('/transport/vehicle/service/center', 'Configuration\Transport\Vehicle\[email protected]');
    Route::get('/transport/vehicle/service/center/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/service/center', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/service/center/print', 'Configuration\Transport\Vehicle\[email protected]');
    Route::post('/transport/vehicle/service/center/pdf', 'Configuration\Transport\Vehicle\[email protected]');
    Route::patch('/transport/vehicle/service/center/{id}', 'Configuration\Transport\Vehicle\[email protected]');
    Route::delete('/transport/vehicle/service/center/{id}', 'Configuration\Transport\Vehicle\[email protected]');

    Route::get('/finance/transaction/category', 'Configuration\Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/category/{id}', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/transaction/category', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/transaction/category/print', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/transaction/category/pdf', 'Configuration\Finance\Transaction\[email protected]');
    Route::patch('/finance/transaction/category/{id}', 'Configuration\Finance\Transaction\[email protected]');
    Route::delete('/finance/transaction/category/{id}', 'Configuration\Finance\Transaction\[email protected]');

    Route::get('/finance/payment/method', 'Configuration\Finance\Transaction\[email protected]');
    Route::get('/finance/payment/method/{id}', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/payment/method', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/payment/method/print', 'Configuration\Finance\Transaction\[email protected]');
    Route::post('/finance/payment/method/pdf', 'Configuration\Finance\Transaction\[email protected]');
    Route::patch('/finance/payment/method/{id}', 'Configuration\Finance\Transaction\[email protected]');
    Route::delete('/finance/payment/method/{id}', 'Configuration\Finance\Transaction\[email protected]');

    Route::get('/library/book/author', 'Configuration\Library\[email protected]');
    Route::get('/library/book/author/{id}', 'Configuration\Library\[email protected]');
    Route::post('/library/book/author', 'Configuration\Library\[email protected]');
    Route::post('/library/book/author/print', 'Configuration\Library\[email protected]');
    Route::post('/library/book/author/pdf', 'Configuration\Library\[email protected]');
    Route::patch('/library/book/author/{id}', 'Configuration\Library\[email protected]');
    Route::delete('/library/book/author/{id}', 'Configuration\Library\[email protected]');

    Route::get('/library/book/language', 'Configuration\Library\[email protected]');
    Route::get('/library/book/language/{id}', 'Configuration\Library\[email protected]');
    Route::post('/library/book/language', 'Configuration\Library\BookLanguageContr[email protected]');
    Route::post('/library/book/language/print', 'Configuration\Library\[email protected]');
    Route::post('/library/book/language/pdf', 'Configuration\Library\[email protected]');
    Route::patch('/library/book/language/{id}', 'Configuration\Library\[email protected]');
    Route::delete('/library/book/language/{id}', 'Configuration\Library\[email protected]');

    Route::get('/library/book/publisher', 'Configuration\Library\[email protected]');
    Route::get('/library/book/publisher/{id}', 'Configuration\Library\[email protected]');
    Route::post('/library/book/publisher', 'Configuration\Library\[email protected]');
    Route::post('/library/book/publisher/print', 'Configuration\Library\[email protected]');
    Route::post('/library/book/publisher/pdf', 'Configuration\Library\[email protected]');
    Route::patch('/library/book/publisher/{id}', 'Configuration\Library\[email protected]');
    Route::delete('/library/book/publisher/{id}', 'Configuration\Library\[email protected]');

    Route::get('/library/book/topic', 'Configuration\Library\[email protected]');
    Route::get('/library/book/topic/{id}', 'Configuration\Library\[email protected]');
    Route::post('/library/book/topic', 'Configuration\Library\[email protected]');
    Route::post('/library/book/topic/print', 'Configuration\Library\[email protected]');
    Route::post('/library/book/topic/pdf', 'Configuration\Library\[email protected]');
    Route::patch('/library/book/topic/{id}', 'Configuration\Library\[email protected]');
    Route::delete('/library/book/topic/{id}', 'Configuration\Library\[email protected]');

    Route::get('/library/book/condition', 'Configuration\Library\[email protected]');
    Route::get('/library/book/condition/{id}', 'Configuration\Library\[email protected]');
    Route::post('/library/book/condition', 'Configuration\Library\[email protected]');
    Route::post('/library/book/condition/print', 'Configuration\Library\[email protected]');
    Route::post('/library/book/condition/pdf', 'Configuration\Library\[email protected]');
    Route::patch('/library/book/condition/{id}', 'Configuration\Library\[email protected]');
    Route::delete('/library/book/condition/{id}', 'Configuration\Library\[email protected]');

    Route::get('/calendar/event/type', 'Configuration\Calendar\[email protected]');
    Route::get('/calendar/event/type/{id}', 'Configuration\Calendar\[email protected]');
    Route::post('/calendar/event/type', 'Configuration\Calendar\[email protected]');
    Route::post('/calendar/event/type/print', 'Configuration\Calendar\[email protected]');
    Route::post('/calendar/event/type/pdf', 'Configuration\Calendar\[email protected]');
    Route::patch('/calendar/event/type/{id}', 'Configuration\Calendar\[email protected]');
    Route::delete('/calendar/event/type/{id}', 'Configuration\Calendar\[email protected]');

    Route::get('/post/article/type', 'Configuration\Post\[email protected]');
    Route::get('/post/article/type/{id}', 'Configuration\Post\[email protected]');
    Route::post('/post/article/type', 'Configuration\Post\[email protected]');
    Route::post('/post/article/type/print', 'Configuration\Post\[email protected]');
    Route::post('/post/article/type/pdf', 'Configuration\Post\[email protected]');
    Route::patch('/post/article/type/{id}', 'Configuration\Post\[email protected]');
    Route::delete('/post/article/type/{id}', 'Configuration\Post\[email protected]');

    Route::get('/reception/enquiry/type', 'Configuration\Reception\[email protected]');
    Route::get('/reception/enquiry/type/{id}', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/type', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/type/print', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/type/pdf', 'Configuration\Reception\[email protected]');
    Route::patch('/reception/enquiry/type/{id}', 'Configuration\Reception\[email protected]');
    Route::delete('/reception/enquiry/type/{id}', 'Configuration\Reception\[email protected]');

    Route::get('/reception/complaint/type', 'Configuration\Reception\[email protected]');
    Route::get('/reception/complaint/type/{id}', 'Configuration\Reception\[email protected]');
    Route::post('/reception/complaint/type', 'Configuration\Reception\[email protected]');
    Route::post('/reception/complaint/type/print', 'Configuration\Reception\[email protected]');
    Route::post('/reception/complaint/type/pdf', 'Configuration\Reception\[email protected]');
    Route::patch('/reception/complaint/type/{id}', 'Configuration\Reception\[email protected]');
    Route::delete('/reception/complaint/type/{id}', 'Configuration\Reception\[email protected]');

    Route::get('/reception/enquiry/source', 'Configuration\Reception\[email protected]');
    Route::get('/reception/enquiry/source/{id}', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/source', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/source/print', 'Configuration\Reception\[email protected]');
    Route::post('/reception/enquiry/source/pdf', 'Configuration\Reception\[email protected]');
    Route::patch('/reception/enquiry/source/{id}', 'Configuration\Reception\[email protected]');
    Route::delete('/reception/enquiry/source/{id}', 'Configuration\Reception\[email protected]');

    Route::get('/reception/visiting/purpose', 'Configuration\Reception\[email protected]');
    Route::get('/reception/visiting/purpose/{id}', 'Configuration\Reception\[email protected]');
    Route::post('/reception/visiting/purpose', 'Configuration\Reception\[email protected]');
    Route::post('/reception/visiting/purpose/print', 'Configuration\Reception\[email protected]');
    Route::post('/reception/visiting/purpose/pdf', 'Configuration\Reception\[email protected]');
    Route::patch('/reception/visiting/purpose/{id}', 'Configuration\Reception\[email protected]');
    Route::delete('/reception/visiting/purpose/{id}', 'Configuration\Reception\[email protected]');

    Route::get('/reception/calling/purpose', 'Configuration\Reception\[email protected]');
    Route::get('/reception/calling/purpose/{id}', 'Configuration\Reception\[email protected]');
    Route::post('/reception/calling/purpose', 'Configuration\Reception\[email protected]');
    Route::post('/reception/calling/purpose/print', 'Configuration\Reception\[email protected]');
    Route::post('/reception/calling/purpose/pdf', 'Configuration\Reception\[email protected]');
    Route::patch('/reception/calling/purpose/{id}', 'Configuration\Reception\[email protected]');
    Route::delete('/reception/calling/purpose/{id}', 'Configuration\Reception\[email protected]');

    Route::get('/exam/term/pre-requisite', 'Configuration\Exam\[email protected]');
    Route::get('/exam/term', 'Configuration\Exam\[email protected]');
    Route::get('/exam/term/{id}', 'Configuration\Exam\[email protected]');
    Route::post('/exam/term', 'Configuration\Exam\[email protected]');
    Route::post('/exam/term/reorder', 'Configuration\Exam\[email protected]');
    Route::post('/exam/term/print', 'Configuration\Exam\[email protected]');
    Route::post('/exam/term/pdf', 'Configuration\Exam\[email protected]');
    Route::patch('/exam/term/{id}', 'Configuration\Exam\[email protected]');
    Route::delete('/exam/term/{id}', 'Configuration\Exam\[email protected]');

    Route::get('/exam/assessment', 'Configuration\Exam\[email protected]');
    Route::get('/exam/assessment/{id}', 'Configuration\Exam\[email protected]');
    Route::post('/exam/assessment', 'Configuration\Exam\[email protected]');
    Route::post('/exam/assessment/print', 'Configuration\Exam\[email protected]');
    Route::post('/exam/assessment/pdf', 'Configuration\Exam\[email protected]');
    Route::post('/exam/assessment/{id}/reorder', 'Configuration\Exam\[email protected]');
    Route::patch('/exam/assessment/{id}', 'Configuration\Exam\[email protected]');
    Route::delete('/exam/assessment/{id}', 'Configuration\Exam\[email protected]');

    Route::get('/exam/observation', 'Configuration\Exam\[email protected]');
    Route::get('/exam/observation/{id}', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/print', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/pdf', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/{id}/reorder', 'Configuration\Exam\[email protected]');
    Route::patch('/exam/observation/{id}', 'Configuration\Exam\[email protected]');
    Route::delete('/exam/observation/{id}', 'Configuration\Exam\[email protected]');

    Route::get('/exam/observation/assign/pre-requisite', 'Configuration\Exam\[email protected]');
    Route::get('/exam/observation/assign', 'Configuration\Exam\[email protected]');
    Route::get('/exam/observation/assign/{id}', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/assign', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/assign/print', 'Configuration\Exam\[email protected]');
    Route::post('/exam/observation/assign/pdf', 'Configuration\Exam\[email protected]');
    Route::patch('/exam/observation/assign/{id}', 'Configuration\Exam\[email protected]');
    Route::delete('/exam/observation/assign/{id}', 'Configuration\Exam\[email protected]');

    Route::get('/exam/grade', 'Configuration\Exam\[email protected]');
    Route::get('/exam/grade/{id}', 'Configuration\Exam\[email protected]');
    Route::post('/exam/grade', 'Configuration\Exam\[email protected]');
    Route::post('/exam/grade/print', 'Configuration\Exam\[email protected]');
    Route::post('/exam/grade/pdf', 'Configuration\Exam\[email protected]');
    Route::patch('/exam/grade/{id}', 'Configuration\Exam\[email protected]');
    Route::delete('/exam/grade/{id}', 'Configuration\Exam\[email protected]');
    /*
             * Misc Routes End
    */

    /*
             * Academic Routes Start
    */
    Route::get('/academic/session/pre-requisite', 'Academic\[email protected]');
    Route::get('/academic/session', 'Academic\[email protected]');
    Route::get('/academic/session/{id}', 'Academic\[email protected]');
    Route::post('/academic/session', 'Academic\[email protected]');
    Route::post('/academic/session/print', 'Academic\[email protected]');
    Route::post('/academic/session/pdf', 'Academic\[email protected]');
    Route::post('/academic/session/import', 'Academic\[email protected]');
    Route::post('/academic/session/{id}/user/default', 'Academic\[email protected]');
    Route::patch('/academic/session/{id}', 'Academic\[email protected]');
    Route::delete('/academic/session/{id}', 'Academic\[email protected]');

    Route::get('/course/pre-requisite', 'Academic\CourseController[email protected]');
    Route::get('/course', 'Academic\[email protected]');
    Route::get('/course/{id}', 'Academic\[email protected]');
    Route::post('/course', 'Academic\[email protected]');
    Route::post('/course/reorder', 'Academic\[email protected]');
    Route::post('/course/{id}/batch/reorder', 'Academic\[email protected]');
    Route::post('/course/print', 'Academic\[email protected]');
    Route::post('/course/pdf', 'Academic\[email protected]');
    Route::patch('/course/{id}', 'Academic\[email protected]');
    Route::delete('/course/{id}', 'Academic\[email protected]');

    Route::get('/batch/pre-requisite', 'Academic\[email protected]');
    Route::get('/batch', 'Academic\[email protected]');
    Route::get('/batch/{id}', 'Academic\[email protected]');
    Route::post('/batch', 'Academic\[email protected]');
    Route::post('/batch/print', 'Academic\[email protected]');
    Route::post('/batch/pdf', 'Academic\[email protected]');
    Route::patch('/batch/{id}', 'Academic\[email protected]');
    Route::post('/batch/{id}/subject/reorder', 'Academic\[email protected]');
    Route::post('/batch/{id}/strength', 'Academic\[email protected]');
    Route::post('/batch/{id}/subjects', 'Academic\[email protected]');
    Route::delete('/batch/{id}', 'Academic\[email protected]');

    Route::get('/subject/teacher', 'Academic\[email protected]');
    Route::post('/subject/teacher', 'Academic\[email protected]');
    Route::post('/subject/teacher/print', 'Academic\[email protected]');
    Route::post('/subject/teacher/pdf', 'Academic\[email protected]');
    Route::post('/subject/teacher/{batch_id}', 'Academic\[email protected]');
    Route::delete('/subject/teacher/{id}', 'Academic\[email protected]');

    Route::get('/subject/pre-requisite', 'Academic\[email protected]');
    Route::get('/subject', 'Academic\[email protected]');
    Route::get('/subject/{id}', 'Academic\[email protected]');
    Route::post('/subject', 'Academic\[email protected]');
    Route::post('/subject/print', 'Academic\[email protected]');
    Route::post('/subject/pdf', 'Academic\[email protected]');
    Route::post('/subject/{batch_id}/copy', 'Academic\[email protected]');
    Route::patch('/subject/{id}', 'Academic\[email protected]');
    Route::delete('/subject/{id}', 'Academic\[email protected]');
    Route::delete('/subject/{batch_id}/delete', 'Academic\[email protected]');

    Route::get('/certificate/pre-requisite', 'Academic\[email protected]');
    Route::get('/certificate', 'Academic\[email protected]');
    Route::get('/certificate/{uuid}', 'Academic\[email protected]');
    Route::post('/certificate', 'Academic\[email protected]');
    Route::post('/certificate/print', 'Academic\[email protected]');
    Route::post('/certificate/pdf', 'Academic\[email protected]');
    Route::patch('/certificate/{uuid}', 'Academic\[email protected]');
    Route::delete('/certificate/{uuid}', 'Academic\[email protected]');

    Route::get('/class/teacher', 'Academic\[email protected]');
    Route::post('/class/teacher', 'Academic\[email protected]');
    Route::post('/class/teacher/print', 'Academic\[email protected]');
    Route::post('/class/teacher/pdf', 'Academic\[email protected]');
    Route::delete('/class/teacher/{id}', 'Academic\[email protected]');

    Route::get('/class/timing', 'Academic\[email protected]');
    Route::get('/class/timing/{uuid}', 'Academic\[email protected]');
    Route::post('/class/timing', 'Academic\[email protected]');
    Route::post('/class/timing/print', 'Academic\[email protected]');
    Route::post('/class/timing/pdf', 'Academic\ClassTimingContro[email protected]');
    Route::patch('/class/timing/{uuid}', 'Academic\[email protected]');
    Route::delete('/class/timing/{uuid}', 'Academic\[email protected]');

    Route::get('/timetable/pre-requisite', 'Academic\[email protected]');
    Route::get('/timetable', 'Academic\[email protected]');
    Route::get('/timetable/{uuid}', 'Academic\[email protected]');
    Route::post('/timetable', 'Academic\[email protected]');
    Route::post('/timetable/print', 'Academic\[email protected]');
    Route::post('/timetable/print/batch', 'Academic\[email protected]');
    Route::post('/timetable/print/selected', 'Academic\[email protected]');
    Route::post('/timetable/pdf', 'Academic\[email protected]');
    Route::post('/timetable/pdf/batch', 'Academic\[email protected]');
    Route::post('/timetable/pdf/selected', 'Academic\[email protected]');
    Route::post('/timetable/{uuid}/allocation', 'Academic\[email protected]');
    Route::patch('/timetable/{uuid}', 'Academic\[email protected]');
    Route::delete('/timetable/{id}', 'Academic\[email protected]');

    /*
             * Academic Routes End
    */

    /*
             * Finance Routes Start
    */
    Route::get('/account/transfer/pre-requisite', 'Finance\Transaction\[email protected]');
    Route::get('/account/transfer', 'Finance\Transaction\[email protected]');
    Route::get('/account/transfer/{uuid}', 'Finance\Transaction\[email protected]');
    Route::post('/account/transfer', 'Finance\Transaction\[email protected]');
    Route::post('/account/transfer/print', 'Finance\Transaction\[email protected]');
    Route::post('/account/transfer/pdf', 'Finance\Transaction\[email protected]');
    Route::patch('/account/transfer/{uuid}', 'Finance\Transaction\[email protected]');
    Route::delete('/account/transfer/{uuid}', 'Finance\Transaction\[email protected]');

    Route::get('/income/pre-requisite', 'Finance\Transaction\[email protected]');
    Route::get('/income', 'Finance\Transaction\[email protected]');
    Route::get('/income/{uuid}', 'Finance\Transaction\[email protected]');
    Route::post('/income', 'Finance\Transaction\[email protected]');
    Route::post('/income/print', 'Finance\Transaction\[email protected]');
    Route::post('/income/pdf', 'Finance\Transaction\[email protected]');
    Route::patch('/income/{uuid}', 'Finance\Transaction\[email protected]');
    Route::delete('/income/{uuid}', 'Finance\Transaction\[email protected]');

    Route::get('/expense/pre-requisite', 'Finance\Transaction\[email protected]');
    Route::get('/expense', 'Finance\Transaction\[email protected]');
    Route::get('/expense/{uuid}', 'Finance\Transaction\[email protected]');
    Route::post('/expense', 'Finance\Transaction\[email protected]');
    Route::post('/expense/print', 'Finance\Transaction\[email protected]');
    Route::post('/expense/pdf', 'Finance\Transaction\[email protected]');
    Route::patch('/expense/{uuid}', 'Finance\Transaction\[email protected]');
    Route::delete('/expense/{uuid}', 'Finance\Transaction\[email protected]');

    Route::get('/account', 'Finance\[email protected]');
    Route::get('/account/{id}', 'Finance\[email protected]');
    Route::post('/account', 'Finance\[email protected]');
    Route::post('/account/print', 'Finance\[email protected]');
    Route::post('/account/pdf', 'Finance\[email protected]');
    Route::patch('/account/{id}', 'Finance\[email protected]');
    Route::delete('/account/{id}', 'Finance\[email protected]');

    Route::get('/fee/group', 'Finance\Fee\[email protected]');
    Route::get('/fee/group/{id}', 'Finance\Fee\[email protected]');
    Route::post('/fee/group', 'Finance\Fee\[email protected]');
    Route::post('/fee/group/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/group/pdf', 'Finance\Fee\[email protected]');
    Route::patch('/fee/group/{id}', 'Finance\Fee\[email protected]');
    Route::delete('/fee/group/{id}', 'Finance\Fee\[email protected]');

    Route::get('/fee/head/pre-requisite', 'Finance\Fee\[email protected]');
    Route::get('/fee/head', 'Finance\Fee\[email protected]');
    Route::get('/fee/head/{id}', 'Finance\Fee\[email protected]');
    Route::post('/fee/head', 'Finance\Fee\[email protected]');
    Route::post('/fee/head/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/head/pdf', 'Finance\Fee\[email protected]');
    Route::patch('/fee/head/{id}', 'Finance\Fee\[email protected]');
    Route::delete('/fee/head/{id}', 'Finance\Fee\[email protected]');

    Route::get('/fee/allocation/pre-requisite', 'Finance\Fee\[email protected]');
    Route::get('/fee/allocation', 'Finance\Fee\[email protected]');
    Route::get('/fee/allocation/{uuid}', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation/pdf', 'Finance\Fee\[email protected]');
    Route::patch('/fee/allocation/{uuid}', 'Finance\Fee\[email protected]');
    Route::delete('/fee/allocation/{uuid}', 'Finance\Fee\[email protected]');

    Route::get('/fee/allocation/show/pre-requisite', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation/{uuid}/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation/{uuid}/pdf', 'Finance\Fee\[email protected]');
    Route::post('/fee/allocation/{uuid}/copy', 'Finance\Fee\[email protected]');

    Route::get('/fee/installment/pre-requisite', 'Finance\Fee\[email protected]');
    Route::get('/fee/installment/{uuid}', 'Finance\Fee\[email protected]');
    Route::patch('/fee/installment/{uuid}', 'Finance\Fee\[email protected]');

    Route::get('/fee/concession/pre-requisite', 'Finance\Fee\[email protected]');
    Route::get('/fee/concession', 'Finance\Fee\[email protected]');
    Route::get('/fee/concession/{id}', 'Finance\Fee\[email protected]');
    Route::post('/fee/concession', 'Finance\Fee\[email protected]');
    Route::post('/fee/concession/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/concession/pdf', 'Finance\Fee\[email protected]');
    Route::patch('/fee/concession/{id}', 'Finance\Fee\[email protected]');
    Route::delete('/fee/concession/{id}', 'Finance\Fee\[email protected]');
    /*
             * Finance Routes End
    */

    /*
             * Student Routes Start
    */
    Route::get('/registration/pre-requisite', 'Student\[email protected]');
    Route::get('/registration', 'Student\[email protected]');
    Route::get('/registration/{id}', 'Student\[email protected]');
    Route::post('/registration', 'Student\[email protected]');
    Route::post('/registration/print', 'Student\[email protected]');
    Route::post('/registration/pdf', 'Student\[email protected]');
    Route::patch('/registration/{id}', 'Student\[email protected]');
    Route::delete('/registration/{id}', 'Student\[email protected]');

    Route::get('/registration/status/pre-requisite', 'Student\[email protected]');
    Route::post('/registration/{id}/update/status', 'Student\[email protected]');

    Route::get('/registration/fee/pre-requisite', 'Student\[email protected]');
    Route::post('/registration/{id}/fee/payment', 'Student\[email protected]');
    Route::post('/registration/{id}/fee/{transaction_id}/print', 'Student\[email protected]');
    Route::post('/registration/{id}/transaction/{transaction_id}/cancel', 'Student\[email protected]');

    Route::get('/student/parent', 'Student\[email protected]');
    Route::post('/student/parent', 'Student\[email protected]');
    Route::post('/student/parent/print', 'Student\[email protected]');
    Route::post('/student/parent/pdf', 'Student\[email protected]');
    Route::get('/student/parent/search', 'Student\[email protected]');
    Route::delete('/student/parent/{id}', 'Student\[email protected]');

    Route::get('/student/pre-requisite', 'Student\[email protected]');
    Route::post('/student/{id}/parent', 'Student\[email protected]');

    Route::get('/student/roll/number/pre-requisite', 'Student\[email protected]');
    Route::post('/student/roll/number', 'Student\[email protected]');
    Route::post('/student/fetch', 'Student\[email protected]');

    Route::get('/student/id-card/pre-requisite', 'Student\[email protected]');

    Route::get('/student/attendance/pre-requisite', 'Student\[email protected]');
    Route::get('/student/attendance/absentee', 'Student\[email protected]');
    Route::post('/student/attendance/absentee', 'Student\[email protected]');
    Route::post('/student/attendance/absentee/print', 'Student\[email protected]');
    Route::post('/student/attendance/absentee/pdf', 'Student\[email protected]');
    Route::post('/student/attendance', 'Student\[email protected]');
    Route::post('/student/attendance/fetch', 'Student\[email protected]');
    Route::post('/student/attendance/delete', 'Student\[email protected]');
    Route::post('/student/attendance/default', 'Student\[email protected]');

    Route::post('/student/import/start', 'Student\[email protected]');
    Route::post('/student/import/finish', 'Student\[email protected]');

    Route::get('/student/promotion/pre-requisite', 'Student\[email protected]');
    Route::get('/student/promotion', 'Student\[email protected]');
    Route::post('/student/promotion', 'Student\[email protected]');
    Route::post('/student/promotion/print', 'Student\[email protected]');
    Route::post('/student/promotion/pdf', 'Student\[email protected]');

    Route::get('/student/terminated', 'Student\[email protected]');
    Route::post('/student/terminated/print', 'Student\[email protected]');
    Route::post('/student/terminated/pdf', 'Student\[email protected]');
    Route::post('/student/{uuid}/terminate/{record_id}', 'Student\[email protected]');

    Route::get('/student/{uuid}/transfer-certificate/{record_id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/transfer-certificate/{record_id}/print', 'Student\[email protected]');
    Route::post('/student/{uuid}/transfer-certificate/{record_id}', 'Student\[email protected]');

    Route::get('/student', 'Student\[email protected]');
    Route::get('/student/{uuid}', 'Student\[email protected]');
    Route::get('/student/{uuid}/sibling', 'Student\[email protected]');
    Route::get('/student/search/name', 'Student\[email protected]');
    Route::get('/student/search/registration', 'Student\[email protected]');
    Route::post('/student/print', 'Student\[email protected]');
    Route::post('/student/pdf', 'Student\[email protected]');
    Route::post('/student/action/group', 'Student\[email protected]');
    Route::patch('/student/{uuid}', 'Student\[email protected]');
    Route::patch('/student/{uuid}/user/login', 'Student\[email protected]');

    Route::get('/student/fee/pre-requisite', 'Student\[email protected]');
    Route::get('/student/record/pre-requisite', 'Student\[email protected]');
    Route::patch('/student/{uuid}/record/{record_id}', 'Student\[email protected]');
    Route::get('/student/{uuid}/record/{record_id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}', 'Student\[email protected]');
    Route::get('/student/{uuid}/fee/{record_id}', 'Student\[email protected]');
    Route::get('/student/{uuid}/fee/{record_id}/{fee_record_id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/payment/{record_id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/payment/{record_id}/rzp', 'Student\[email protected]');
    Route::post('/student/{uuid}/payment/{record_id}/stripe', 'Student\[email protected]');
    Route::post('/student/{uuid}/payment/{record_id}/paypal', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}/{fee_record_id}/cancel', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}/{fee_record_id}/{transaction_id}/cancel', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}/{fee_record_id}/{transaction_id}/print', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}/print', 'Student\[email protected]');
    Route::post('/student/{uuid}/fee/{record_id}/pdf', 'Student\[email protected]');
    Route::patch('/student/{uuid}/fee/{record_id}', 'Student\[email protected]');
    Route::patch('/student/{uuid}/fee/{record_id}/reset', 'Student\[email protected]');

    Route::get('/student/{uuid}/document/pre-requisite', 'Student\[email protected]');
    Route::get('/student/{uuid}/document', 'Student\[email protected]');
    Route::get('/student/{uuid}/document/{id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/document', 'Student\[email protected]');
    Route::patch('/student/{uuid}/document/{id}', 'Student\[email protected]');
    Route::delete('/student/{uuid}/document/{id}', 'Student\[email protected]');

    Route::get('/student/{uuid}/account', 'Student\[email protected]');
    Route::get('/student/{uuid}/account/{id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/account', 'Student\[email protected]');
    Route::patch('/student/{uuid}/account/{id}', 'Student\[email protected]');
    Route::delete('/student/{uuid}/account/{id}', 'Student\[email protected]');

    Route::get('/student/{uuid}/qualification', 'Student\[email protected]');
    Route::get('/student/{uuid}/qualification/{id}', 'Student\[email protected]');
    Route::post('/student/{uuid}/qualification', 'Student\[email protected]');
    Route::patch('/student/{uuid}/qualification/{id}', 'Student\[email protected]');
    Route::delete('/student/{uuid}/qualification/{id}', 'Student\[email protected]');

    Route::post('/student/{type}/photo/{uuid}', 'Student\[email protected]');
    Route::delete('/student/{type}/photo/remove/{uuid}', 'Student\[email protected]');
    /*
             * Student Routes End
    */

    /*
             * Exam Routes Start
    */
    Route::get('/exam/schedule/pre-requisite', 'Exam\[email protected]');
    Route::get('/exam/schedule', 'Exam\[email protected]');
    Route::get('/exam/schedule/{id}', 'Exam\[email protected]');
    Route::post('/exam/schedule', 'Exam\[email protected]');
    Route::post('/exam/schedule/print', 'Exam\[email protected]');
    Route::post('/exam/schedule/pdf', 'Exam\[email protected]');
    Route::patch('/exam/schedule/{id}', 'Exam\[email protected]');
    Route::delete('/exam/schedule/{id}', 'Exam\[email protected]');

    Route::get('/exam/record/pre-requisite', 'Exam\[email protected]');
    Route::post('/exam/record/student', 'Exam\[email protected]');
    Route::post('/exam/record', 'Exam\[email protected]');
    Route::post('/exam/record/delete', 'Exam\[email protected]');

    Route::get('/exam/record/observation/pre-requisite', 'Exam\[email protected]');
    Route::post('/exam/record/observation/student', 'Exam\[email protected]');
    Route::post('/exam/record/observation', 'Exam\[email protected]');
    Route::post('/exam/record/observation/delete', 'Exam\[email protected]');

    Route::get('/exam/report/pre-requisite', 'Exam\[email protected]');
    Route::post('/exam/report/student', 'Exam\[email protected]');
    Route::post('/exam/report', 'Exam\[email protected]');
    Route::post('/exam/report/pdf', 'Exam\[email protected]');
    Route::post('/exam/report/topper', 'Exam\[email protected]');

    Route::get('/exam/pre-requisite', 'Exam\[email protected]');
    Route::get('/exam', 'Exam\[email protected]');
    Route::get('/exam/{id}', 'Exam\[email protected]');
    Route::post('/exam', 'Exam\[email protected]');
    Route::post('/exam/print', 'Exam\[email protected]');
    Route::post('/exam/pdf', 'Exam\[email protected]');
    Route::post('/exam/reorder', 'Exam\[email protected]');
    Route::patch('/exam/{id}', 'Exam\[email protected]');
    Route::delete('/exam/{id}', 'Exam\[email protected]');

    Route::get('/online-exam/pre-requisite', 'Exam\[email protected]');
    Route::get('/online-exam', 'Exam\[email protected]');
    Route::get('/online-exam/{uuid}', 'Exam\[email protected]');
    Route::get('/online-exam/{uuid}/exam', 'Exam\[email protected]');
    Route::post('/online-exam/{uuid}/exam', 'Exam\[email protected]');
    Route::get('/online-exam/{uuid}/exam/{id}', 'Exam\[email protected]');
    Route::post('/online-exam', 'Exam\[email protected]');
    Route::post('/online-exam/{uuid}/question', 'Exam\[email protected]');
    Route::post('/online-exam/{uuid}/status', 'Exam\[email protected]');
    Route::patch('/online-exam/{uuid}/question/{id}', 'Exam\[email protected]');
    Route::delete('/online-exam/{uuid}/question/{id}', 'Exam\[email protected]');
    Route::post('/online-exam/print', 'Exam\[email protected]');
    Route::post('/online-exam/pdf', 'Exam\[email protected]');
    Route::patch('/online-exam/{uuid}', 'Exam\[email protected]');
    Route::delete('/online-exam/{uuid}', 'Exam\[email protected]');
    Route::post('/online-exam/question/image', 'Exam\[email protected]');
    Route::delete('/online-exam/question/image', 'Exam\[email protected]');
    /*
             * Exam Routes End
    */

    /*
             * Transport Routes Start
    */
    Route::get('/transport/circle', 'Transport\[email protected]');
    Route::get('/transport/circle/{id}', 'Transport\[email protected]');
    Route::post('/transport/circle', 'Transport\[email protected]');
    Route::post('/transport/circle/print', 'Transport\[email protected]');
    Route::post('/transport/circle/pdf', 'Transport\[email protected]');
    Route::patch('/transport/circle/{id}', 'Transport\[email protected]');
    Route::delete('/transport/circle/{id}', 'Transport\[email protected]');

    Route::get('/transport/fee/pre-requisite', 'Transport\[email protected]');
    Route::get('/transport/fee', 'Transport\[email protected]');
    Route::get('/transport/fee/{id}', 'Transport\[email protected]');
    Route::post('/transport/fee', 'Transport\[email protected]');
    Route::post('/transport/fee/print', 'Transport\[email protected]');
    Route::post('/transport/fee/pdf', 'Transport\[email protected]');
    Route::patch('/transport/fee/{id}', 'Transport\[email protected]');
    Route::delete('/transport/fee/{id}', 'Transport\[email protected]');

    Route::get('/transport/stoppage', 'Transport\[email protected]');
    Route::get('/transport/stoppage/{id}', 'Transport\[email protected]');
    Route::post('/transport/stoppage', 'Transport\[email protected]');
    Route::post('/transport/stoppage/print', 'Transport\[email protected]');
    Route::post('/transport/stoppage/pdf', 'Transport\[email protected]');
    Route::patch('/transport/stoppage/{id}', 'Transport\[email protected]');
    Route::delete('/transport/stoppage/{id}', 'Transport\[email protected]');

    Route::get('/transport/route/assign/pre-requisite', 'Transport\[email protected]');
    Route::post('/transport/route/assign/fetch', 'Transport\[email protected]');
    Route::get('/transport/route/assign', 'Transport\[email protected]');
    Route::post('/transport/route/assign', 'Transport\[email protected]');

    Route::get('/transport/route/pre-requisite', 'Transport\[email protected]');
    Route::get('/transport/route', 'Transport\[email protected]');
    Route::get('/transport/route/{id}', 'Transport\[email protected]');
    Route::post('/transport/route/{id}/stoppage/reorder', 'Transport\[email protected]');
    Route::post('/transport/route', 'Transport\[email protected]');
    Route::post('/transport/route/print', 'Transport\[email protected]');
    Route::post('/transport/route/pdf', 'Transport\[email protected]');
    Route::patch('/transport/route/{id}', 'Transport\[email protected]');
    Route::delete('/transport/route/{id}', 'Transport\[email protected]');

    Route::get('/vehicle/document/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/document', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/document/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/document', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/document/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/document/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/document/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/document/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/fuel/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/fuel', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/fuel/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/fuel', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/fuel/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/fuel/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/fuel/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/fuel/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/log/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/log', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/log/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/log', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/log/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/log/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/log/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/log/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/service/record/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/service/record', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/service/record/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/service/record', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/service/record/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/service/record/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/service/record/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/service/record/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/incharge', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/incharge', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/incharge/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/incharge/pdf', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/incharge/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/{id}', 'Transport\Vehicle\[email protected]');

    Route::get('/vehicle/performance/criteria/pre-requisite', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/performance/criteria', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/performance/criteria/{id}', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/performance/criteria', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/performance/criteria/print', 'Transport\Vehicle\[email protected]');
    Route::post('/vehicle/performance/criteria/pdf', 'Transport\Vehicle\[email protected]');
    Route::patch('/vehicle/performance/criteria/{id}', 'Transport\Vehicle\[email protected]');
    Route::delete('/vehicle/performance/criteria/{id}', 'Transport\Vehicle\[email protected]');
    /*
             * Transport Routes End
    */

    /*
             * Employee Routes Start
    */
    Route::get('/employee/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/basic/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee', 'Employee\[email protected]');
    Route::get('/employee/{uuid}', 'Employee\[email protected]');
    Route::get('/employee/search/name', 'Employee\[email protected]');
    Route::post('/employee', 'Employee\[email protected]');
    Route::post('/employee/print', 'Employee\[email protected]');
    Route::post('/employee/pdf', 'Employee\[email protected]');
    Route::post('/employee/action/group', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/user/login', 'Employee\[email protected]');

    Route::get('/employee/id-card/pre-requisite', 'Employee\[email protected]');
    
    Route::post('/employee/import/start', 'Employee\[email protected]');
    Route::post('/employee/import/finish', 'Employee\[email protected]');

    Route::post('/employee/{uuid}/photo', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/photo/remove', 'Employee\[email protected]');

    Route::get('/employee/{uuid}/designation/pre-requisite', 'Employee\[email protected]');
    Route::post('/employee/{uuid}/designation', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/designation/{id}', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/designation/{id}', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/designation/{id}', 'Employee\[email protected]destroy');

    Route::get('/employee/{uuid}/term/pre-requisite', 'Employee\[email protected]');
    Route::post('/employee/{uuid}/term', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/term/{id}', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/term/{id}', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/term/{id}', 'Employee\[email protected]');

    Route::get('/employee/{uuid}/document/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/document', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/document/{id}', 'Employee\[email protected]');
    Route::post('/employee/{uuid}/document', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/document/{id}', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/document/{id}', 'Employee\[email protected]');

    Route::get('/employee/{uuid}/account', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/account/{id}', 'Employee\[email protected]');
    Route::post('/employee/{uuid}/account', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/account/{id}', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/account/{id}', 'Employee\[email protected]');

    Route::get('/employee/{uuid}/qualification', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/qualification/{id}', 'Employee\[email protected]');
    Route::post('/employee/{uuid}/qualification', 'Employee\[email protected]');
    Route::patch('/employee/{uuid}/qualification/{id}', 'Employee\[email protected]');
    Route::delete('/employee/{uuid}/qualification/{id}', 'Employee\[email protected]');

    Route::get('/employee/leave/allocation/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/leave/allocation', 'Employee\[email protected]');
    Route::get('/employee/leave/allocation/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/leave/allocation', 'Employee\[email protected]');
    Route::post('/employee/leave/allocation/fetch', 'Employee\[email protected]');
    Route::post('/employee/leave/allocation/print', 'Employee\[email protected]');
    Route::post('/employee/leave/allocation/pdf', 'Employee\[email protected]');
    Route::patch('/employee/leave/allocation/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/leave/allocation/{uuid}', 'Employee\[email protected]');

    Route::get('/employee/leave/request/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/leave/request', 'Employee\[email protected]');
    Route::get('/employee/leave/request/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/leave/request', 'Employee\[email protected]');
    Route::post('/employee/leave/request/print', 'Employee\[email protected]');
    Route::post('/employee/leave/request/pdf', 'Employee\[email protected]');
    Route::post('/employee/leave/request/{uuid}/status', 'Employee\[email protected]');
    Route::patch('/employee/leave/request/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/leave/request/{uuid}', 'Employee\[email protected]');

    Route::get('/employee/attendance/regular/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/attendance/production/pre-requisite', 'Employee\[email protected]');
    Route::post('/employee/attendance/regular/list', 'Employee\[email protected]stRegular');
    Route::post('/employee/attendance/regular', 'Employee\[email protected]');
    Route::post('/employee/attendance/production', 'Employee\[email protected]');
    Route::post('/employee/attendance/regular/fetch', 'Employee\[email protected]');
    Route::post('/employee/attendance/production/fetch', 'Employee\[email protected]');

    Route::get('/employee/payroll/template/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/payroll/template', 'Employee\[email protected]');
    Route::get('/employee/payroll/template/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/payroll/template', 'Employee\[email protected]');
    Route::post('/employee/payroll/template/print', 'Employee\[email protected]');
    Route::post('/employee/payroll/template/pdf', 'Employee\[email protected]');
    Route::patch('/employee/payroll/template/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/payroll/template/{uuid}', 'Employee\[email protected]');

    Route::get('/employee/payroll/salary/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/payroll/salary', 'Employee\[email protected]');
    Route::get('/employee/payroll/salary/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/payroll/salary', 'Employee\[email protected]');
    Route::post('/employee/payroll/salary/print', 'Employee\[email protected]');
    Route::post('/employee/payroll/salary/pdf', 'Employee\[email protected]');
    Route::patch('/employee/payroll/salary/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/payroll/salary/{uuid}', 'Employee\[email protected]');

    Route::get('/employee/payroll/transaction/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/payroll/transaction', 'Employee\[email protected]');
    Route::get('/employee/payroll/transaction/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/payroll/transaction', 'Employee\[email protected]');
    Route::post('/employee/payroll/transaction/advance/balance', 'Employee\[email protected]');
    Route::post('/employee/payroll/transaction/print', 'Employee\[email protected]');
    Route::post('/employee/payroll/transaction/pdf', 'Employee\[email protected]');
    Route::patch('/employee/payroll/transaction/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/payroll/transaction/{uuid}', 'Employee\[email protected]');

    Route::get('/employee/payroll/pre-requisite', 'Employee\[email protected]');
    Route::get('/employee/payroll/list', 'Employee\[email protected]');
    Route::get('/employee/payroll/{uuid}', 'Employee\[email protected]');
    Route::post('/employee/payroll/fetch', 'Employee\[email protected]');
    Route::post('/employee/payroll/generate', 'Employee\[email protected]');
    Route::post('/employee/payroll/unpaid', 'Employee\[email protected]');
    Route::post('/employee/payroll/print', 'Employee\[email protected]');
    Route::post('/employee/payroll/pdf', 'Employee\[email protected]');
    Route::patch('/employee/payroll/{uuid}', 'Employee\[email protected]');
    Route::delete('/employee/payroll/{uuid}', 'Employee\[email protected]');
    /*
             * Transport Routes End
    */

    /*
             * Library Routes Start
    */

    Route::post('/library/barcode', 'Library\[email protected]');

    Route::get('/book/log', 'Library\[email protected]');
    Route::get('/book/log/fee/pre-requisite', 'Library\[email protected]');
    Route::get('/book/log/{uuid}', 'Library\[email protected]');
    Route::post('/book/log', 'Library\[email protected]');
    Route::post('/book/log/unreturned', 'Library\[email protected]');
    Route::post('/book/log/print', 'Library\[email protected]');
    Route::post('/book/log/pdf', 'Library\[email protected]');
    Route::post('/book/log/{uuid}/return', 'Library\[email protected]');

    Route::get('/book/pre-requisite', 'Library\[email protected]');
    Route::get('/book/post/pre-requisite', 'Library\[email protected]');
    Route::get('/book', 'Library\[email protected]');
    Route::get('/book/{uuid}', 'Library\[email protected]');
    Route::post('/book', 'Library\[email protected]');
    Route::post('/book/search/number', 'Library\[email protected]');
    Route::post('/book/print', 'Library\[email protected]');
    Route::post('/book/pdf', 'Library\[email protected]');
    Route::post('/book/{uuid}/post', 'Library\[email protected]');
    Route::patch('/book/{uuid}', 'Library\[email protected]');
    Route::patch('/book/{uuid}/post/detail/{id}', 'Library\[email protected]');
    Route::delete('/book/{uuid}', 'Library\[email protected]');
    Route::delete('/book/{uuid}/post/{id}', 'Library\[email protected]');
    Route::delete('/book/{uuid}/post/detail/{id}', 'Library\[email protected]');
    /*
             * Library Routes End
    */

    /*
             * Calendar Routes Start
    */
    Route::get('/holiday', 'Calendar\[email protected]');
    Route::get('/holiday/{id}', 'Calendar\[email protected]');
    Route::post('/holiday', 'Calendar\[email protected]');
    Route::post('/holiday/print', 'Calendar\[email protected]');
    Route::post('/holiday/pdf', 'Calendar\[email protected]');
    Route::patch('/holiday/{id}', 'Calendar\[email protected]');
    Route::delete('/holiday/{id}', 'Calendar\[email protected]');

    Route::get('/event/pre-requisite', 'Calendar\[email protected]');
    Route::get('/event', 'Calendar\[email protected]');
    Route::get('/event/upcoming', 'Calendar\[email protected]');
    Route::get('/event/{uuid}', 'Calendar\[email protected]');
    Route::post('/event', 'Calendar\[email protected]');
    Route::post('/event/print', 'Calendar\[email protected]');
    Route::post('/event/pdf', 'Calendar\[email protected]');
    Route::patch('/event/{uuid}', 'Calendar\[email protected]');
    Route::delete('/event/{uuid}', 'Calendar\[email protected]');

    Route::get('/birthday', 'Calendar\[email protected]');
    Route::post('/birthday/print', 'Calendar\[email protected]');
    Route::post('/birthday/pdf', 'Calendar\[email protected]');
    Route::get('/anniversary', 'Calendar\[email protected]');
    Route::post('/anniversary/print', 'Calendar\[email protected]');
    Route::post('/anniversary/pdf', 'Calendar\[email protected]');
    Route::get('/work/anniversary', 'Calendar\[email protected]');
    Route::post('/work/anniversary/print', 'Calendar\[email protected]');
    Route::post('/work/anniversary/pdf', 'Calendar\[email protected]');
    /*
             * Calendar Routes End
    */

    /*
             * Post Routes Start
    */
    Route::get('/article/pre-requisite', 'Post\[email protected]');
    Route::get('/article', 'Post\[email protected]');
    Route::get('/article/{uuid}', 'Post\[email protected]');
    Route::post('/article', 'Post\[email protected]');
    Route::post('/article/print', 'Post\[email protected]');
    Route::post('/article/pdf', 'Post\[email protected]');
    Route::patch('/article/{uuid}', 'Post\[email protected]');
    Route::delete('/article/{uuid}', 'Post\[email protected]');
    /*
             * Post Routes End
    */

    /*
             * Reception Routes Start
    */
    Route::get('/enquiry/pre-requisite', 'Reception\[email protected]');
    Route::get('/enquiry', 'Reception\[email protected]');
    Route::get('/enquiry/{uuid}', 'Reception\[email protected]');
    Route::post('/enquiry', 'Reception\[email protected]');
    Route::post('/enquiry/print', 'Reception\[email protected]');
    Route::post('/enquiry/pdf', 'Reception\[email protected]');
    Route::post('/enquiry/{uuid}/follow/up', 'Reception\[email protected]');
    Route::patch('/enquiry/{uuid}', 'Reception\[email protected]');
    Route::delete('/enquiry/{uuid}', 'Reception\[email protected]');
    Route::delete('/enquiry/{uuid}/follow/up/{id}', 'Reception\[email protected]');

    Route::get('/complaint/pre-requisite', 'Reception\[email protected]');
    Route::get('/complaint', 'Reception\[email protected]');
    Route::get('/complaint/{uuid}', 'Reception\[email protected]');
    Route::post('/complaint', 'Reception\[email protected]');
    Route::post('/complaint/print', 'Reception\[email protected]');
    Route::post('/complaint/pdf', 'Reception\[email protected]');
    Route::patch('/complaint/{uuid}', 'Reception\[email protected]');
    Route::delete('/complaint/{uuid}', 'Reception\[email protected]');

    Route::get('/visitor/log/pre-requisite', 'Reception\[email protected]');
    Route::get('/visitor/log', 'Reception\[email protected]');
    Route::get('/visitor/log/{uuid}', 'Reception\[email protected]');
    Route::post('/visitor/log', 'Reception\[email protected]');
    Route::post('/visitor/log/print', 'Reception\[email protected]');
    Route::post('/visitor/log/pdf', 'Reception\[email protected]');
    Route::patch('/visitor/log/{uuid}', 'Reception\[email protected]');
    Route::delete('/visitor/log/{uuid}', 'Reception\[email protected]');

    Route::get('/call/log/pre-requisite', 'Reception\[email protected]');
    Route::get('/call/log', 'Reception\[email protected]');
    Route::get('/call/log/{uuid}', 'Reception\[email protected]');
    Route::post('/call/log', 'Reception\[email protected]');
    Route::post('/call/log/print', 'Reception\[email protected]');
    Route::post('/call/log/pdf', 'Reception\[email protected]');
    Route::patch('/call/log/{uuid}', 'Reception\[email protected]');
    Route::delete('/call/log/{uuid}', 'Reception\[email protected]');

    Route::get('/postal/record/pre-requisite', 'Reception\[email protected]');
    Route::get('/postal/record', 'Reception\[email protected]');
    Route::get('/postal/record/{uuid}', 'Reception\[email protected]');
    Route::post('/postal/record', 'Reception\[email protected]');
    Route::post('/postal/record/print', 'Reception\[email protected]');
    Route::post('/postal/record/pdf', 'Reception\[email protected]');
    Route::patch('/postal/record/{uuid}', 'Reception\[email protected]');
    Route::delete('/postal/record/{uuid}', 'Reception\[email protected]');

    Route::get('/gate/pass/pre-requisite', 'Reception\[email protected]');
    Route::get('/gate/pass', 'Reception\[email protected]');
    Route::get('/gate/pass/{uuid}', 'Reception\[email protected]');
    Route::post('/gate/pass', 'Reception\[email protected]');
    Route::post('/gate/pass/print', 'Reception\[email protected]');
    Route::post('/gate/pass/pdf', 'Reception\[email protected]');
    Route::patch('/gate/pass/{uuid}', 'Reception\[email protected]');
    Route::delete('/gate/pass/{uuid}', 'Reception\[email protected]');

    Route::get('/visitor/message', 'Reception\[email protected]');
    Route::get('/visitor/message/{uuid}', 'Reception\[email protected]');
    Route::post('/visitor/message/print', 'Reception\Visit[email protected]');
    Route::post('/visitor/message/pdf', 'Reception\[email protected]');
    Route::delete('/visitor/message/{uuid}', 'Reception\[email protected]');
    /*
             * Reception Routes End
    */

    /*
             * Resource Routes Start
    */
    Route::get('/assignment/pre-requisite', 'Resource\[email protected]');
    Route::get('/assignment', 'Resource\[email protected]');
    Route::get('/assignment/{uuid}', 'Resource\[email protected]');
    Route::post('/assignment', 'Resource\[email protected]');
    Route::post('/assignment/print', 'Resource\[email protected]');
    Route::post('/assignment/pdf', 'Resource\[email protected]');
    Route::patch('/assignment/{uuid}', 'Resource\[email protected]');
    Route::delete('/assignment/{uuid}', 'Resource\[email protected]');

    Route::get('/notes/pre-requisite', 'Resource\[email protected]');
    Route::get('/notes', 'Resource\[email protected]');
    Route::get('/notes/{uuid}', 'Resource\[email protected]');
    Route::post('/notes', 'Resource\[email protected]');
    Route::post('/notes/print', 'Resource\[email protected]');
    Route::post('/notes/pdf', 'Resource\[email protected]');
    Route::patch('/notes/{uuid}', 'Resource\[email protected]');
    Route::delete('/notes/{uuid}', 'Resource\[email protected]');

    Route::get('/lesson/plan/pre-requisite', 'Resource\[email protected]');
    Route::get('/lesson/plan', 'Resource\[email protected]');
    Route::get('/lesson/plan/{uuid}', 'Resource\[email protected]');
    Route::post('/lesson/plan', 'Resource\[email protected]');
    Route::post('/lesson/plan/print', 'Resource\[email protected]');
    Route::post('/lesson/plan/pdf', 'Resource\[email protected]');
    Route::patch('/lesson/plan/{uuid}', 'Resource\[email protected]');
    Route::delete('/lesson/plan/{uuid}', 'Resource\[email protected]');

    Route::get('/syllabus/pre-requisite', 'Resource\[email protected]');
    Route::get('/syllabus', 'Resource\[email protected]');
    Route::get('/syllabus/{uuid}', 'Resource\[email protected]');
    Route::post('/syllabus', 'Resource\[email protected]');
    Route::post('/syllabus/print', 'Resource\[email protected]');
    Route::post('/syllabus/pdf', 'Resource\[email protected]');
    Route::patch('/syllabus/{uuid}', 'Resource\[email protected]');
    Route::delete('/syllabus/{uuid}', 'Resource\[email protected]');
    /*
             * Resource Routes End
    */

    /*
             * Frontend Routes Start
    */
    Route::get('/frontend/page', 'Frontend\[email protected]');
    Route::get('/frontend/page/{uuid}', 'Frontend\[email protected]');
    Route::post('/frontend/page', 'Frontend\[email protected]');
    Route::post('/frontend/page/slider/image', 'Frontend\[email protected]');
    Route::post('/frontend/page/print', 'Frontend\[email protected]');
    Route::post('/frontend/page/pdf', 'Frontend\[email protected]');
    Route::patch('/frontend/page/{uuid}', 'Frontend\[email protected]');
    Route::delete('/frontend/page/{uuid}', 'Frontend\[email protected]');
    Route::delete('/frontend/page/slider/image', 'Frontend\[email protected]');

    Route::get('/frontend/block/pre-requisite', 'Frontend\[email protected]');
    Route::get('/frontend/block', 'Frontend\[email protected]');
    Route::get('/frontend/block/{uuid}', 'Frontend\[email protected]');
    Route::post('/frontend/block', 'Frontend\[email protected]');
    Route::post('/frontend/block/reorder', 'Frontend\[email protected]');
    Route::post('/frontend/block/featured/image', 'Frontend\[email protected]');
    Route::post('/frontend/block/print', 'Frontend\[email protected]');
    Route::post('/frontend/block/pdf', 'Frontend\Block[email protected]');
    Route::patch('/frontend/block/{uuid}', 'Frontend\[email protected]');
    Route::delete('/frontend/block/{uuid}', 'Frontend\[email protected]');
    Route::delete('/frontend/block/featured/image', 'Frontend\[email protected]');

    Route::get('/frontend/menu/pre-requisite', 'Frontend\[email protected]');
    Route::get('/frontend/menu', 'Frontend\[email protected]');
    Route::get('/frontend/menu/{id}', 'Frontend\[email protected]');
    Route::post('/frontend/menu', 'Frontend\[email protected]');
    Route::post('/frontend/menu/reorder', 'Frontend\[email protected]');
    Route::post('/frontend/menu/{id}/reorder', 'Frontend\[email protected]');
    Route::post('/frontend/menu/print', 'Frontend\[email protected]');
    Route::post('/frontend/menu/pdf', 'Frontend\[email protected]');
    Route::patch('/frontend/menu/{id}', 'Frontend\[email protected]');
    Route::delete('/frontend/menu/{id}', 'Frontend\[email protected]');
    /*
             * Frontend Routes End
    */

    Route::get('/institute/document/pre-requisite', 'Institute\[email protected]');
    Route::get('/institute/document', 'Institute\[email protected]');
    Route::get('/institute/document/{id}', 'Institute\[email protected]');
    Route::post('/institute/document', 'Institute\[email protected]');
    Route::post('/institute/document/print', 'Institute\[email protected]');
    Route::post('/institute/document/pdf', 'Institute\[email protected]');
    Route::patch('/institute/document/{id}', 'Institute\[email protected]');
    Route::delete('/institute/document/{id}', 'Institute\[email protected]');

    Route::get('/fee/report/summary', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/summary/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/summary/pdf', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/summary/sms', 'Finance\Fee\[email protected]');
    Route::get('/fee/report/concession', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/concession/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/concession/pdf', 'Finance\Fee\[email protected]');
    Route::get('/fee/report/due', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/due/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/due/pdf', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/due/sms', 'Finance\Fee\[email protected]');
    Route::get('/fee/report/payment', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/payment/print', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/payment/pdf', 'Finance\Fee\[email protected]');
    Route::post('/fee/report/payment/sms', 'Finance\Fee\[email protected]');

    Route::get('/vehicle/report/summary', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/report/log', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/report/fuel', 'Transport\Vehicle\[email protected]');
    Route::get('/vehicle/report/service', 'Transport\Vehicle\[email protected]');

    Route::get('/transport/report/pre-requisite', 'Transport\[email protected]');
    Route::get('/transport/report/route', 'Transport\[email protected]');
    Route::post('/transport/report/route/print', 'Transport\[email protected]');
    Route::post('/transport/report/route/pdf', 'Transport\[email protected]');
    Route::get('/transport/report/stoppage', 'Transport\[email protected]');
    Route::post('/transport/report/stoppage/print', 'Transport\[email protected]');
    Route::post('/transport/report/stoppage/pdf', 'Transport\[email protected]');

    Route::get('/transaction/report/pre-requisite', 'Finance\Transaction\[email protected]');
    Route::get('/transaction/report/summary', 'Finance\Transaction\[email protected]');
    Route::post('/transaction/report/summary/print', 'Finance\Transaction\[email protected]');
    Route::post('/transaction/report/summary/pdf', 'Finance\Transaction\[email protected]');
    Route::get('/transaction/report/day-book', 'Finance\Transaction\[email protected]');
    Route::post('/transaction/report/day-book/print', 'Finance\Transaction\[email protected]');
    Route::post('/transaction/report/day-book/pdf', 'Finance\Transaction\[email protected]');

    /*
             * Communication Routes Start
    */
    Route::get('/communication/pre-requisite', 'Communication\[email protected]');
    Route::get('/communication', 'Communication\[email protected]');
    Route::get('/communication/{uuid}', 'Communication\[email protected]');
    Route::post('/communication/print', 'Communication\[email protected]');
    Route::post('/communication/pdf', 'Communication\[email protected]');
    Route::delete('/communication/{uuid}', 'Communication\[email protected]');
    Route::post('/sms', 'Communication\[email protected]');
    Route::post('/email', 'Communication\[email protected]');
    /*
             * Communication Routes End
    */

    Route::get('/vendor', 'Inventory\[email protected]');
    Route::get('/vendor/{id}', 'Inventory\[email protected]');
    Route::post('/vendor', 'Inventory\[email protected]');
    Route::post('/vendor/print', 'Inventory\[email protected]');
    Route::post('/vendor/pdf', 'Inventory\[email protected]');
    Route::patch('/vendor/{id}', 'Inventory\[email protected]');
    Route::delete('/vendor/{id}', 'Inventory\[email protected]');

    Route::get('/stock/category/pre-requisite', 'Inventory\[email protected]');
    Route::get('/stock/category', 'Inventory\[email protected]');
    Route::get('/stock/category/{id}', 'Inventory\[email protected]');
    Route::post('/stock/category', 'Inventory\[email protected]');
    Route::post('/stock/category/print', 'Inventory\[email protected]');
    Route::post('/stock/category/pdf', 'Inventory\[email protected]');
    Route::patch('/stock/category/{id}', 'Inventory\[email protected]');
    Route::delete('/stock/category/{id}', 'Inventory\[email protected]');

    Route::get('/stock/item/pre-requisite', 'Inventory\[email protected]');
    Route::get('/stock/item', 'Inventory\[email protected]');
    Route::get('/stock/item/{id}', 'Inventory\[email protected]');
    Route::post('/stock/item', 'Inventory\[email protected]');
    Route::post('/stock/item/print', 'Inventory\[email protected]');
    Route::post('/stock/item/pdf', 'Inventory\[email protected]');
    Route::patch('/stock/item/{id}', 'Inventory\[email protected]');
    Route::delete('/stock/item/{id}', 'Inventory\[email protected]');

    Route::get('/stock/purchase/pre-requisite', 'Inventory\[email protected]');
    Route::get('/stock/purchase', 'Inventory\[email protected]');
    Route::get('/stock/purchase/{id}', 'Inventory\[email protected]');
    Route::post('/stock/purchase', 'Inventory\[email protected]');
    Route::post('/stock/purchase/print', 'Inventory\[email protected]');
    Route::post('/stock/purchase/pdf', 'Inventory\[email protected]');
    Route::patch('/stock/purchase/{id}', 'Inventory\[email protected]');
    Route::delete('/stock/purchase/{id}', 'Inventory\[email protected]');

    Route::get('/stock/transfer/pre-requisite', 'Inventory\[email protected]');
    Route::get('/stock/transfer', 'Inventory\[email protected]');
    Route::get('/stock/transfer/{id}', 'Inventory\[email protected]');
    Route::post('/stock/transfer/{id}/return', 'Inventory\[email protected]');
    Route::delete('/stock/transfer/{id}/return/{return_id}', 'Inventory\[email protected]');
    Route::post('/stock/transfer', 'Inventory\[email protected]');
    Route::post('/stock/transfer/print', 'Inventory\[email protected]');
    Route::post('/stock/transfer/pdf', 'Inventory\[email protected]');
    Route::patch('/stock/transfer/{id}', 'Inventory\[email protected]');
    Route::delete('/stock/transfer/{id}', 'Inventory\[email protected]');
});

Route::any('/{var?}', function () {
    return response()->json(['message' => 'API Endpoint Not Found!'], 404);
});

web.php

<?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!
|
 */

Route::get('/test', '[email protected]');
Route::get('/cache', 'Configuration\[email protected]');

Route::group(['middleware' => ['auth:api']], function () {
    Route::get('/backup/{id}/download', 'Utility\[email protected]');

    Route::get('/finance/transaction/income/{uuid}/print', 'Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/income/{uuid}/attachment/{attachment_uuid}/download', 'Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/expense/{uuid}/print', 'Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/expense/{uuid}/attachment/{attachment_uuid}/download', 'Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/account/transfer/{uuid}/print', 'Finance\Transaction\[email protected]');
    Route::get('/finance/transaction/account/transfer/{uuid}/attachment/{attachment_uuid}/download', 'Finance\Transaction\[email protected]');

    Route::get('/student/id-card/print', 'Student\[email protected]');
    Route::get('/employee/id-card/print', 'Employee\[email protected]');

    Route::get('/student/{uuid}/document/{id}/attachment/{attachment_uuid}/download', 'Student\[email protected]');
    Route::get('/student/{uuid}/qualification/{id}/attachment/{attachment_uuid}/download', 'Student\[email protected]');

    Route::get('/employee/{uuid}/document/{id}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/qualification/{id}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/designation/{id}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');
    Route::get('/employee/{uuid}/term/{id}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');

    Route::get('/employee/leave/request/{uuid}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');
    Route::get('/employee/payroll/transaction/{uuid}/attachment/{attachment_uuid}/download', 'Employee\[email protected]');

    Route::get('/transport/vehicle/document/{id}/attachment/{attachment_uuid}/download', 'Transport\Vehicle\[email protected]');
    Route::get('/transport/vehicle/service/record/{id}/attachment/{attachment_uuid}/download', 'Transport\Vehicle\[email protected]');
    Route::get('/transport/vehicle/fuel/{id}/attachment/{attachment_uuid}/download', 'Transport\Vehicle\[email protected]');

    Route::get('/institute/document/{id}/attachment/{attachment_uuid}/download', 'Institute\[email protected]');

    Route::get('/academic/timetable/batch/{uuid}/print', 'Academic\[email protected]');
    Route::get('/academic/certificate/{uuid}/print', 'Academic\[email protected]');

    Route::get('/resource/lesson/plan/{uuid}/print', 'Resource\[email protected]');
    Route::get('/resource/syllabus/{uuid}/print', 'Resource\[email protected]');

    Route::get('/resource/assignment/{uuid}/attachment/{attachment_uuid}/download', 'Resource\[email protected]');
    Route::get('/resource/notes/{uuid}/attachment/{attachment_uuid}/download', 'Resource\[email protected]');
    Route::get('/resource/lesson/plan/{uuid}/attachment/{attachment_uuid}/download', 'Resource\[email protected]');
    Route::get('/resource/syllabus/{uuid}/attachment/{attachment_uuid}/download', 'Resource\[email protected]');

    Route::get('/exam/schedule/{id}/admit-card/print', 'Exam\[email protected]');

    Route::get('/reception/gate/pass/{uuid}/print', 'Reception\[email protected]');
    Route::get('/reception/visitor/pass/{uuid}/print', 'Reception\[email protected]');
    
    Route::get('/reception/postal/record/{uuid}/attachment/{attachment_uuid}/download', 'Reception\[email protected]');
    Route::get('/reception/complaint/{uuid}/attachment/{attachment_uuid}/download', 'Reception\[email protected]');

    Route::get('/stock/purchase/{id}/attachment/{attachment_uuid}/download', 'Inventory\[email protected]');
    Route::get('/stock/transfer/{id}/attachment/{attachment_uuid}/download', 'Inventory\[email protected]');

    Route::get('/employee/payroll/{uuid}/print', 'Employee\[email protected]');
    Route::get('/download/report/{uuid}', '[email protected]');
});

Route::get('/calendar/event/{uuid}/attachment/{attachment_uuid}/download', 'Calendar\[email protected]');
Route::get('/post/article/{uuid}/attachment/{attachment_uuid}/download', 'Post\[email protected]');
Route::get('/frontend/page/{uuid}/attachment/{attachment_uuid}/download', 'Frontend\[email protected]');
Route::get('/frontend/block/{uuid}/attachment/{attachment_uuid}/download', 'Frontend\[email protected]');
Route::get('/paypal/status', 'Student\[email protected]');

// Used to get translation in json format for current locale

Route::get('/js/lang', function () {
    if (App::environment('local')) {
        Cache::forget('lang.js');
    }

    if (\Cache::has('locale')) {
        config(['app.locale' => \Cache::get('locale')]);
    }

    $strings = Cache::rememberForever('lang.js', function () {
        $lang = config('app.locale');
        $files = glob(resource_path('lang/' . $lang . '/*.php'));
        $strings = [];
        foreach ($files as $file) {
            $name = basename($file, '.php');
            $strings[$name] = require $file;
        }
        return $strings;
    });
    header('Content-Type: text/javascript');
    echo ('window.i18n = ' . json_encode($strings) . ';');
    exit();
})->name('assets.lang');

Route::get('/{vue?}', function () {
    return view('home');
})->where('vue', '[\/\w\.-]*')->name('home');

How to create route like this?

Oct
03
3 months ago
Activity icon

Replied to Make Auth

First, you have to install Laravel UI package,

composer require laravel/ui --dev

and after that you can run

php artisan ui vue --auth
Activity icon

Commented on Eloquent Subquery Additions

Tinker edit mode was awesome!

Oct
02
3 months ago
Activity icon

Replied to Running "regular Javascript" In Vue

You can import the JS file when you need by doing this:

@if(Route::is('route-name'))
<script src="vue.js" ></script>
@endif
Activity icon

Replied to 404 On One Route Out Of Many

Make sure that

-You are not overwriting the route

-Your ID is printed properly

and try the naming route like this,

//The Route
Route::get('/admin/fraud-lock/{id}', '[email protected]')->name("lock");
//The HTML
<a class="dropdown-item" href="{{ route('lock', $wFraud->frauds()->first()->id) }}">
    <span class="material-icons sm-icon align-middle">lock</span>
    <span class="align-middle"> Lock Warrior</span>
</a>
Activity icon

Replied to How Correctly Convert Date Time To Moment Format?

//  You can create your method like this

momentDatetime(datetime, datetime_format) {
        if (datetime_format == "") return '';
        let dt= Vue.moment(datetime).format(datetime_format);
                return dt;
            } 

// Call like this
item.created_at= this.momentDatetime( Vue.moment(), this.settings_js_moment_datetime_format )

Or

//  You can create your method like this

momentDatetime(datetime, datetime_format) {
        if (datetime_format == "") return '';

        let dt= datetime === null ? Vue.moment().format(datetime_format):Vue.moment(datetime).format(datetime_format);

                return dt;
            } 

// now you can pass null as a parameter for current date
item.created_at= this.momentDatetime( null, this.settings_js_moment_datetime_format )
Activity icon

Replied to Please Help Setting Relationships Using Eloquent

// Retrieve all Browsergames that have at least one browsergamesRating...
$games = App\Browsergames::has('browsergamesRating')->get();

Find more about Querying Relationship Existence here: https://laravel.com/docs/master/eloquent-relationships#querying-relationship-existence

Activity icon

Replied to Set Parent Timestamp As Default Value

Laravel provides support for adding foreign key constraints to your tables:

Schema::create('child_table', function (Blueprint $table) {
        $table->bigIncrements('id');
        $table->unsignedBigInteger('model_id');
        $table->timestamp('added_on');
    $table->foreign('added_on')->references('created_at')->on('table');
    });

Not sure if it will work or not

for more... https://laravel.com/docs/master/migrations#foreign-key-constraints

Activity icon

Replied to How To Fix Error 500 Server Error

Run this application in debugging mode and see what error is happening. The error message can help you to figure out what you have to do. You can post the error message here get help.

Activity icon

Replied to How To Send Email Notification On Specific Time ?

You can schedule your task for calling the task at a specific time. To know about scheduling read here https://laravel.com/docs/master/scheduling#defining-schedules

Activity icon

Replied to How To Prevent Guest From Keeping Inserting Data To The Database

It's a client-side implementation with your website. Actually, there is no way to identify anonymous visitors by PHP. You should use JavaScript to handle this kind of situation. If you think that the Cookie and LocalStorage is not safe for you then you can collects stuff like User Agent, HTTP_ACCEPT headers, Browser Plugins, Time Zone, Screen Size and Depth, System Fonts, etc... See these website for more details https://panopticlick.eff.org

Sep
04
4 months ago
Activity icon

Started a new Conversation Getting Error On DB Query Builder

This is my code,

$results = DB::table('membership_user')
               ->select(
                  'membership_user.id,
                  memberships.name,
                  memberships.price,
                  memberships.shop_limit,
                  membership_user.status,
                  membership_user.created_at,
                  membership_user.updated_at')
               ->join('users','users.id', '=', 'membership_user.user_id')
               ->join('memberships', 'memberships.id', '=', 'membership_user.membership_id')
               ->limit(10)
               ->get();

How to solve the following error?

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.`price, memberships`.`shop_limit, membershi' at line 1 (SQL: select `membership_user`.`id, memberships`.`name, memberships`.`price, memberships`.`shop_limit, membership_user`.`status, membership_user`.`created_at, membership_user`.`updated_at` from `membership_user` inner join `users` on `users`.`id` = `membership_user`.`user_id` inner join `memberships` on `memberships`.`id` = `membership_user`.`membership_id` limit 10)
Aug
31
4 months ago
Activity icon

Replied to Eloquent Query Doesn't Working

@bobbybouwmann , You are really a good instructor ever I seen. It's working now with this code below,

$query->havingRaw('MIN(amounts) >= '.$value);

Thanks a lot to you!

Activity icon

Replied to Eloquent Query Doesn't Working

@bobbybouwmann , Yes it's working now. But one thing I forgot here, that I have a price ranges of product so I want to get the lowest price for compare, then I do like this with your code,

$query->min('amounts')->where('amounts','>=',$value);

but it's giving me this error

"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'products.id' in 'where clause' (SQL: select min(`amounts`) as aggregate from `prices` where `products`.`id` = `prices`.`product_id`)"

can you please suggest me, How can I compare the lowest amounts from the prices table with the value.

Activity icon

Replied to Eloquent Query Doesn't Working

Hi @bobbybouwmann , you are right but the code is still not working!

//I have only one dummy product like this 
name: mobile phone
and 
price: 100

now if I give the value = mobile phone and max=20 it's still returning this product.

Activity icon

Started a new Conversation Eloquent Query Doesn't Working

I am writing a search pattern, my code is like this,

   $value = "something";
   $min = 10;
   $max= 100;
   $products = $product->where('name','like','%'.$value.'%')
                     ->orWhereHas('category',function($q) use($value){
                        $q->where('name','like','%'.$value.'%');
                     })
                     ->whereHas('prices',function($q) use($max){
                        $q->where('amounts','=<',$max);
                     })
                     ->whereHas('prices', function($q) use($min){
                        $q->where('amounts','>=', $min);
                     })
                     ->get();

but here the $min and $max value doesn't working. The result is coming without caring of min and max value.

Activity icon

Replied to How To Custom "With()" In Relationship Models ?

Hi @mostafalaravel , you can try this,

$companies = TeamleaderCompany::
        with(
            [
                'teamleaderCompanyEmails' => function ($query) {
                    $query->select('*');
                },

                'teamleaderCompanyTags' => function ($query) {
                    $query->pluck('tag');
                },

                'teamleaderCompanyTelephones' => function ($query) {
                    $query->select('*');
                },


            ]
        )->orderBy($sorting, $sortorder)
            ->paginate($limit);

        return $companies;
Activity icon

Replied to Illegal String Offset 'customer'

Hey @mykelcodex , your array contains objects so you should do like this,

@foreach ($subs as $sub)
    <tr>
        <td>{{ $loop->iteration }}</td>
        <td class="font-size-sm">{{  $sub->customer->customer_email  }}</td>
    </tr>
@endforeach
Aug
30
4 months ago
Activity icon

Started a new Conversation Call To A Member Function GetRelationExistenceQuery() On Array

I am building a search filter. The code structure like this,

<?php

namespace App\ProductSearch\Filters;

use Illuminate\Database\Eloquent\Builder;

class Name implements Filter
{
    /**
     * Apply a given search value to the builder instance.
     *
     * @param Builder $builder
     * @param mixed $value
     * @return Builder $builder
     */
    public static function apply(Builder $builder, $value)
    {
        return $builder->where('name', 'LIKE', '%' . $value . '%')->orWhereHas(['category'=> function($q) use($value){
            $q->where('name', 'LIKE', '%' . $value . '%');
        }]);
    }
}

It's giving this error Call to a member function getRelationExistenceQuery() on array

Aug
27
4 months ago
Activity icon

Replied to The POST Method Is Not Supported For This Route. Supported Methods: GET, HEAD.

Hey @artisticre Your error is occurring because of the # on your route. The browser always sent the request to the base url. You should remove the # from your route.

Make your route like this

Route::get('/contact', '[email protected]');
Route::post('/contact', '[email protected]');

And form like this

<form action="{{url('/contact')}}" method="post" role="form">

It will solve the problem.

Activity icon

Replied to {message: "The POST Method Is Not Supported For This Route. Supported Methods: GET, HEAD.",…}

Hey @grahammorbydev in your route:list I can't find the route api/chat/post. Can you?

Activity icon

Replied to Add Created_by And Modified_by Values To Database On Form Submission

Hi @supunsam , if you want to create a reference for created user and modified user you can define a relationship for this. You can follow the code below.

In your controller

public function store(Request $request,Model $model){
    $data = $request->all();
    $data['user_id'] = auth()->user()->id;
    $model->create($data);
    return ........
}


public function update(Request $request,Model $model){
    $data = $request->all();
    $data['modified_user_id'] = auth()->user()->id;
    $model->update($data);
    return ........
}

and then in your model

public function created_user(){
    return $this->belongsTo(User::class);
}

public function updated_user(){
    return $this->belongsTo(User::class, 'modified_user_id');
}

and your database should like this,

  |  ......  |  user_id  |  modified_user_id  |

you modified_user_id column should nullable,

then you can call the relationship like this,

$model = Model::find(1);

$created_user_name = $model->created_user->name

$updated_user_name = $model->updated_user->name
Activity icon

Replied to Laravel 5.8 Admin And Member Logout Error.

Hey @xuuto it's clear that your route is defined for get method, So, why you send post method for logging out.

Activity icon

Replied to Button Not Redirecting

Hey @matildah if you want to redirect the request to the cart page then you should do like this,

return redirect('cart-page')->with('success', 'Product added to cart successfully!');

But you redirecting the user to back(), that is the problem I think.

Activity icon

Replied to Php Artisan Syntax Error

Hi @pefremidis If you open up the artisan file, you will see line 31 is doing this:

$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);

::class is only available from PHP 5.5 onwards so, tl;dr, you can't run Laravel 5.7.* on PHP 5.4.

This is happening because your server is running an older version of PHP. If you check your PHP version by CLI php -v then make sure that create a info.php file and write phpinfo() then check the version.

Activity icon

Replied to The POST Method Is Not Supported For This Route. Supported Methods: GET, HEAD.

Hello @artisticre in your form you type the wrong method,

your wrong form method is,

<form action="{{url('/#contact')}}" method="PUT" role="form">
.......
</form>

Change this to

<form action="{{url('/#contact')}}" method="post" role="form">
..........
</form>

Your route should be,

Route::get('/#contact', '[email protected]');
Route::post('/#contact', '[email protected]');

And if you need a put request then you can type @method("PUT") in this form, and also take care of your Route.

Activity icon

Replied to DB Request With GroupBy With Error When Not All Columns In Groupby

Hello @baeckerman83 you need to disable some strict options on your config/database.php file, in "mysql" array , to disable all, set 'strict' => false.

You may not need to disable all strict options

You can leave 'strict' => true and add modes to "mysql" option in

'mysql' => [
       ...
       ....
       'strict' => true,
       'modes' => [
            //'ONLY_FULL_GROUP_BY', // Disable this to allow grouping by one column
            'STRICT_TRANS_TABLES',
            'NO_ZERO_IN_DATE',
            'NO_ZERO_DATE',
            'ERROR_FOR_DIVISION_BY_ZERO',
            'NO_AUTO_CREATE_USER',
            'NO_ENGINE_SUBSTITUTION'
        ],
 ]

For more see this answer

Activity icon

Replied to Issue With Isset And If Statements In Blade File

Hello @chrisgrim do it,

@isset($record)
    @foreach($zipreturns as $zipreturn)
    <div>
    {!!$zipreturn->returns!!}
    </div>
    @endforeach
@else
    nothing here
@endisset

It will solve your problem.

Activity icon

Replied to Auth() Helper Is Not Working On Middleware

hello @nakov you are right, but the error was not expected because I was logged in. Actually, you give me the hint of the error, because I register the middleware in the wrong place on my Kernel.php file. Now I add this on web route group middleware and it's working now. Thank you all!

Activity icon

Replied to Auth() Helper Is Not Working On Middleware

Hello @ejdelmonico Auth::check() and $request->user() is alowyes giving me null even if I logged in.

Activity icon

Replied to Auth() Helper Is Not Working On Middleware

@dillonkavanagh $request->user()->hasRole('admin') I tried this but it's also giving me this erro Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to a member function hasRole() on null

Activity icon

Started a new Conversation Auth() Helper Is Not Working On Middleware

I create a middleware, that's calling on every request. My middleware like this :

<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Cache;

class UrlAndActivityMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if(auth()->check()){
            $expiresAt = Carbon::now()->addMinutes(5);
            Cache::put('online-user-' . auth()->user()->id, true, $expiresAt);
        }

        return $next($request);
    }
}

But it's giving me this error ,

 ErrorException (E_NOTICE)
Trying to get property 'id' of non-object

I also tried,

<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Auth;

class UrlAndActivityMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $user = Auth::user();
        if(!$user){
            $expiresAt = Carbon::now()->addMinutes(5);
            Cache::put('user-is-online-' . $user->id, true, $expiresAt);
        }

        return $next($request);
    }
}

It also giving me the same error, and also on $request->user()->id. What am I missing here?

Aug
24
4 months ago
Activity icon

Replied to N+1 Nested Eager Loading

Hi @aurawindsurfing , Actually, I want to create a multi-label category system. My database structure like this, |name|slug|parent_id. I want to create slug from child category. I wrote a method that's doing the job (I am not sure).

public function findCategoryBySlug($slug){
        $result = $this->where('slug', $slug)->firstOrFail();
        $result->slug = "/".$this->create_slug($result->id);
        return $result;
    }

    public function create_slug($value, $column = 'id'){
        $find = $this->where($column,$value)->first();
        $this_slug = $find->slug;
        if($find->parent_id != 0){
            $this_slug = $this->create_slug($find->parent_id)."/".$this_slug;
        } 
        return $this_slug;
    }

It' returning value like this:

name: D
slug: '/A/B/C/D`

I can't find any good resource to get help for creating a multi-label category system, can you please suggest one?

Aug
23
4 months ago
Activity icon

Started a new Conversation N+1 Nested Eager Loading

I am creating a category system on my app. My category.php file like this,

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Category extends Model
{
    public function parent()
    {
        return $this->belongsTo(self::class, 'parent_id');
    }

    public function children()
    {
        return $this->hasMany(self::class, 'parent_id');
    }

    //end of this class
}

And my database is like this,

1 name: A parent_id:0

2 name: B parent_id:1

3 name: C parent_id:2

4 name: D parent_id:3

Now I have the id = 4 and I can get the parent using $category->parent. But how can I get parents parent (if have any). Like this,

name: "D"
parent:
    name: "C"
    parent:
        name: "B"
        parent: 
            name: "A"

This code is doing the job but it's not n+1 solution

$category->where('id', 4)->with('parent.parent.parent.parent')->get();
Aug
18
4 months ago
Activity icon

Replied to How To Redirect User Different Page

Yes, I am using Laravel default authenticate method. And I just wrote a code that is doing the job:

 /**
     * The user has been authenticated.
     *
     * @param  mixed  $request
     * @param  mixed  $user
     * @return mixed
     */
    protected function authenticated($request, $user)
    {
        $url = str_ireplace(url('/'), '', url()->previous());
        if($url == '/admin' && $user->hasRole('admin'))
        {
            return redirect()->route('admin');
        }
        return redirect($this->redirectTo);
    }

in my LoginController. But is it the best practice ? or, Is there any best alternative?

Activity icon

Started a new Conversation How To Redirect User Different Page

I have two login route one is /login another is /admin, if the user logged in from /admin I want to redirect the user to /admin/dashboard page otherwise / page. So, How can I do this?

Jul
25
5 months ago
Activity icon

Replied to How To Check A Specific Data Exists On A Relationship?

@joyner please help me one more time. Actually, I want to show the auth users shop that is not attached to this Product on the Product page. According to Laravel documentation, I write some code but some reason it doesn't work. My code is :

auth()->user()->shops()->whereDoesntHave('products', function (Builder $query) {
                                $query->where('id','!=', $product->id);
                            })->get();

foo

Can you please help me!