<template>
<Layout>

    <SaleCard :sale="sale" :detailed="true" />
    <Link :href="route('dashboard')">Back</Link>

</Layout>
</template>

<script setup>
import { Link } from '@inertiajs/vue3';
import Layout from '@/layouts/AppLayout.vue';
import SaleCard from '@/components/SaleCard.vue';

const props = defineProps({
    sale: {
        type: Object,
        default: {},
    }
});
</script>
