<?php
// phpcs:ignoreFile WordPress.WP.I18n.TextDomainMismatch
class SLN_Data_FeatureIndex
{
    public static function get()
    {
        $features = array(
            array(
                'id' => 'calendar',
                'title' => __('Back-end calendar', 'salon-booking-system'),
                'keywords' => 'calendar monthly weekly daily view bookings',
                'description' => __('Monthly, weekly, daily and assistant view. Add and edit reservations.', 'salon-booking-system'),
                'settings_tab' => '',
                'settings_anchor' => '',
                'pro' => false,
            ),
            array(
                'id' => 'assistant_selection',
                'title' => __('Assistant selection', 'salon-booking-system'),
                'keywords' => 'assistant staff member choose attendant',
                'description' => __('Let customers choose their favourite staff member.', 'salon-booking-system'),
                'settings_tab' => 'general',
                'settings_anchor' => 'sln-assistant_selection',
                'pro' => false,
            ),
            array(
                'id' => 'customers_per_session',
                'title' => __('Customers per session', 'salon-booking-system'),
                'keywords' => 'parallels capacity slot multiple bookings',
                'description' => __('How many people you can attend during a single time slot.', 'salon-booking-system'),
                'settings_tab' => 'booking',
                'settings_anchor' => 'sln-customers_per_session',
                'pro' => false,
            ),
            array(
                'id' => 'opening_hours',
                'title' => __('Opening hours', 'salon-booking-system'),
                'keywords' => 'availability timetable working hours booking rules',
                'description' => __('Set your open days and time ranges for online booking.', 'salon-booking-system'),
                'settings_tab' => 'booking',
                'settings_anchor' => 'sln-online_booking_available_days',
                'pro' => false,
            ),
            array(
                'id' => 'email_notifications',
                'title' => __('Email notifications', 'salon-booking-system'),
                'keywords' => 'email reminder new booking notification',
                'description' => __('Email notifications on new reservation, reminders, follow-up.', 'salon-booking-system'),
                'settings_tab' => 'general',
                'settings_anchor' => 'sln-email_new_booking',
                'pro' => false,
            ),
            array(
                'id' => 'sms',
                'title' => __('SMS notifications', 'salon-booking-system'),
                'keywords' => 'sms reminder twilio plivo',
                'description' => __('SMS notifications and reminders. Twilio, Plivo, 1p1sms supported.', 'salon-booking-system'),
                'settings_tab' => 'general',
                'settings_anchor' => 'sln-sms_services',
                'pro' => false,
            ),
            array(
                'id' => 'payments',
                'title' => __('Online payments', 'salon-booking-system'),
                'keywords' => 'payment stripe paypal deposit',
                'description' => __('Accept payments with Stripe or PayPal. Deposit and tips.', 'salon-booking-system'),
                'settings_tab' => 'payments',
                'settings_anchor' => '',
                'pro' => true,
            ),
            array(
                'id' => 'google_calendar',
                'title' => __('Google Calendar sync', 'salon-booking-system'),
                'keywords' => 'google calendar sync two-way',
                'description' => __('Two-way sync with Google Calendar.', 'salon-booking-system'),
                'settings_tab' => 'gcalendar',
                'settings_anchor' => '',
                'pro' => false,
            ),
            array(
                'id' => 'discounts',
                'title' => __('Discount system', 'salon-booking-system'),
                'keywords' => 'coupon discount promo',
                'description' => __('Create coupon codes and discounts.', 'salon-booking-system'),
                'settings_tab' => 'general',
                'settings_anchor' => '',
                'pro' => false,
            ),
            array(
                'id' => 'services',
                'title' => __('Services', 'salon-booking-system'),
                'keywords' => 'service duration price category',
                'description' => __('Manage services, duration, price, categories.', 'salon-booking-system'),
                'settings_tab' => '',
                'settings_anchor' => '',
                'pro' => false,
            ),
            array(
                'id' => 'assistants',
                'title' => __('Assistants / Staff', 'salon-booking-system'),
                'keywords' => 'staff attendant availability',
                'description' => __('Manage staff members and their availability.', 'salon-booking-system'),
                'settings_tab' => '',
                'settings_anchor' => '',
                'pro' => false,
            ),
            array(
                'id' => 'session_duration',
                'title' => __('Session duration', 'salon-booking-system'),
                'keywords' => 'interval minutes slot time picker',
                'description' => __('Minutes per session - affects the time picker step.', 'salon-booking-system'),
                'settings_tab' => 'booking',
                'settings_anchor' => 'sln-session_average_duration',
                'pro' => false,
            ),
            array(
                'id' => 'holidays',
                'title' => __('Holidays', 'salon-booking-system'),
                'keywords' => 'holiday closed days',
                'description' => __('Set holidays and closed days.', 'salon-booking-system'),
                'settings_tab' => 'booking',
                'settings_anchor' => 'sln-holidays_days',
                'pro' => false,
            ),
            array(
                'id' => 'reports',
                'title' => __('Reports', 'salon-booking-system'),
                'keywords' => 'reports stats revenue',
                'description' => __('Stats on reservations and revenues.', 'salon-booking-system'),
                'settings_tab' => '',
                'settings_anchor' => '',
                'pro' => false,
            ),
        );
        return apply_filters('sln_feature_index', $features);
    }
}
