<template>
  <div :class="['form-part']" id="display-bilgi">
    <div class="form-part-title">
      <h4>Piyangoyu Düzenleyen Bilgileri</h4>
    </div>
    <div class="form-part-content">
      <template v-if="piyangoStore.duzenleyenData.basvuruTipId === 18">
        <form-display half v-model="piyangoStore.duzenleyenData.gercekAdi" label="Ad" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekSoyadi"
          label="Soyadı" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekTCKN"
          label="TCKN" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekVergiDairesi"
          label="Vergi Dairesi" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekVergiNo"
          label="Vergi No" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekOdaKayitNo"
          label="Oda Kayıt No/ Ticaret Sicil No" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.gercekTicariUnvan"
          label="Ticari Ünvan" />
      </template>

      <template v-if="piyangoStore.duzenleyenData.basvuruTipId === 21">
        <form-display v-model="piyangoStore.duzenleyenData.tuzelUnvan" label="Ünvan" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.tuzelVergiDairesi"
          label="Vergi Dairesi" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.tuzelVergiNo"
          label="Vergi No" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.tuzelSicilNo"
          label="Sicil No" />
        <div class="form-item form-item-half"></div>
      </template>

      <template v-if="piyangoStore.duzenleyenData.basvuruTipId === 22">
        <form-display v-model="piyangoStore.duzenleyenData.dernekUnvan" label="Ünvan" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.dernekVergiDairesi"
          label="Vergi Dairesi" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.dernekVergiNo"
          label="Vergi No" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.dernekSicilNo"
          label="Sicil No" />
        <div class="form-item form-item-half"></div>
      </template>

      <template v-if="piyangoStore.duzenleyenData.basvuruTipId === 26">
        <form-display v-model="piyangoStore.duzenleyenData.kamuUnvan" label="Ünvan" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.kamuVergiDairesi"
          label="Vergi Dairesi" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.kamuVergiNo"
          label="Vergi No" />
        <form-display
          half
          v-model="piyangoStore.duzenleyenData.kamuSicilNo"
          label="Sicil No" />
        <div class="form-item form-item-half"></div>
      </template>
      <form-display v-model="piyangoStore.duzenleyenData.adres" label="Adresi" />
    </div>
  </div>
</template>
<script setup lang="ts">
  import { useGlobalDataStore } from '@/stores/globalDataStore'
  const globalDataStore = useGlobalDataStore()
  import { usePiyangoStore } from '../../stores/piyangoStore'
  const piyangoStore = usePiyangoStore()
</script>
