diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 6e9128a43..8d9cacac2 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -1,7 +1,7 @@ +en: + terminationTitle: Confirm contract termination + terminationMessage: Are you sure you want to terminate the contract? This action will set the rating and recommended credit to 0. es: Recommended credit: Crédito recomendado Since: Desde Employee: Empleado + Create rating: Crear calificación + terminationTitle: Confirmar baja de contrato + terminationMessage: ¿Está seguro que desea dar de baja el contrato? Esta acción establecerá la calificación y el crédito recomendado en 0. diff --git a/src/pages/Worker/Department/Card/DepartmentDescriptor.vue b/src/pages/Worker/Department/Card/DepartmentDescriptor.vue index 820658593..9f8cbc054 100644 --- a/src/pages/Worker/Department/Card/DepartmentDescriptor.vue +++ b/src/pages/Worker/Department/Card/DepartmentDescriptor.vue @@ -46,6 +46,28 @@ const { openConfirmationModal } = useVnConfirm(); :summary="$props.summary" :to-module="{ name: 'WorkerDepartment' }" data-key="Department" + :filter="{ + include: [ + { + relation: 'client', + scope: { + fields: ['id', 'name'], + }, + }, + { + relation: 'worker', + scope: { + fields: ['id', 'name'], + include: { + relation: 'user', + scope: { + fields: ['id', 'name'], + }, + }, + }, + }, + ], + }" >