public/js/user_management.js
//This is self-explanatory and for problem number 6 (see above)
This is self-explanatory and for problem number 6
This is self - explanatory and for problem number 6
function rearrange(){
    for($a=0;(($a-4)!=$('input[name="maxpermission"]').val());$a++){
        $('option.choice#ad'+$a).detach().appendTo('#from');
        $('option.select#ad'+$a).detach().appendTo('#to');
    }
    for($a=0;(($a-8)!=$('input[name="maxpermission"]').val());$a++){
        $('option.choice#t'+$a).detach().appendTo('#from');
        $('option.select#t'+$a).detach().appendTo('#to');
    }
    for($a=0;(($a)!=$('input[name="maxpermission"]').val());$a++){
        $('option.choice#s'+$a).detach().appendTo('#from');
        $('option.select#s'+$a).detach().appendTo('#to');
    }
    for($a=0;(($a)!=$('input[name="maxpermission"]').val());$a++){
        $('option.choice#ag'+$a).detach().appendTo('#from');
        $('option.select#ag'+$a).detach().appendTo('#to');
    }
}
function rearrange ( ) { for ( $a = 0 ; ( ( $a - 4 ) != $ ( 'input[name="maxpermission"]' ) . val ( ) ) ; $a ++ ) { $ ( 'option.choice#ad' + $a ) . detach ( ) . appendTo ( '#from' ) ; $ ( 'option.select#ad' + $a ) . detach ( ) . appendTo ( '#to' ) ; } for ( $a = 0 ; ( ( $a - 8 ) != $ ( 'input[name="maxpermission"]' ) . val ( ) ) ; $a ++ ) { $ ( 'option.choice#t' + $a ) . detach ( ) . appendTo ( '#from' ) ; $ ( 'option.select#t' + $a ) . detach ( ) . appendTo ( '#to' ) ; } for ( $a = 0 ; ( ( $a ) != $ ( 'input[name="maxpermission"]' ) . val ( ) ) ; $a ++ ) { $ ( 'option.choice#s' + $a ) . detach ( ) . appendTo ( '#from' ) ; $ ( 'option.select#s' + $a ) . detach ( ) . appendTo ( '#to' ) ; } for ( $a = 0 ; ( ( $a ) != $ ( 'input[name="maxpermission"]' ) . val ( ) ) ; $a ++ ) { $ ( 'option.choice#ag' + $a ) . detach ( ) . appendTo ( '#from' ) ; $ ( 'option.select#ag' + $a ) . detach ( ) . appendTo ( '#to' ) ; } }
This is self-explanatory and for problem number 6 (see above)
This is self - explanatory and for problem number 6 ( see above )
//for Admin //for Tenant //for Supervisors //for Agent