Ejemplo n.º 1
0
 public void AlteraVendaPagamentoFechado(int idUsuario, int numCaixa)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         novaFormaPgto.AlteraVendaPagamentoFechado(idUsuario, numCaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Ejemplo n.º 2
0
 public void DevolucaoPagamentosVenda(int idUsuario, int idCliente, int tipoP, decimal valorVendaDevolvido, string cnpj, int numVenda, bool baixado, DateTime data, decimal troco, bool fechado, int numCaixa)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         novaFormaPgto.DevolucaoPagamentosVenda(idUsuario, idCliente, tipoP, valorVendaDevolvido, cnpj, numVenda, baixado, data, troco, fechado, numCaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Ejemplo n.º 3
0
 public void DevolucaoPagamentoVenda(int idUsuario, decimal valorVendaDevolvido)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         novaFormaPgto.DevolucaoPagamentoVenda(idUsuario, valorVendaDevolvido);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Ejemplo n.º 4
0
 public DataTable PesquisarUltimaVenda(int numCupom)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaFormaPgto.DevolucaoPagamentoVenda(numCupom);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Ejemplo n.º 5
0
 public DataTable PesquisarFPgto(DateTime data, int idUsuario, int numCaixa)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaFormaPgto.PesquisarFPgto(data, idUsuario, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Ejemplo n.º 6
0
 public DataTable PesquisarFromaPagamento(int cod)
 {
     try
     {
         novaFormaPgto = new AcessoDados.FormaPagamentoAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaFormaPgto.PesquisarFormaPagtos(cod);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }