This commit is contained in:
@@ -51,7 +51,7 @@ const props = defineProps<Props>()
|
||||
</div>
|
||||
|
||||
<!-- Policy Details -->
|
||||
<div v-if="task.task_info?.policy_details">
|
||||
<div v-if="task.task_info?.insured_object">
|
||||
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2">Policy Details</h3>
|
||||
<div class="border rounded-lg overflow-hidden">
|
||||
<table class="w-full text-sm">
|
||||
@@ -62,7 +62,7 @@ const props = defineProps<Props>()
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-gray-200">
|
||||
<tr v-for="(value, key) in task.task_info.policy_details" :key="key">
|
||||
<tr v-for="(value, key) in task.task_info.insured_object" :key="key">
|
||||
<td class="px-3 py-2 text-gray-600 font-medium capitalize">{{ key.replace(/_/g, ' ') }}</td>
|
||||
<td class="px-3 py-2 text-gray-900">{{ value || '—' }}</td>
|
||||
</tr>
|
||||
|
||||
@@ -78,7 +78,7 @@ onUnmounted(() => document.removeEventListener('click', onDocClick))
|
||||
Quick Lead
|
||||
</button>
|
||||
</NuxtLink>
|
||||
<NuxtLink to="/quotes">
|
||||
<NuxtLink to="/quotes/new">
|
||||
<button type="button" class="app-topbar-action-btn app-topbar-action-primary">
|
||||
<UIcon name="i-heroicons-document-text" style="width: 13px; height: 13px;" />
|
||||
New quote
|
||||
|
||||
Reference in New Issue
Block a user