<template>
  <form-piyango-cekilis-tutanagi-display
    v-if="
      usersStore.isPanelUser ||
      (piyangoStore.lotteryApprove !== 0 &&
        piyangoStore.lotteryApprove !== 3 &&
        piyangoStore.lotteryApprove !== 8)
    " />
  <form-piyango-cekilis-tutanagi v-else />
</template>
<script setup lang="ts">
  import { useUsersStore } from '@/stores/usersStore'
  const usersStore = useUsersStore()
  import { usePiyangoStore } from '../stores/piyangoStore'
  const piyangoStore = usePiyangoStore()
  import FormPiyangoCekilisTutanagi from './form/FormPiyangoCekilisTutanagi.vue'
  import FormPiyangoCekilisTutanagiDisplay from './display/FormPiyangoCekilisTutanagiDisplay.vue'
</script>

