Ver código fonte

using ndis code from price id

master
patrick 5 anos atrás
pai
commit
d19e9afc91
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      ts.php

+ 3
- 3
ts.php Ver arquivo

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

Carregando…
Cancelar
Salvar