Browse Source

Retirando logs de php error e um ; inesperado em consulta sql

1.9
guilherme guia 1 year ago
parent
commit
031fd6a6fc
  1. 2
      relatorios/callcenter/geral/rechamadas.php
  2. 1
      relatorios/callcenter/geral/relAgenteProducao.php
  3. 5
      relatorios/callcenter/geral/relTransfer.php
  4. 2
      relatorios/callcenter/geral/relTrasfAgente.php

2
relatorios/callcenter/geral/rechamadas.php

@ -1,5 +1,5 @@
<?php <?php
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
include_once 'util/relatoriosBase.php'; include_once 'util/relatoriosBase.php';

1
relatorios/callcenter/geral/relAgenteProducao.php

@ -49,7 +49,6 @@
// * Copyright (c) 2018, Simples IP // * Copyright (c) 2018, Simples IP
// ************************************************************************* // *************************************************************************
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
include_once 'util/relatoriosBase.php'; include_once 'util/relatoriosBase.php';

5
relatorios/callcenter/geral/relTransfer.php

@ -1,8 +1,5 @@
<?php <?php
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
include_once 'util/relatoriosBase.php'; include_once 'util/relatoriosBase.php';
class RelTransfer extends Relatorios { class RelTransfer extends Relatorios {
@ -437,7 +434,7 @@
AND c.matricula = substring(b.agente, 7, 4) AND c.matricula = substring(b.agente, 7, 4)
AND a.calldate::date >= '%s' AND a.calldate::date >= '%s'
AND a.calldate::date <= '%s' AND a.calldate::date <= '%s'
AND b.fila = case when(%s = ;0)then b.fila else (select nome from pbx_dacs where id = %s) end AND b.fila = case when(%s = 0)then b.fila else (select nome from pbx_dacs where id = %s) end
ORDER BY 2", FormatDtMssql($this->___dataIni), FormatDtMssql($this->___dataFim), $this->___dac, $this->___dac); ORDER BY 2", FormatDtMssql($this->___dataIni), FormatDtMssql($this->___dataFim), $this->___dac, $this->___dac);
$resp = pg_query($dbcon, $query); $resp = pg_query($dbcon, $query);

2
relatorios/callcenter/geral/relTrasfAgente.php

@ -1,7 +1,5 @@
<?php <?php
ini_set('display_errors', 1); ini_set('display_startup_errors', 1);
include_once 'util/relatoriosBase.php'; include_once 'util/relatoriosBase.php';
class RelTrasfAgente extends Relatorios{ class RelTrasfAgente extends Relatorios{

Loading…
Cancel
Save