From d724e9eb177e493315c11fa61375953d03aa0682 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 7 Nov 2022 19:58:35 +0100 Subject: [PATCH] Affichage des Items rencontres sur Actor --- module/rdd-utility.js | 1 + templates/actor/hr-rencontres.html | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 16fd06fd..afb589a8 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -416,6 +416,7 @@ export class RdDUtility { RdDUtility.filterEquipementParType(formData, itemTypes); formData.sorts = this.arrayOrEmpty(itemTypes['sort']); + formData.rencontres = this.arrayOrEmpty(itemTypes['rencontre']); formData.casestmr = this.arrayOrEmpty(itemTypes['casetmr']); formData.signesdraconiques = this.arrayOrEmpty(itemTypes['signedraconique']); formData.queues = this.arrayOrEmpty(itemTypes['queue']); diff --git a/templates/actor/hr-rencontres.html b/templates/actor/hr-rencontres.html index f13be489..0962a0f3 100644 --- a/templates/actor/hr-rencontres.html +++ b/templates/actor/hr-rencontres.html @@ -15,3 +15,22 @@ {{/each}} {{/if}} +{{#if rencontres.length}} +

Rencontres en attente dans les TMR

+ +{{/if}} +