Example #1
0
 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');
     }
 }
Example #3
0
 function imprimir_clicked($button)
 {
     if ($this->grid->pega_dados()) {
         impressao_geral('end_fornecedores');
     }
 }
Example #4
0
 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);
 }
Example #5
0
 function imprimir_clicked()
 {
     if ($this->grid->pega_dados()) {
         impressao_geral('unid_vendas');
     }
 }
Example #6
0
 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());
     }
 }
Example #8
0
 function imprimir_clicked()
 {
     if ($this->grid->pega_dados()) {
         impressao_geral('usuarios');
     }
 }
Example #9
0
 function imprimir_clicked()
 {
     if ($this->grid->pega_dados()) {
         impressao_geral('tipos_despesa');
     }
 }
Example #10
0
 function imprimir_clicked()
 {
     if ($this->grid->pega_dados()) {
         impressao_geral('formas_pgto');
     }
 }