<?php
declare(strict_types=1);

/** @var \App\Core\Router $router */

use App\Middleware\AuthMiddleware;
use App\Middleware\TenantMiddleware;

$mw = [AuthMiddleware::class, TenantMiddleware::class];

$router->get('/reports/sales-summary', 'ReportController@salesSummary', $mw);
$router->get('/reports/purchase-summary', 'ReportController@purchaseSummary', $mw);
$router->get('/reports/profit-loss', 'ReportController@profitLoss', $mw);
$router->get('/reports/receivables-aging', 'ReportController@receivablesAging', $mw);
$router->get('/reports/payables-aging', 'ReportController@payablesAging', $mw);
$router->get('/reports/cash-flow', 'ReportController@cashFlow', $mw);
$router->get('/reports/stock-summary', 'ReportController@stockSummary', $mw);
$router->get('/reports/expense-summary', 'ReportController@expenseSummary', $mw);
$router->get('/reports/tax-summary', 'ReportController@taxSummary', $mw);
$router->get('/reports/customer-outstanding', 'ReportController@customerOutstanding', $mw);
$router->get('/reports/vendor-outstanding', 'ReportController@vendorOutstanding', $mw);
$router->get('/reports/day-book', 'ReportController@dayBook', $mw);
$router->get('/reports/stock-movement', 'ReportController@stockMovement', $mw);
$router->get('/reports/export', 'ReportController@export', $mw);
