Explorar el Código

bugfix load_timesheet

master
patrick hace 6 años
padre
commit
cee275c435
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. +2
    -0
      js/bts_timesheet.js
  2. +1
    -1
      ts.php

+ 2
- 0
js/bts_timesheet.js Ver fichero

@@ -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 Ver fichero

@@ -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,
) );

Cargando…
Cancelar
Guardar