This commit is contained in:
Muhammad Shahzad 2024-06-05 21:06:27 +05:00
parent ba9f6ed571
commit 7e451af7a2
2 changed files with 14 additions and 18 deletions

View File

@ -184,7 +184,7 @@ const close = () => {
<!-- Actions --> <!-- Actions -->
<template #item.id="{ item }"> <template #item.id="{ item }">
<div class="d-flex gap-1 details">+ <div class="d-flex gap-1 details cursor-pointer" @click=showDetail(item)> +
</div> </div>
</template> </template>
@ -205,7 +205,7 @@ const close = () => {
<VCardText> <VCardText>
<v-row class='mt-0'> <v-row class='mt-0'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Brand:</b></p> <p class='heading mb-0 text-right'><b>Brand:</b></p>
</v-col> </v-col>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p>{{ prescriptionIndex.brand }}</p> <p>{{ prescriptionIndex.brand }}</p>
@ -214,7 +214,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>From:</b></p> <p class='heading mb-0 text-right'><b>From:</b></p>
</v-col> </v-col>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p>{{ prescriptionIndex.from }}</p> <p>{{ prescriptionIndex.from }}</p>
@ -223,7 +223,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Dosage:</b></p> <p class='heading mb-0 text-right'><b>Dosage:</b></p>
</v-col> </v-col>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p>{{ prescriptionIndex.dosage }}</p> <p>{{ prescriptionIndex.dosage }}</p>
@ -232,7 +232,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0 '><b>Quantity:</b></p> <p class='heading mb-0 text-right'><b>Quantity:</b></p>
</v-col> </v-col>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p>{{ prescriptionIndex.quantity }}</p> <p>{{ prescriptionIndex.quantity }}</p>
@ -241,7 +241,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Direction Quantity:</b></p> <p class='heading mb-0 text-right'><b>Direction Quantity:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="6"> <v-col cols="12" md="8" sm="6">
<p>{{ prescriptionIndex.direction_quantity }}</p> <p>{{ prescriptionIndex.direction_quantity }}</p>
@ -250,7 +250,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Direction One:</b></p> <p class='heading mb-0 text-right'><b>Direction One:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="6"> <v-col cols="12" md="8" sm="6">
<p>{{ prescriptionIndex.direction_one }} </p> <p>{{ prescriptionIndex.direction_one }} </p>
@ -259,7 +259,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Direction Two:</b></p> <p class='heading mb-0 text-right'><b>Direction Two:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="6"> <v-col cols="12" md="8" sm="6">
<p>{{ prescriptionIndex.direction_two }} </p> <p>{{ prescriptionIndex.direction_two }} </p>
@ -268,7 +268,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Refill Quantity:</b></p> <p class='heading mb-0 text-right'><b>Refill Quantity:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="6"> <v-col cols="12" md="8" sm="6">
<p>{{ prescriptionIndex.refill_quantity }}</p> <p>{{ prescriptionIndex.refill_quantity }}</p>
@ -278,7 +278,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1'> <v-row class='mt-1'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Status:</b></p> <p class='heading mb-0 text-right'><b>Status:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="6"> <v-col cols="12" md="8" sm="6">
<p v-if="prescriptionIndex.status == null" class="text-warning">Pending</p> <p v-if="prescriptionIndex.status == null" class="text-warning">Pending</p>
@ -288,7 +288,7 @@ const close = () => {
<VDivider></VDivider> <VDivider></VDivider>
<v-row class='mt-1 pb-0'> <v-row class='mt-1 pb-0'>
<v-col cols="12" md="4" sm="6"> <v-col cols="12" md="4" sm="6">
<p class='heading mb-0'><b>Comments:</b></p> <p class='heading mb-0 text-right'><b>Comments:</b></p>
</v-col> </v-col>
<v-col cols="12" md="8" sm="8"> <v-col cols="12" md="8" sm="8">
<p>{{ prescriptionIndex.comments }} </p> <p>{{ prescriptionIndex.comments }} </p>

View File

@ -161,13 +161,9 @@ const options = [
:key="menu" :key="menu"
> >
<template #activator="{ props }"> <template #activator="{ props }">
<VBtn
:color="menu" <i class="ri-more-2-line cursor-pointer" v-bind="props"></i>
v-bind="props"
>
Detail
</VBtn>
</template> </template>
<v-list> <v-list>