<script setup>
import MdrBadge from "@/components/Mudur-Ui-Kit/MdrBadge.vue";
import { computed } from "vue";
const props = defineProps({ status: String });
const enums = window.ginvoice.enums;
const statusClass = computed(() => {
  switch (props.status) {
    case "processing":
      return "!text-blue-600 !bg-blue-200";
    case "completed":
      return "!text-green-600 !bg-green-200";
    case "failed":
      return "!text-red-600 !bg-red-200";
  }
});
</script>
<template>
  <MdrBadge :class="statusClass">
    Taslak Aktarımı
    {{ enums.invoice_workflow_statuses[status] }}
  </MdrBadge>
</template>
