ID); $clock_in = null; if (isset($custom["employee_clock_in_time"][0])){ $clock_in = date($this->getDateTimeFormat(), strtotime($custom["employee_clock_in_time"][0])); } $clock_out = null; if (isset($custom["employee_clock_out_time"][0])){ $clock_out = date($this->getDateTimeFormat(), strtotime($custom["employee_clock_out_time"][0])); } $location = null; if (isset($custom["location"][0])){ $location = $custom["location"][0]; } $ip_address_in = null; if (isset($custom["ip_address_in"][0])){ $ip_address_in = $custom["ip_address_in"][0]; } $ip_address_out = null; if (isset($custom["ip_address_out"][0])){ $ip_address_out = $custom["ip_address_out"][0]; } $employee_id = get_post_field( 'post_author', $post->ID ); $recent_author = get_user_by( 'ID', $employee_id ); $employee_name = $recent_author->last_name . ", " . $recent_author->first_name; $selected_employee = ""; ?>
:
: In:
:
:
:
: secondsToTime($this->getShiftTotal($post->ID)); } ?>