get_request_get(); echo '
'; $exercice=$http->get("exercice","number",$g_user->get_exercice()); //---------------------------------------------------------------- // Verification //---------------------------------------------------------------- if ( ! isset ($_GET['verif'])) { /* * Let you change the exercice */ echo '
';; echo '
'; echo _('Choisissez un exercice'); $ex=new Exercice($cn); $wex=$ex->select('exercice',$exercice,' onchange="submit(this)"'); echo $wex->input(); echo dossier::hidden(); echo HtmlInput::get_to_hidden(array('ac','type')); echo '
'; echo '
'; $filter_year=" where p_exercice='".sql_string($exercice)."'"; echo '
'; echo HtmlInput::hidden('type','bilan'); echo dossier::hidden(); // By default , show last day of exercice if ($bilan->to == -1 ){ $t_periode=new Periode($cn); list($per_max,$per_min)=$t_periode->get_limit($exercice); $bilan->to=$per_min->p_id; } echo $bilan->display_form ($filter_year); echo ' '._('Attention : si le bilan n\'est pas équilibré.
Vérifiez
  • L\'affectation du résultat est fait
  • Vos comptes actifs ont un solde débiteur (sauf les comptes dit inversés)
  • les comptes passifs ont un solde créditeur (sauf les comptes dit inversés)
Utilisez la balance des comptes pour vérifier.').'
'; echo HtmlInput::submit('verif',_('Verification comptabilite')); echo HtmlInput::get_to_hidden(array('ac','exercice')); echo '
'; } //---------------------------------------------------------------- // Print //---------------------------------------------------------------- if ( isset($_GET['verif'])) { $periode=new Periode($cn); if ( $g_parameter->MY_REPORT=='Y') { $date_from=$periode->first_day($bilan->from); $date_to=$periode->last_day($bilan->to); } else { $date_from=$bilan->from; $date_to=$bilan->to; } echo '

'._('Etape 2 :Impression')." ".$date_from.'-'.$date_to.'

'; $bilan->get_request_get(); $bilan->verify(); $url_verify=http_build_query(array('ac'=>'VERIFBIL','gDossier'=>dossier::id())); echo _('Pour une vérification complète, allez dans ').' VERIFBIL'; $id=uniqid("export_"); echo '
',$id,$id); echo dossier::hidden(); echo HtmlInput::get_to_hidden(array('exercice')); echo HtmlInput::hidden('b_id',$bilan->b_id); echo HtmlInput::hidden('act','OTH:Bilan'); echo HtmlInput::hidden('from_periode',$bilan->from); echo HtmlInput::hidden('to_periode',$bilan->to); echo HtmlInput::submit('Impression','Impression'); echo '
'; } echo '
'; echo '
';