Emergency button for missing persons
This commit is contained in:
@@ -141,6 +141,17 @@ const fmtCurrency = (v) => {
|
||||
>
|
||||
{{ client.person?.full_name || "-" }}
|
||||
</Link>
|
||||
<div v-if="!client.person" class="mt-1">
|
||||
<PrimaryButton
|
||||
class="!py-0.5 !px-2 bg-red-500 hover:bg-red-600 text-xs"
|
||||
@click.prevent="
|
||||
router.post(
|
||||
route('client.emergencyPerson', { uuid: client.uuid })
|
||||
)
|
||||
"
|
||||
>Add Person</PrimaryButton
|
||||
>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-2 pr-4 text-right">
|
||||
{{ client.cases_with_active_contracts_count ?? 0 }}
|
||||
|
||||
Reference in New Issue
Block a user