jmduno

Results 2 issues of jmduno

![image](https://user-images.githubusercontent.com/5750856/32044988-6685c372-ba3f-11e7-8fe6-16c7f6cd79a1.png) Root cause found : Sample on Week format, the date generated was the Monday at 23:59;59 So comparaison, rejects tickets open the monday Correction : Used of period_sort format...

The function is always activated with a boolean. Ready to get a checkbox in the interface.