<?php

namespace App\Support;

class ExpenseStatus
{
    public const PAID = 'paid';

    public const PENDING = 'pending';

    public const CANCELLED = 'cancelled';

    /**
     * @return list<string>
     */
    public static function values(): array
    {
        return [
            self::PAID,
            self::PENDING,
            self::CANCELLED,
        ];
    }

    /**
     * @return array<string, string>
     */
    public static function labels(): array
    {
        return [
            self::PAID => __('Paid'),
            self::PENDING => __('Pending'),
            self::CANCELLED => __('Cancelled'),
        ];
    }

    /**
     * Statuses included in financial totals.
     *
     * @return list<string>
     */
    public static function countableValues(): array
    {
        return [
            self::PAID,
            self::PENDING,
        ];
    }
}
