<script setup>
const props = defineProps({
  row: {
    type: Object,
    required: true,
    default: {}
  },
  inShow: {
    type: Boolean,
    default: false
  }
})
</script>

<template>
  <div v-if="props.row.outgoingsepamandate">
    <nuxt-link
        v-if="props.inShow"
        :to="`/standardEntity/outgoingsepamandates/show/${props.row.outgoingsepamandate.id}`"
    >
      {{ props.row.outgoingsepamandate.reference }}
    </nuxt-link>
    <span v-else>{{ props.row.outgoingsepamandate.reference }}</span>
  </div>
  <span v-else>-</span>
</template>
