Ludovic Stephan
1fcd53d780
Continue renaming node.type to node.modelname
2017-03-20 00:42:12 -03:00
Ludovic Stephan
fe965875f7
Merge branch 'Aufinal/refactor_articles' into Aufinal/refactor_history
2017-03-20 00:33:30 -03:00
Ludovic Stephan
3465dd7045
Change node.type to node.modelname for clarity
2017-03-20 00:26:11 -03:00
Ludovic Stephan
66c5a6953c
Improve websocket filter for special history pages
2017-03-19 04:29:54 +01:00
Ludovic Stephan
644b08973a
Add websocket support for history
2017-03-18 02:32:27 -03:00
Ludovic Stephan
df0ea96b41
Adapt history_json return value to ModelForest standards
2017-03-17 15:59:21 -03:00
Ludovic Stephan
53f89f53e0
Merge branch 'Aufinal/refactor_articles' into Aufinal/refactor_history
2017-03-17 12:34:48 -03:00
Ludovic Stephan
a7de396aa3
Better comparison control
2017-03-17 12:33:43 -03:00
Ludovic Stephan
11603cee69
Merge branch 'Aufinal/refactor_articles' into Aufinal/refactor_history
2017-03-17 00:19:45 -03:00
Ludovic Stephan
3d76079439
Add correct syntax to category data
2017-03-16 01:20:06 -03:00
Ludovic Stephan
fe6823fc7b
Adapt article_data return value to ModelTree standards
2017-03-15 22:39:30 -03:00
Ludovic Stephan
66beeb5bd0
transfer history added
2017-03-11 01:41:21 -03:00
Ludovic Stephan
ab6b0d52f2
Merge branch 'Aufinal/transferts_historique' into Aufinal/refactor_history
2017-03-11 00:45:54 -03:00
Ludovic Stephan
8eae3cee7f
adapt history view
2017-03-10 22:08:44 -03:00
Ludovic Stephan
8aa4fa2dce
modify article API return
2017-03-09 09:21:07 -03:00
Aurélien Delobelle
a9cb50b38d
Better k-fet js and more
...
JavaScript
----------
- Basic classes that can be inherited to define a new class for a
django model in javascript.
- Formatters classes are used to render properties and attributes of
the instances of models classes.
- New classes to handle Account, Checkout, Statement models.
- Refactor K-Psul JS (part n/m).
- Better file organization.
Views
-----
- 'kpsul.checkout_data' is cleaner. Last statement is added to the JSON
response with GET paramater 'last_statement'.
- 'account.read.json' is merged in account.read. JSON response is sent if
GET parametter 'format' is set to 'json'.
- Fix PEP8 of concerned views.
New requirement: django-js-reverse
----------------------------------
Used to resolve the URLs defined in the project in JavaScript.
See https://github.com/ierror/django-js-reverse
2017-02-23 22:07:38 +01:00
Aurélien Delobelle
db4786abf8
Merge branch 'manet/correction-commandes' into 'k-fet'
...
Manet/correction commandes
- Fix création de commandes (fournisseur)
Fix #97
See merge request !128
2017-02-11 22:00:45 +01:00
Ludovic Stephan
b404c989ff
pep8
2017-02-05 03:42:02 -02:00
Ludovic Stephan
1d5e693045
ws for transfers
2017-02-05 03:26:15 -02:00
Ludovic Stephan
f8aa67721c
fix socket update
2017-02-05 02:19:20 -02:00
Qwann
0ac1eaf414
fixing decimal_issue
2017-01-27 13:08:50 +01:00
Qwann
8b4f7ad60c
decimal cast for operation.amount
2017-01-20 18:34:45 +01:00
Ludovic Stephan
f06a732da5
remove unnecessary function
2016-12-11 23:29:05 -02:00
Ludovic Stephan
a9e1cd01db
add transfersonly option
2016-12-11 23:22:14 -02:00
Ludovic Stephan
66304359c0
unite cancel_ope and cancel_transfer
2016-12-11 16:22:55 -02:00
Ludovic Stephan
49bef61e53
filter transfers frop opes
2016-12-11 14:45:52 -02:00
Ludovic Stephan
85af7fe485
filter on id
2016-12-09 17:29:40 -02:00
Ludovic Stephan
b0a21119fa
Merge branch 'k-fet' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/transferts_historique
2016-12-09 01:25:40 -02:00
Hugo Manet
92ec85dbbd
Ajout d'un .distinct() dans la selection des articles liés à un supplier
2016-12-07 21:35:27 +01:00
Ludovic Stephan
5a354c61a0
fetch transfers as well
2016-12-02 00:16:40 -02:00
Ludovic Stephan
a7f3b85b25
exclut #13 du négatif total
2016-12-01 01:44:41 -02:00
Ludovic Stephan
45cc7cfa33
correction négatif total
2016-12-01 01:39:16 -02:00
Ludovic Stephan
971848cb1b
database lookups
2016-12-01 01:29:28 -02:00
Aurélien Delobelle
f39e1a653e
Ajout account pour compte générique
...
Lors de la connexion avec l'utilisateur kfet standard, un Account avec le
trigramme GNR est créé pour cet utilisateur
+ Clean et comment
2016-09-29 21:36:17 +02:00
Aurélien Delobelle
3a777a7045
Merge branch 'issue63' into k-fet
2016-09-24 18:51:41 +02:00
Aurélien Delobelle
59dcb72542
K-Psul - Fix erreur 500 caisse inexistante
2016-09-24 18:49:40 +02:00
Aurélien Delobelle
3ead35e171
clean
2016-09-24 18:27:40 +02:00
Aurélien Delobelle
1ce16f48f6
Annulation transferts
...
Possibilité d'annuler un (ou plusieurs) transferts depuis la page
"Transferts"
2016-09-24 14:18:26 +02:00
Martin Pépin
c79456e958
Syntaxe py3
...
`except e1, e2:` n'est pas valide en python3, il faut des parenthèses.
2016-09-12 23:24:18 +02:00
Aurélien Delobelle
f614051365
Fix création compte
2016-09-06 19:49:28 +02:00
Aurélien Delobelle
5569b7d154
Fix encodage password
2016-09-06 15:30:51 +02:00
Aurélien Delobelle
58cb6015fc
fix transfers
2016-09-05 22:12:58 +02:00
Aurélien Delobelle
468098ae7b
Sélection par défaut de la caisse lorsqu'il n'y en a qu'une seule disponible
2016-09-05 20:07:08 +02:00
Aurélien Delobelle
db4ae73dfd
Fix acc neg
2016-09-05 19:19:09 +02:00
Aurélien Delobelle
cd64f20275
fix checkout data
2016-09-05 18:09:34 +02:00
Aurélien Delobelle
6c54d582ed
Limite de l'historique chargé sur K-Psul
2016-09-05 14:39:31 +02:00
Aurélien Delobelle
1125b553d0
Fix perms perform_transfers
2016-09-05 13:31:09 +02:00
Aurélien Delobelle
4ff963b5cb
Fix account_update
2016-09-05 08:19:28 +02:00
Aurélien Delobelle
f538f27843
Création compte avec balance initiale
...
- Utile pour la migration des anciens comptes vers le nouveau système
- Fix JS page historique
2016-09-05 07:31:54 +02:00
Aurélien Delobelle
a78ad8c4ef
Fix perm account_update
2016-09-05 01:24:38 +02:00