30<
h2 class=
"h-section"><?php echo
_(
"Vente")?></
h2>
46 echo
'<tr class="highlight">';
60 echo
'<table class="result">';
62 echo
th(
_(
"Code TVA"));
63 echo
th(
_(
"Taux"),
'class="num"');
64 echo
th(
_(
"Montant HT"),
'class="num"');
65 echo
th(
_(
"Montant TVA"),
'class="num"');
66 echo
th(
_(
"Montant Autoliquidation"),
'class="num"');
72<
tr class=
"<?php echo $color;?>">
79 <a href=
"javascript:void(0)" class=
"super" onclick=
"<?=$js_detail?>">Détails</a>
104 echo
'<tr class="highlight">';
112 echo
_(
"Aucune donnée");
116<h3><?=
_(
"Résumé tous les journaux de vente")?></h3>
120<
table class=
"result">
132 <?=
_(
"Montant TVA")?>
135 <?=
_(
"Montant Autoliquidation")?>
170 echo
'<tr class="highlight">';
180$array = $this->get_summary_sale();
185<
h2 class=
"h-section"><?php echo
_(
"Achat")?></
h2>
187$array=$this->get_row_purchase();
197 echo
'<tr class="highlight">';
215 echo
'<table class="result">';
217 echo
th(
_(
"Code TVA"));
218 echo
th(
_(
"Taux"),
'class="num"');
219 echo
th(
_(
"Montant HT"),
'class="num"');
220 echo
th(
_(
"Privée"),
'class="num"');
221 echo
th(
_(
"Montant TVA"),
'class="num"');
222 echo
th(
_(
"Montant Autoliquidation"),
'class="num"');
223 echo
th(
_(
"Montant Non Déd"),
'class="num"');
224 echo
th(
_(
"TVA Non Déd"),
'class="num"');
225 echo
th(
_(
"TVA Non Déd & récup"),
'class="num"');
231 <
tr class=
"<?php echo $color;?>">
238 <a href=
"javascript:void(0)" onclick=
"<?=$js_detail?>" class=
"super">Détails</a>
279 echo
'<tr class="highlight">';
291 echo
_(
"Aucune donnée");
295<h3><?=
_(
"Résumé tous les journaux d'achat")?></h3>
297$a_sum=$this->get_summary_purchase();
299<
table class=
"result">
314 <?=
_(
"Montant TVA")?>
317 <?=
_(
"Montant Autoliquidation")?>
320 <?=
_(
"Montant Non Déd")?>
323 <?=
_(
"TVA Non Déd")?>
326 <?=
_(
"TVA Non Déd & récup")?>
377 echo
'<tr class="highlight">';
h2($p_string, $p_class="", $raw="")
th($p_string, $p_extra='', $raw='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
nbm($p_number, $p_dec=2)
format the number with a sep.
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
if(!headers_sent())
– pour utiliser unoconv démarrer un server libreoffice commande libreoffice –headless –accept="socket...
_("actif, passif,charge,...")
for($e=2;$e< $nb_col;$e++) $a_sum