<template>
    <div>
        <v-dialog v-model="print_dialog" width="auto">
            <v-card min-width="600" max-width="750" class="rounded-lg">
                <v-card-item class="bg-primary mb-4">
                    <v-card-title>TIMELINE</v-card-title>
                </v-card-item>
                <v-card-text>
                    <div style="min-width: 600px; max-width: 750px;">
                        <v-row no-gutters class="ml-2 mb-4 mt-2">
                            <v-col cols="3" align="start">
                                <h4 class="font-weight-medium">No Lab</h4>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h4 class="font-weight-medium text-grey">05600028LAB</h4>
                            </v-col>
                            <v-col cols="3" align="start">
                                <h4 class="font-weight-medium">Nama Pasien</h4>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h4 class="font-weight-medium text-grey">Ny IMELDA JANICE</h4>
                            </v-col>
                        </v-row>
                        <div class="bg-secondary-lighten rounded-lg pa-2 my-2">
                            <v-row>
                                <v-col cols="12">
                                    <h4>SERAH TERIMA INTERNAL</h4>
                                </v-col>
                            </v-row>
                        </div>
                        <v-row no-gutters class="ml-2 mb-4 mt-2 pa-2">
                            <v-col cols="3" align="start">
                                <h5 class="font-weight-medium">Group</h5>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h5>
                                    <span class="font-weight-medium text-grey">LAB</span>
                                    <span class="font-weight-medium text-primary"> PICK UP</span>
                                </h5>
                            </v-col>
                            <v-col cols="3" align="start">
                                <h5 class="font-weight-medium">Janji Hasil</h5>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h5 class="font-weight-medium text-grey">ADMIN 21-08-2024 22:13</h5>
                            </v-col>
                            <v-col cols="3" align="start">
                                <h5 class="font-weight-medium">Diserahkan oleh</h5>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h5 class="font-weight-medium text-grey">ADMIN 21-08-2024 22:35</h5>
                            </v-col>
                            <v-col cols="3" align="start">
                                <h5 class="font-weight-medium">Diterima oleh</h5>
                            </v-col>
                            <v-col cols="9" align="end">
                                <h5 class="font-weight-medium text-grey">ADMIN 21-08-2024 22:53</h5>
                            </v-col>
                        </v-row>
                    </div>
                </v-card-text>
                <template v-slot:actions>
                    <v-btn
                        class="ms-auto text-primary font-weight-medium"
                        text="TUTUP"
                        @click="print_dialog=false"
                    ></v-btn>
                </template>
            </v-card>
        </v-dialog>
    </div>
</template>

<script>
    export default {
        name: "printdialog",
        components: {},
        mounted() {},
        data() {
            return {};
        },
        computed: {
            print_dialog: {
                get() {
                    return this.$store.state.stored.print_dialog;
                },
                set(bool) {
                    this.$store.commit("setPrintDialog", bool);
                }
            }
        },
    }
</script>