#creation/modification projets évts produits
[traverse(page, "uid") == {$createProjectPID} || traverse(page, "uid") == {$editProjectPID} || traverse(page, "uid") == {$createEventPID} || traverse(page, "uid") == {$editEventPID} || traverse(page, "uid") == {$createProductPID} || traverse(page, "uid") == {$editProductPID}]
10 >
page.headerData.6586 = COA_INT
page.headerData.6586.10 = TEXT
page.headerData.6586.10.insertData = 1
page.headerData.6586.10.value (
)
page.headerData.6587 = TEXT
page.headerData.6587.value (
)
# Visualisation bouton
# Bouton de visualisation
ifsttar.projetEvtProduit.visualisation = TEXT
ifsttar.projetEvtProduit.visualisation {
value =
insertData = 1
}
# Mes fiches projets
ifsttar.projetEvtProduit.myList = CONTENT
ifsttar.projetEvtProduit.myList {
stdWrap.wrap =
Les projets pour lesquelles je suis porteur
|
stdWrap.required = 1
table = tx_ifsttarph2_projet_evenement
select.pidInList = {$importID}
select.where.dataWrap = activite_recherche IN ({$recordType}) AND porteur = {TSFE:fe_user|user|uid}
select.orderBy=tx_ifsttarph2_projet_evenement.titre
# On génère la liste
renderObj = COA_INT
renderObj {
# Titre
20 = TEXT
20 {
dataWrap = {field:titre}
}
# Consentement
40 = TEXT
40 {
postUserFunc = Wseils\Wseils\Utility\UserFuncs\MesProjetsEvenementsProduits->participant_valide
dataWrap = {field:id_dossier},{TSFE:fe_user|user|email}
}
}
renderObj.wrap = |
}
# Les fiches projets dans lesquelles je suis participant
ifsttar.projetEvtProduit.participantList = CONTENT
ifsttar.projetEvtProduit.participantList {
stdWrap.wrap = Les projets pour lesquelles je suis co-porteur
|
stdWrap.required = 1
table = tx_ifsttarph2_projet_evenement
select.pidInList = {$importID}
select.where.dataWrap = activite_recherche IN ({$recordType}) AND (coporteur LIKE "{TSFE:fe_user|user|uid}" OR coporteur LIKE "{TSFE:fe_user|user|uid},%" OR coporteur LIKE "%,{TSFE:fe_user|user|uid}" OR coporteur LIKE "%,{TSFE:fe_user|user|uid},%")
select.orderBy=tx_ifsttarph2_projet_evenement.titre
# On génère la liste
renderObj = COA_INT
renderObj {
# Titre
20 = TEXT
20 {
dataWrap = {field:titre}
}
# Consentement
40 = TEXT
40 {
postUserFunc = Wseils\Wseils\Utility\UserFuncs\MesProjetsEvenementsProduits->participant_valide
dataWrap = {field:id_dossier},{TSFE:fe_user|user|email}
}
}
renderObj.wrap = |
}
[global]
# Condition spécifique "Evènements"
[traverse(page, "uid") == {$creatEventPID} || traverse(page, "uid") == {$editEventPID}]
# Surcharge pour les évènements
ifsttar.projetEvtProduit.myList.stdWrap.wrap = Les évènements pour lesquelles je suis porteur
|
ifsttar.projetEvtProduit.participantList.stdWrap.wrap = Les évènements pour lesquelles je suis co-porteur
|
ifsttar.projetEvtProduit.participantList.renderObj.40.typolink.parameter.cObject.1.renderObj.typolink.section = tab_tab-events
ifsttar.projetEvtProduit.responsableLaboList.stdWrap.wrap = Les évènements publiées sur le site intégré
|
ifsttar.projetEvtProduit.catalogueList.stdWrap.wrap = Les évènements publiées sur le catalogue web
|
ifsttar.projetEvtProduit.catalogueList.pid = {$eventPID}
ifsttar.projetEvtProduit.catalogueList.responsables = {$ifsttar.responsablesCatalogueEvenement}
[global]
# Condition spécifique "Produits"
[traverse(page, "uid") == {$createProductPID} || traverse(page, "uid") == {$editProductPID}]
# Surcharge pour les produits
# Mes fiches
ifsttar.projetEvtProduit.myList.stdWrap.wrap = Les produits pour lesquelles je suis porteur
|
ifsttar.projetEvtProduit.myList.select.pidInList = {$importID}
# Participants
ifsttar.projetEvtProduit.participantList.stdWrap.wrap = Les produits pour lesquelles je suis co-porteur
|
ifsttar.projetEvtProduit.participantList.select.pidInList = {$importID}
ifsttar.projetEvtProduit.participantList.renderObj.40.typolink.parameter.cObject.1.renderObj.typolink.section = tab_tab-products
[global]