noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
anc_great_ledger.inc.php
Go to the documentation of this file.
00001 <?php
00002 //This file is part of NOALYSS and is under GPL 
00003 //see licence.txt
00004 
00005 if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
00006 echo '<div style="content">';
00007 
00008 require_once 'class_anc_grandlivre.php';
00009 
00010 $grandLivre=new Anc_Grandlivre($cn);
00011 
00012 $grandLivre->get_request();
00013 
00014 /*
00015  * Form
00016  */
00017 echo '<form method="get" >';
00018 echo $grandLivre->display_form();
00019 echo '<p>' . HtmlInput::submit('Recherche', _('Rechercher')) . '</p>';
00020 echo HtmlInput::request_to_hidden(array('sa','ac','gDossier'));
00021 echo '</form>';
00022 
00023 $result=HtmlInput::default_value_request('result',null);
00024 
00025 if ($result != null)
00026 {
00027     $result=$grandLivre->display_html();
00028     if ($grandLivre->has_data != 0 )
00029     {
00030         echo '<span style="display:block">';
00031           echo _('Tout sélectionner')." ".ICheckBox::toggle_checkbox('export_pdf_bt1','export_anc_receipt_pdf');
00032         echo '</span>';
00033         echo $grandLivre->show_button();
00034         echo '<form method="GET" id="export_anc_receipt_pdf" action="export.php" style="display:inline">';
00035 
00036         echo $grandLivre->button_export_pdf();
00037         echo $grandLivre->display_html();
00038         echo $grandLivre->button_export_pdf();
00039         echo HtmlInput::get_to_hidden(array('ac','gDossier','sa'));
00040         echo '</form>';
00041         echo $grandLivre->show_button();
00042     }
00043     else
00044     {
00045         echo '<p class="notice">';
00046         echo _('Aucune donnée trouvée');
00047         echo '</p>';
00048     }
00049     
00050 }
00051 echo '</div>';
00052 ?>
 All Data Structures Namespaces Files Functions Variables Enumerations