1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-03 13:46:58 +00:00

Make disctinction between club/user/special

This commit is contained in:
Pierre-antoine Comby 2020-02-22 16:33:35 +01:00
parent cfd881887d
commit c5ebd0297c

View File

@ -1,8 +1,9 @@
{
"comptes":{
"personne":{
"idbde":{
"app":"note",
"model":"Note",
"model":"NoteUser",
"field":"id"
},
"type": null,
@ -18,13 +19,13 @@
},
"solde":{
"app":"note",
"model":"Note",
"model":"NoteUser",
"field":"solde"
},
"nom":{
"app":"member",
"model":"User",
"field":"first_name",
"field":"first_name"
},
"prenom":{
"app":"member",
@ -34,7 +35,7 @@
"tel":{
"app":"member",
"model":"Profile",
"field":"phone_number",
"field":"phone_number"
},
"mail":{
"app":"member",
@ -62,6 +63,83 @@
"last_negatif": null,
"deleted":null
},
"club":{
"idbde":{
"app":"note",
"model":"NoteClub",
"field":"id"
},
"type": null,
"pseudo":{
"app":"member",
"model":"Club",
"field":"name"
},
"passwd":null,
"solde":{
"app":"note",
"model":"NoteClub",
"field":"solde"
},
"nom":null,
"prenom":null,
"tel":null,
"mail":{
"app":"member",
"model":"Club",
"field":"email"
},
"adresse":null,
"fonction": null,
"normalien": null,
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
},
"special":{
"idbde":{
"app":"note",
"model":"NoteSpecial",
"field":"id"
},
"type": null,
"pseudo":{
"app":"member",
"model":"NoteSpecial",
"field":"special_type"
},
"passwd":null,
"solde":{
"app":"note",
"model":"NoteClub",
"field":"solde"
},
"nom":null,
"prenom":null,
"tel":null,
"mail":null,
"adresse":null,
"fonction": null,
"normalien": null,
"pbsante": null,
"droit": null,
"surdroit": null,
"supreme": null,
"bloque": null,
"last_adhesion": null,
"commentaire":null,
"last_negatif": null,
"deleted":null
},
}
},
"transactions":{
"id":{
"app":"note",
@ -118,9 +196,9 @@
"boutons":{
"id":{
"app":"note",
"model":"Transaction",
"field":"transaction_type"
}"TransactionTemplate.id",
"model":"TransactionTemplate",
"field":"pk"
}
"label":{
"app":"note",
"model":"TransactionTemplate",
@ -137,8 +215,16 @@
"field":"destination_id"
},
"categorie":null,
"affiche":null,
"description":null,
"affiche":{
"app":"note",
"model":"TransactionTemplate",
"field":"display"
},
"description":{
"app":"note",
"model":"TransactionTemplate",
"field":"description"
},
"consigne":null
},
"aliases":{