<?php

declare(strict_types=1);

namespace App\Modules\Sales\Application\Services;

use App\Shared\Support\RoutePaths;

final class SalesReceiptsRouteContext
{
    public static function onModuleRoutes(): bool
    {
        return RoutePaths::on('/sales/receipts');
    }

    public static function dashboard(): string
    {
        return '/admin/dashboard';
    }

    public static function salesHome(): string
    {
        return '/sales';
    }

    public static function index(): string
    {
        return RoutePaths::receiptsBase();
    }

    public static function form(): string
    {
        return RoutePaths::receiptsForm();
    }

    public static function view(int $id): string
    {
        return RoutePaths::receiptsView($id);
    }

    public static function statement(int $partyId): string
    {
        return '/reports/parties/customer-statement?customer_id=' . $partyId;
    }
}
