feat: Implement initial agent integration management system with role-based dashboards, status tracking, and activity timelines.
This commit is contained in:
@@ -31,7 +31,9 @@ const validateRH = () => {
|
||||
<template #header>
|
||||
<div class="flex items-center justify-between">
|
||||
<h2 class="text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200">
|
||||
Integration: {{ integration.agent.first_name }} {{ integration.agent.last_name }}
|
||||
<span v-if="integration.type === 'offboarding'" class="text-red-600 mr-2">[DÉPART]</span>
|
||||
<span v-else class="text-green-600 mr-2">[ARRIVÉE]</span>
|
||||
Fiche Agent : {{ integration.agent.first_name }} {{ integration.agent.last_name }}
|
||||
</h2>
|
||||
<div class="flex items-center space-x-4">
|
||||
<button
|
||||
@@ -41,6 +43,17 @@ const validateRH = () => {
|
||||
>
|
||||
Valider Dossier RH
|
||||
</button>
|
||||
<a
|
||||
v-if="integration.status === 'completed'"
|
||||
:href="route('integrations.pdf', integration.id)"
|
||||
target="_blank"
|
||||
class="inline-flex items-center px-4 py-2 bg-red-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-red-700 focus:bg-red-700 active:bg-red-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 transition ease-in-out duration-150"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
|
||||
</svg>
|
||||
Télécharger PDF
|
||||
</a>
|
||||
<StatusBadge :status="integration.status" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user