';
+if ( ! isset($_GET['vis'])) exit();
+$a=new Acc_Reconciliation($cn);
+switch ($choice) {
+case 0:
+ $array=$a->get_reconciled('');
+ break;
+case 1:
+ $array=$a->get_reconciled_amount('',false);
+ break;
+case 2:
+ $array=$a->get_reconciled_amount('',true);
+ break;
+case 3:
+ $array=$a->get_not_reconciled('');
+ break;
+default:
+ echo "Choix invalid";
+ exit();
+}
+require_once('template/impress_reconciliation.php');
+exit();
\ No newline at end of file
diff --git a/include/template/impress_reconciliation.php b/include/template/impress_reconciliation.php
new file mode 100644
index 000000000..1f6759326
--- /dev/null
+++ b/include/template/impress_reconciliation.php
@@ -0,0 +1,55 @@
+
+
+|
+N°
+ |
+
+Date
+ |
+
+N° op
+ |
+
+n° pièce
+ |
+
+Libellé
+ |
+
+Montant
+ |
+
+
+for ($i=0;$i%s',
+ $array[$i]['first']['jr_id'],$gDossier,$array[$i]['first']['jr_internal']);
+ $r.=td($detail);
+ $r.=td($array[$i]['first']['jr_pj']);
+ $r.=td($array[$i]['first']['jr_comment']);
+ $r.=td($array[$i]['first']['jr_montant']);
+ echo tr($r);
+ if ( isset($array[$i]['depend']) )
+ {
+ $limit=count($array[$i]['depend'])-1;
+ for ($e=0;$e%s',
+ $array[$i]['depend'][$e]['jr_id'],$gDossier,$array[$i]['depend'][$e]['jr_internal']);
+ $r.=td($detail);
+ $r.=td($array[$i]['depend'][$e]['jr_pj']);
+ $r.=td($array[$i]['depend'][$e]['jr_comment']);
+ $r.=td($array[$i]['depend'][$e]['jr_montant']);
+ if ( $e==$limit)
+ echo ''.$r.'
';
+ else
+ echo tr($r);
+ }
+ }
+}
+?>
+
\ No newline at end of file