0022154: Espec - Historico de Bloqueio

bug#22154
dev: Wallace
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@106594 d1611594-4594-4d17-8e1d-87c2c4800839
master
amarildo.alves 2021-05-07 21:24:39 +00:00
parent 0aa8c25bc8
commit 2ef1b0ad56
5 changed files with 21 additions and 0 deletions

View File

@ -8,8 +8,18 @@ import org.zkoss.zul.ListitemRenderer;
import com.rjconsultores.ventaboletos.entidad.HistoricoPuntoVenta;
import com.rjconsultores.ventaboletos.dao.UsuarioDAO;
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
import com.rjconsultores.ventaboletos.entidad.Usuario;
public class PuntoVendaHistoricoBloqueioListItemRenderer implements ListitemRenderer {
private UsuarioDAO usuarioDAO;
public PuntoVendaHistoricoBloqueioListItemRenderer() {
usuarioDAO = (UsuarioDAO) AppContext.getApplicationContext().getBean("usuarioDAO");
}
@Override
public void render(Listitem lstm, Object o) throws Exception {
@ -23,6 +33,10 @@ public class PuntoVendaHistoricoBloqueioListItemRenderer implements ListitemRend
lc = new Listcell(formato.format(h.getFecBloqueio()));
lc.setParent(lstm);
Usuario usuario = usuarioDAO.obtenerID(h.getUsuarioId());
lc = new Listcell(usuario.getNombusuario());
lc.setParent(lstm);
lstm.setAttribute("data", lc);
}

View File

@ -1704,6 +1704,7 @@ editarPuntoVentaController.lbIndDatosTarjeta.value=Base de dados
editarPuntoVentaController.lbNodo.value=Servidor
editarPuntoVentaController.lbEmpresa.value=Empresa
editarPuntoVentaController.lbDataBloqueio.value=Data Bloqueio
editarPuntoVentaController.lbUsuarioBloqueio.value = User
editarPuntoVentaController.lbEmpresaContaBancaria.value=Conta Bancária
editarPuntoVentaController.lbEmpresaBloqueada.value=Bloqueada
editarPuntoVentaController.lbMostrarCaja.value=Exibir Caixa no Fechamento

View File

@ -1637,6 +1637,8 @@ editarPuntoVentaController.lbNumEdirecion.value = Dirección
editarPuntoVentaController.lbIndDatosTarjeta.value = Base de datos
editarPuntoVentaController.lbNodo.value = Servidor
editarPuntoVentaController.lbEmpresa.value = Empresa
editarPuntoVentaController.lbDataBloqueio.value = Data Bloqueio
editarPuntoVentaController.lbUsuarioBloqueio.value = Usuario
editarPuntoVentaController.lbEmpresaContaBancaria.value = Cuenta Bancária
editarPuntoVentaController.lbEmpresaBloqueada.value = Bloqueada
editarPuntoVentaController.lbMostrarCaja.value = Mostrar Caja en el Cierre

View File

@ -1775,6 +1775,7 @@ editarPuntoVentaController.lbIndDatosTarjeta.value = Base de dados
editarPuntoVentaController.lbNodo.value = Servidor
editarPuntoVentaController.lbEmpresa.value = Empresa
editarPuntoVentaController.lbDataBloqueio.value = Data Bloqueio
editarPuntoVentaController.lbUsuarioBloqueio.value = Usuario
editarPuntoVentaController.lbEmpresaContaBancaria.value = Conta Bancária
editarPuntoVentaController.lbEmpresaBloqueada.value = Bloqueada
editarPuntoVentaController.lbMostrarCaja.value = Exibir Caixa no Fechamento

View File

@ -2185,6 +2185,9 @@
<listheader id="lhDataAbertura"
image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbDataBloqueio.value')}" />
<listheader id="lhUsuarioBloqueio"
image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbUsuarioBloqueio.value')}" />
</listhead>
</listbox>
</tabpanel>