This commit is contained in:
Aram HARUTYUNYAN 2013-12-05 13:55:33 +00:00
parent dc94f8a02d
commit 2e2a38f57f
2 changed files with 4 additions and 0 deletions

View File

@ -1363,6 +1363,7 @@ class SaisieController extends Zend_Controller_Action
'T' => 'TUP',
'L' => 'Tutelle',
'E' => 'Franchise',
'M' => 'Membre',
);
$this->view->assign('detention', $detention);

View File

@ -269,6 +269,9 @@ $('select[name=MajMin]').on('change', function(e){
if ($(this).val()=='T' || $(this).val()=='F' ) {
$('input[name=PDetention]').val(0);
$('input[name=Pvote]').val(0);
} else if ($(this).val()=='M' || $(this).val()=='M' ) {
$('input[name=PDetention]').val(0);
$('input[name=Pvote]').val(0);
}
});