<script setup>
// Thin wrapper to reuse TrrCreateForm with edit=true
import TrrCreateForm from './TrrCreateForm.vue';

const props = defineProps({
  show: { type: Boolean, default: false },
  person: { type: Object, required: true },
  types: { type: Array, default: () => [] },
  banks: { type: Array, default: () => [] },
  currencies: { type: Array, default: () => ['EUR'] },
  id: { type: Number, default: 0 },
});
</script>

<template>
  <TrrCreateForm :show="show" :person="person" :types="types" :banks="banks" :currencies="currencies" :edit="true" :id="id" @close="$emit('close')" />
</template>
