Commit d4b1357d5427383229630653bca5c46fa1f6cb05
1 parent
6ff3cbfc
Exists in
master
faltavam dados na atualização do atendente para a correta exibição dos dados
git-svn-id: http://svn.softwarepublico.gov.br/svn/sistemadeatendimento/sistema/trunk@34 63db2ce5-8a6c-0410-abb9-a418dd412890
Showing
1 changed file
with
8 additions
and
3 deletions
Show diff stats
Fila-Servico/lib/Fila/Servico/Controller/WS/Gestao/Atendente.pm
@@ -128,7 +128,9 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | @@ -128,7 +128,9 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | ||
128 | 'agendamento.cnpjf', | 128 | 'agendamento.cnpjf', |
129 | 'agendamento.email', | 129 | 'agendamento.email', |
130 | 'me.timeout_chamando', | 130 | 'me.timeout_chamando', |
131 | - 'me.timeout_concluido' ], | 131 | + 'me.timeout_concluido', |
132 | + 'atendimento.id_atendimento', | ||
133 | + 'me.pular_opiniometro' ], | ||
132 | 'as' => [ 'id_guiche', | 134 | 'as' => [ 'id_guiche', |
133 | 'identificador', | 135 | 'identificador', |
134 | 'id_funcionario', | 136 | 'id_funcionario', |
@@ -146,7 +148,9 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | @@ -146,7 +148,9 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | ||
146 | 'agendamento_cnpjf', | 148 | 'agendamento_cnpjf', |
147 | 'agendamento_email', | 149 | 'agendamento_email', |
148 | 'timeout_chamando', | 150 | 'timeout_chamando', |
149 | - 'timeout_concluido' ]}); | 151 | + 'timeout_concluido', |
152 | + 'id_atendimento', | ||
153 | + 'pular_opiniometro' ]}); | ||
150 | 154 | ||
151 | #pega o estado do guiche, se for interno entao seleciona do servicoguiche, senao do servicoatendimento | 155 | #pega o estado do guiche, se for interno entao seleciona do servicoguiche, senao do servicoatendimento |
152 | my $estado_guiche = $c->stash->{guiche}->estados->search | 156 | my $estado_guiche = $c->stash->{guiche}->estados->search |
@@ -254,7 +258,8 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | @@ -254,7 +258,8 @@ sub status_guiche :WSDLPort('GestaoAtendente') :DBICTransaction('DB') :MI { | ||
254 | { ( map { $_ => $guiche->get_column($_) } | 258 | { ( map { $_ => $guiche->get_column($_) } |
255 | qw( id_guiche identificador estado estado_atendimento | 259 | qw( id_guiche identificador estado estado_atendimento |
256 | funcionario id_funcionario jid pausa_motivo | 260 | funcionario id_funcionario jid pausa_motivo |
257 | - timeout_chamando timeout_concluido) ), | 261 | + timeout_chamando timeout_concluido id_atendimento |
262 | + pular_opiniometro ) ), | ||
258 | ( map { $guiche->get_column($_) ? | 263 | ( map { $guiche->get_column($_) ? |
259 | ($_ => DateTime::Format::XSD->format_datetime | 264 | ($_ => DateTime::Format::XSD->format_datetime |
260 | (DateTime::Format::Pg->parse_datetime | 265 | (DateTime::Format::Pg->parse_datetime |