19if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
39echo
'<div class="content">';
44if ( ! isset (
$_GET[
'verif']))
50 echo
'<form method="GET" onsubmit="return waiting_box()">';
51 echo
_(
'Choisissez un exercice');
55 echo dossier::hidden();
56 echo HtmlInput::get_to_hidden(array(
'ac',
'type'));
61 echo
'<FORM METHOD="GET" onsubmit="waiting_box()">';
62 echo HtmlInput::hidden(
'type',
'bilan');
63 echo dossier::hidden();
72 echo
'<span class="notice"> '._(
'Attention : si le bilan n\'est pas équilibré.<br> Vérifiez <ul>
73 <li>L\'affectation du résultat est fait</li>
74 <li>Vos comptes actifs ont un solde débiteur (sauf les comptes dit inversés)</li>
75 <li> les comptes passifs ont un solde créditeur (sauf les comptes dit inversés) </li>
77 Utilisez la balance des comptes pour vérifier.').
' </span>';
78 echo HtmlInput::submit(
'verif',
_(
'Verification comptabilite'));
79 echo HtmlInput::get_to_hidden(array(
'ac',
'exercice'));
96 echo
'<h2 class="h-section">'._(
'Etape 2 :Impression').
" ".
$date_from.
'-'.
$date_to.
'</h2>';
100 $url_verify=http_build_query(array(
'ac'=>
'VERIFBIL',
'gDossier'=>dossier::id()));
101 echo
_(
'Pour une vérification complète, allez dans ').
'<a class="line" TARGET="_blank" href="?'.$url_verify.
'"> VERIFBIL</a>';
102 $id=uniqid(
"export_");
104 echo
'<FORM METHOD="GET" ACTION="export.php" ';
105 printf(
'id="%s" onsubmit="download_document_form(\'%s\')">',
$id,
$id);
107 echo dossier::hidden();
108 echo HtmlInput::get_to_hidden(array(
'exercice'));
109 echo HtmlInput::hidden(
'b_id',
$bilan->b_id);
110 echo HtmlInput::hidden(
'act',
'OTH:Bilan');
112 echo HtmlInput::hidden(
'from_periode',
$bilan->from);
113 echo HtmlInput::hidden(
'to_periode',
$bilan->to);
114 echo HtmlInput::submit(
'Impression',
'Impression');
global $g_user
if no group available , then stop
catch(Exception $e) $exercice
_("actif, passif,charge,...")
this class handle the different bilan, from the table bilan, parse the form and replace in the templa...
about the accountancy period (usually 1 year starting in January until december) = exercice