<?php

use Illuminate\Support\Facades\Route;


Route::group(['prefix' => 'admin', 'namespace' => 'Backend'], function () {
    // report  start
    Route::group(['middleware' => ['web', 'auth'], 'namespace' => 'Reports'], function () {

        //report operation start
        Route::any('/report-purchase-purchase', 'ReportController@purchase')->name('report.purchase.purchase');
        Route::any('/report.production.production', 'ReportController@production')->name('report.production.production');
        Route::any('/report-sale-sale', 'ReportController@sale')->name('report.sale.sale');
        Route::any('/report-transfer-transfer', 'ReportController@transfer')->name('report.transfer.transfer');
        Route::any('/report-project-project', 'ReportController@project')->name('report.project.project');
        Route::any('/report-employee-salary', 'ReportController@empSalary')->name('report.employee.salary');
        Route::any('/report-project-projectex', 'ReportController@projectexpence')->name('report.projectexpence.projectex');
        Route::any('/report-expense-expense', 'ReportController@expense')->name('report.expense.expense');
        Route::any('/report-supledger-supledger', 'ReportController@supledger')->name('report.supledger.supledger');
        Route::any('/report-custledger-custledger', 'ReportController@custledger')->name('report.custledger.custledger');
        Route::any('/report-account-account', 'ReportController@account')->name('report.account.account');
        Route::any('/report-cashbook-cashbook', 'ReportController@cashbook')->name('report.cashbook.cashbook');

        Route::any('/report-cashbook-reqcashbook', 'ReportController@reqcashbook')->name('report.cashbook.reqcashbook');

        Route::any('/report-ledger-ledger', 'ReportController@ledger')->name('report.ledger.ledger');
        Route::any('/report-ledger-account-ledger', 'ReportController@accountledger')->name('report.ledger.accountledger');
        Route::any('/report-trialbalance-trialbalance', 'ReportController@trialbalance')->name('report.trialbalance.trialbalance');
        Route::any('/report-incomestatement-incomestatement', 'ReportController@incomestatement')->name('report.incomestatement.incomestatement');
        Route::any('/report-balancesheet-balancesheet', 'ReportController@balancesheet')->name('report.balancesheet.balancesheet');
        Route::any('/report-stock-stock', 'ReportController@stock')->name('report.stock.stock');
        Route::any('/report-purchase-pr', 'ReportController@purchasereq')->name('report.purchase.pr');
        Route::any('/report-purchase-po', 'ReportController@purchaseorder')->name('report.purchase.po');
        Route::any('/report-purchase-grn', 'ReportController@goodrcvnote')->name('report.purchase.grn');
        Route::any('/report-stock-productledger', 'ReportController@productledger')->name('report.stock.productledger');

        Route::any('/report-stock-qty-update', 'ReportController@product_update')->name('report.stock.qty.update');

        Route::any('/report-stock-lowstocks', 'ReportController@lowstocks')->name('report.stock.lowstocks');
        Route::any('/report-stock-stocksummery', 'ReportController@stocksummery')->name('report.stock.stocksummery');
        Route::any('/report-day-book', 'ReportController@daybook')->name('report.day.book');
        Route::any('/report-cashflow', 'ReportController@cashflow')->name('report.cashflow');
        Route::any('/report-retained-earning', 'ReportController@retainedearning')->name('report.retained_earning');
        Route::any('/report-bank-book', 'ReportController@bankbook')->name('report.bank_book');
        Route::any('/report-expense-book', 'ReportController@newexpense')->name('report.expense');
        Route::any('/report-voucher-report', 'ReportController@voucher')->name('report.voucher.report');
        Route::any('/report-income-trans-details', 'ReportController@incomeDetails')->name('report.incomestatement.details');
    });
});
