Hello,
I already Solve it.
But Since I am not " WOW " in Java , I hope that you help :
in config.php, I add the follwing lines to define 2 Variables :
$date_system = 0 ; // Originally included
// New Variables to use later on in the file : /includes/ui/ui_view.inc
$WeekDay_1_OFF = 0 ; // sun=0 ;mon=1; Tue=2; --> Fri=5;Sat=6
$WeekDay_2_OFF = 6 ; // sun=0 ;mon=1; Tue=2; --> Fri=5;Sat=6
Then in the file /includes/ui/ui_view.inc, You go to the lines :
1- Go arround line # 786 and add to the :
function get_js_date_picker()
the 2 Varibales already defined in config.php as global :
global $WeekDay_1_OFF, $WeekDay_2_OFF;
2 - Go arround line # 1100 and change the line :
$js .= "} else if (dayOfWeek == 0 || dayOfWeek == 6) {";
WITH :
$js .= "} else if (dayOfWeek == $WeekDay_1_OFF || dayOfWeek == $WeekDay_2_OFF ) {"; // Khaled
BUT at each time you need to change the WeeDay OFF's Variables in config.php, you need to delete the file /company/js_cashe/date_picker.js
And then restart the page to take effect.
---------------------------------------------------------------------------------
Finally, a huge efforts you did with this very interesting Ver 2.2.
it is really interesting and outstanding.
Regards,
Khaled