<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class SettingAdvanceRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'advance_cashbook_mode' => 'required',
            'advance_print_on_submit' => 'required',
            'advance_customer_tip_collection' => 'required',
            'advance_send_notification' => 'required',
            'bypass_kitchen_bar' => 'required',
            'allow_table_reselect' => 'required',
            'table_is_option' => 'required',
            'allow_to_edit_checked_orders' => 'required',
            'disable_room_reservations' => 'required',
            'elengent_search' => 'required',
            'item_based_tax' => 'required',
            'autoclose_service_table_model' => 'required',
            'autoclose_pickup_model' => 'required',
            'autoclose_customer_model' => 'required',
            'autoclose_shipping_model' => 'required',
            'item_consumption_mode' => 'required',
            'taxation'  => 'required',
            'digital_menu' => 'required',
        ];
    }
}
