<?php
namespace Modules\Wms\Controllers;

use Gestoreasy\Core\Http\Request;
use Gestoreasy\Core\Http\Response;
use Gestoreasy\Core\View\View;

class WmsViewsController {
    public function viewWarehouses(Request $r): Response {
        return View::renderWithLayout('wms/warehouses/index', ['title' => 'Armazéns']);
    }

    public function viewBins(Request $r): Response {
        return View::renderWithLayout('wms/bins/index', ['title' => 'Endereços (Bins)']);
    }

    public function viewMovements(Request $r): Response {
        return View::renderWithLayout('wms/movements/index', ['title' => 'Movimentações WMS']);
    }

    public function viewAnalytics(Request $r): Response {
        return View::renderWithLayout('wms/analytics/index', ['title' => 'WMS • Analytics']);
    }
}