'; global $http; $cn=Dossier::connect(); $grandLivre=new Anc_Grandlivre($cn); $grandLivre->get_request(); /* * Form */ echo '
'; echo $grandLivre->display_form(); echo '

' . HtmlInput::submit('Recherche', _('Rechercher')) . '

'; echo HtmlInput::request_to_hidden(array('sa','ac','gDossier')); echo '
'; $result=$http->request('result',"string",null); if ($result != null) { $grandLivre->load(); if ($grandLivre->has_data != 0 ) { echo ''; echo _('Tout sélectionner')." ".ICheckBox::toggle_checkbox('export_pdf_bt1','export_anc_receipt_pdf'); echo ''; $task_id=uniqid(); echo $grandLivre->button_export_csv(); printf ('
', $task_id, _("Le traitement est en cours , merci de patienter sans recharger la page") ); echo HtmlInput::hidden("task_id",$task_id); $type_pdf=new Select_Box("type_pdf",_("Type export PDF")); $type_pdf->add_value(_("Un seul PDF"),1); $type_pdf->add_value(_("Un PDF par opération"),2); $type_pdf->set_position("in-absolute"); echo $type_pdf->input(); // propose to download also the reconcilied operation with its receipt // echo _("Avec documents des opérations rapprochées"); // $checkbox=new ICheckBox("receipt_reconcilied", 0); // // echo $checkbox->input(); $type_pdf=new Select_Box("reconcilied_document",_("Opérations rapprochées")); $type_pdf->add_value(_("Opérations rapprochées avec documents"),1); $type_pdf->add_value(_("Opérations rapprochées sans documents"),2); $type_pdf->set_position("in-absolute"); echo $type_pdf->input(); echo $grandLivre->button_export_pdf(); echo $grandLivre->display_html(); echo HtmlInput::get_to_hidden(array('ac','gDossier','sa')); echo $grandLivre->button_export_pdf(); echo '
'; echo $grandLivre->button_export_csv(); ?> '; echo _('Aucune donnée trouvée'); echo '

'; } } echo ''; ?>