| @@ -1539,8 +1539,8 @@ ZOT; | |||
| // $payment = get_user_meta($user->ID, "payment", true); | |||
| // if ($payment != "invoice") | |||
| // return NULL; | |||
| $sql = "SELECT * from $this->table_name WHERE tos != '00_000_0000_0_0' and start>='$start 00:00:00' and start<='$finish 23:59:59' and client='$client_login' ORDER BY start"; | |||
| // tos ==1 is code 00_000_0000_0_0 = NOT NDIS | |||
| $sql = "SELECT * from $this->table_name WHERE tos != 1 and start>='$start 00:00:00' and start<='$finish 23:59:59' and client='$client_login' ORDER BY start"; | |||
| $rows = $this->db->get_results($sql); | |||
| $xero = $this->xero->get_xero_handle(); | |||
| @@ -1591,7 +1591,7 @@ ZOT; | |||
| Time: %s - %s | |||
| By Carer : %s', | |||
| $price->get_tos_str($job->tos), | |||
| $job->tos, | |||
| $price->get_tos_ndis_code($job->tos), | |||
| $job->start, | |||
| $job->finish, | |||
| $this->get_user_name_by_login($job->staff) | |||