{"action":"opened","issue":{"url":"https://api.github.com/repos/paulkornikov/Pragonas/issues/683","repository_url":"https://api.github.com/repos/paulkornikov/Pragonas","labels_url":"https://api.github.com/repos/paulkornikov/Pragonas/issues/683/labels{/name}","comments_url":"https://api.github.com/repos/paulkornikov/Pragonas/issues/683/comments","events_url":"https://api.github.com/repos/paulkornikov/Pragonas/issues/683/events","html_url":"https://github.com/paulkornikov/Pragonas/issues/683","id":175187137,"number":683,"title":"Ajout date archivage à financements","user":{"login":"paulkornikov","id":4282154,"avatar_url":"https://avatars.githubusercontent.com/u/4282154?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkornikov","html_url":"https://github.com/paulkornikov","followers_url":"https://api.github.com/users/paulkornikov/followers","following_url":"https://api.github.com/users/paulkornikov/following{/other_user}","gists_url":"https://api.github.com/users/paulkornikov/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkornikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkornikov/subscriptions","organizations_url":"https://api.github.com/users/paulkornikov/orgs","repos_url":"https://api.github.com/users/paulkornikov/repos","events_url":"https://api.github.com/users/paulkornikov/events{/privacy}","received_events_url":"https://api.github.com/users/paulkornikov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paulkornikov/Pragonas/labels/a-enhancement","name":"a-enhancement","color":"0052cc"},{"url":"https://api.github.com/repos/paulkornikov/Pragonas/labels/financement%20-%20provisions","name":"financement - provisions","color":"fbca04"},{"url":"https://api.github.com/repos/paulkornikov/Pragonas/labels/workload%20I","name":"workload I","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"paulkornikov","id":4282154,"avatar_url":"https://avatars.githubusercontent.com/u/4282154?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkornikov","html_url":"https://github.com/paulkornikov","followers_url":"https://api.github.com/users/paulkornikov/followers","following_url":"https://api.github.com/users/paulkornikov/following{/other_user}","gists_url":"https://api.github.com/users/paulkornikov/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkornikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkornikov/subscriptions","organizations_url":"https://api.github.com/users/paulkornikov/orgs","repos_url":"https://api.github.com/users/paulkornikov/repos","events_url":"https://api.github.com/users/paulkornikov/events{/privacy}","received_events_url":"https://api.github.com/users/paulkornikov/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulkornikov","id":4282154,"avatar_url":"https://avatars.githubusercontent.com/u/4282154?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkornikov","html_url":"https://github.com/paulkornikov","followers_url":"https://api.github.com/users/paulkornikov/followers","following_url":"https://api.github.com/users/paulkornikov/following{/other_user}","gists_url":"https://api.github.com/users/paulkornikov/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkornikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkornikov/subscriptions","organizations_url":"https://api.github.com/users/paulkornikov/orgs","repos_url":"https://api.github.com/users/paulkornikov/repos","events_url":"https://api.github.com/users/paulkornikov/events{/privacy}","received_events_url":"https://api.github.com/users/paulkornikov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/paulkornikov/Pragonas/milestones/52","html_url":"https://github.com/paulkornikov/Pragonas/milestones/Calcul%20et%20historisation%20des%20soldes%20budgets","labels_url":"https://api.github.com/repos/paulkornikov/Pragonas/milestones/52/labels","id":1946914,"number":52,"title":"Calcul et historisation des soldes budgets","description":"Archivage des opérations\r\nCalcul des soldes budgets, contrats et comptes/caisses à partir d'une valeur historisée et mise à jour suite à archivage des opérations.\r\nA intégrer dans la R0.9.\r\n\r\nL'objectif est d'améliorer les perfs de calcul des soldes budgétaires notamment pour les écarts de financement.\r\n\r\nMettre en place une table d'historique des soldes:\r\n•Id\r\n•Montant\r\n•Type compte (caisse, compte, budget)\r\n•Compte Id\r\n•type solde (opérations, provisions, financements)\r\n•date de mise à jour.\r\n\r\nMettre en place un fonction d'archivage (avec booléen archivé associé à l'item):\r\n•pour les opérations\r\n•pour les financements\r\n•pour les provisions mouvement\r\n\r\nLa fonction archivage met à jour l'historique des soldes avec parcours des items précédents.\r\n\r\nRègles: \r\n•avoir un an d'en cours\r\n•n'archiver que des opérations fermées (pointées ou non pointées rapprochées/non rapprochables)\r\n•archiver tous les mois et rendre compte des opés non archivables\r\n\r\nImpacter les calculs de solde:\r\n•calculs de solde compte caisse et budget\r\n•calcul des écarts de financement (pour refinancement et réajustement)\r\n","creator":{"login":"paulkornikov","id":4282154,"avatar_url":"https://avatars.githubusercontent.com/u/4282154?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkornikov","html_url":"https://github.com/paulkornikov","followers_url":"https://api.github.com/users/paulkornikov/followers","following_url":"https://api.github.com/users/paulkornikov/following{/other_user}","gists_url":"https://api.github.com/users/paulkornikov/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkornikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkornikov/subscriptions","organizations_url":"https://api.github.com/users/paulkornikov/orgs","repos_url":"https://api.github.com/users/paulkornikov/repos","events_url":"https://api.github.com/users/paulkornikov/events{/privacy}","received_events_url":"https://api.github.com/users/paulkornikov/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":3,"state":"open","created_at":"2016-08-17T08:45:19Z","updated_at":"2016-09-06T08:20:15Z","due_on":"2016-10-30T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-06T08:20:15Z","updated_at":"2016-09-06T08:20:15Z","closed_at":null,"body":"et financement budgets"}}
{"actor":{"display_login":"paulkornikov"}}