<?php
/**
 * BookiFlex Core
 *
 * @package    BookiFlex
 * @subpackage Core
 * @author     BookiFlex
 * @copyright  Copyright (c) 2025 BookiFlex
 * @license    GPL-2.0-or-later
 *
 * @link       https://bookiflex.com
 */


declare(strict_types=1);
namespace BookiFlex\Core\Util;

defined( 'ABSPATH' ) || exit;

class Twig
{
    public static function getReservationStatusLabel(string $status): string
    {
        $labels = [
            'WAITING_CONFIRMATION' => __('Waiting confirmation', 'bookiflex'),
            'WAITING_PAYMENT'      => __('Waiting payment', 'bookiflex'),
            'OVERDUE'              => __('Overdue', 'bookiflex'),
            'CONFIRMED'            => __('Confirmed', 'bookiflex'),
            'CANCELLED'            => __('Cancelled', 'bookiflex'),
        ];
        return $labels[$status] ?? $status;
    }

}
