<template>
  <ItemSelect
    label="Статус заказов"
    v-model="settings.items.orders.order_default_status_id"
    :items="orderStatuses"
  >
    Статус, с которым будут создаваться заказы через Telegram по умолчанию.
  </ItemSelect>
</template>

<script setup>
import {useSettingsStore} from "@/stores/settings.js";
import ItemSelect from "@/components/Settings/ItemSelect.vue";

const settings = useSettingsStore();
const orderStatuses = JSON.parse(window.MegaPay.order_statuses);
</script>
