diff --git a/json_gamutable.json.html b/json_gamutable.json.html index 1a29cd4..647c1ef 100644 --- a/json_gamutable.json.html +++ b/json_gamutable.json.html @@ -4,84 +4,53 @@ "header":{ "id": "_", "titre": "titre", +"texte": "texte", "date": "date", -"statut": "statut", -"genre": "genre", -"nom_souscripteur": "nom du souscripteur", -"prenom": "prénom", -"date_naissance": "ddn", -"lieu_naissance": "Lieu", -"representant_legal": "R.Légal", -"type": "type", -"email": "email", -"telephone": "téléphone", -"adresse": "Adresse" +"statut": "statut" }, "crayons":{ "titre" : "souscription", -"prenom" : "souscription" }, "filtreCol" : { "statut" : "select", - "nom": "input" + "titre": "input" } "classes":{ "titre": "toto", "email":"toto" } }, - + [(#SET{statut, - #SET{args,#ID_SOUSCRIPTION|concat{-}|concat{#STATUT}} - + #SET{args,#ID_ARTICLE|concat{-}|concat{#STATUT}} + [(#STATUT|!={publie}|oui) - + ] [(#STATUT|=={publie}|oui) - + ] })] + { "html": { - "id": #ID_SOUSCRIPTION, - "modif" : [(#VAL{}|json_encode)], + "id": #ID_ARTICLE, + "titre" : [(#TITRE|json_encode)], "date" : [(#DATE|affdate{d/m/Y}|json_encode)], - "statut" : [(#GET{statut}|json_encode)], - "genre" : [(#GENRE|json_encode)], - "nom_souscripteur" : [(#NOM_SOUSCRIPTEUR|json_encode)], - "prenom" : [(#PRENOM|json_encode)], - "qui": [(#VAL{}|json_encode)], - "nbr" : [(#NOMBRE)], - "montant_part" : [(#MONTANT_PART)], - "montant" : [(#MONTANT)], - "prix": [(#VAL{}|json_encode)], - "type" : [(#TYPE|json_encode)], - "email" : [(#VAL{#EMAIL}|json_encode)], - "telephone" : [(#TELEPHONE|json_encode)], - "ou": [(#VAL{}|json_encode)] + "texte": [(#VAL{[(#TEXTE|couper{10})]}|json_encode)], + "statut" : [(#GET{statut}|json_encode)] }, "classes": { - "modif": [(#STATUT|concat{-}|concat{#ID_SOUSCRIPTION}|json_encode)] + "texte": [(#STATUT|concat{-}|concat{#ID_ARTICLE}|json_encode)] }, search: { - "id": #ID_SOUSCRIPTION, - "modif" : "", - "date" : [(#DATE|affdate{d/m/Y}|json_encode)], - "statut" : [(#GET{statut}|json_encode)], - "genre" : [(#GENRE|json_encode)], - "nom_souscripteur" : [(#NOM_SOUSCRIPTEUR|json_encode)], - "prenom" : [(#PRENOM|json_encode)], - "qui": "", - "nbr" : [(#NOMBRE)], - "montant_part" : [(#MONTANT_PART)], - "montant" : [(#MONTANT)], - "prix": "", - "type" : [(#TYPE|json_encode)], - "email" : [(#EMAIL|json_encode)], - "telephone" : [(#TELEPHONE|json_encode)], - "ou": "" + "id": #ID_ARTICLE, + "titre" : [(#TITRE|json_encode)], + "date" : [(#DATE|affdate{U}|json_encode)], + "texte": [(#TEXTE|couper{10}|json_encode)], + "statut" : [(#STATUT|json_encode)] } } - + ]