function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('produtos', $this->filtro->sql_print()); } }
function imprimir_clicked($button) { if ($this->grid->pega_dados()) { impressao_geral('end_transportadoras'); } }
function imprimir_clicked($button) { if ($this->grid->pega_dados()) { impressao_geral('end_fornecedores'); } }
function imprimir_clicked() { $page = $this->notebook->get_current_page(); switch ($page) { case 0: $modulo = 'contas_pagar'; $filtro = $this->filtro; $grid = $this->grid; $extra = ' Tb_Contas_Pagar.Cod_S_Sit = 1 '; break; case 1: $modulo = 'mov_contas_pagar'; $filtro = $this->mov_filtro; $grid = $this->mov_grid; $extra = ' Tb_Mov_Contas_Pagar.Inativo = 0 '; break; case 2: $modulo = 'del_contas_pagar'; $filtro = $this->del_filtro; $grid = $this->del_grid; $extra = ' Tb_Del_Contas_Pagar.Inativo = 0 '; break; } if (!$grid->pega_dados()) { return; } $filtro = $filtro->sql_print(); $where = $filtro ? ' AND ' . $extra : ' WHERE ' . $extra; impressao_geral($modulo, $filtro . $where); }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('unid_vendas'); } }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('sit_produtos'); } }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('transportadoras', $this->filtro->sql_print()); } }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('usuarios'); } }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('tipos_despesa'); } }
function imprimir_clicked() { if ($this->grid->pega_dados()) { impressao_geral('formas_pgto'); } }