patrick 6 лет назад
Родитель
Сommit
cee275c435
2 измененных файлов: 3 добавлений и 1 удалений
  1. +2
    -0
      js/bts_timesheet.js
  2. +1
    -1
      ts.php

+ 2
- 0
js/bts_timesheet.js Просмотреть файл

@@ -1140,6 +1140,8 @@
if(typeof bts().staff == 'undefined' || typeof bts().client == 'undefined' || bts().earnings_rate == 'undefined' ){
setTimeout(do_load_time_sheet,500);
}else{
do_load_time_sheet();
}
function do_load_time_sheet(){

+ 1
- 1
ts.php Просмотреть файл

@@ -634,7 +634,7 @@ class AcareOffice{
// Usage: `wp sync_users --mininterval=123
public function sync_user_cli($args = array(), $assoc_args = array()){
$arguments = wp_parse_args( $assoc_args, array(
'mininterval' => 600,
'mininterval' => 86400,
'employeeonly' => false,
'clientsonly' => false,
) );

Загрузка…
Отмена
Сохранить