<script setup lang="ts">
import type { McuOrder } from '~/models/mcu-order';

defineProps<{
  recItem: McuOrder
}>()
</script>

<template>
    <div class="flex mb-2">
      <div class="w-20">Tanggal</div>
      <div class="w-4">:</div>
      <div class="">{{ recItem.createdAt?.substring(0, 10) }}</div>
    </div>
    <div class="flex">
      <div class="w-20">DPJP</div>
      <div class="w-4">:</div>
      <div class="">{{ recItem.doctor?.employee?.person?.name }}</div>
    </div>
</template>