Improve : PRINTJRN search in one line mode
This commit is contained in:
parent
3817deb492
commit
9bc39834df
4 changed files with 28 additions and 16 deletions
|
|
@ -700,7 +700,9 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
|
|||
public function export_oneline_html()
|
||||
{
|
||||
$this->get_rowSimple();
|
||||
echo '<TABLE class="result">';
|
||||
|
||||
echo \HtmlInput::filter_table("tb_print_ledger", "0,1,2,3,4,5,6", 1);
|
||||
echo '<TABLE class="result" id="tb_print_ledger">';
|
||||
echo "<TR>".
|
||||
th(_("Date")).
|
||||
th(_("n° pièce")).
|
||||
|
|
|
|||
|
|
@ -25,8 +25,10 @@ if (!defined('ALLOWED'))
|
|||
* @file
|
||||
* @brief display Financial operation , simple and detailled
|
||||
*/
|
||||
|
||||
echo \HtmlInput::filter_table("tb_print_ledger", "0,1,2,3,4,5,6,7,8,9", 1);
|
||||
?>
|
||||
<table class="result">
|
||||
<table class="result" id="tb_print_ledger">
|
||||
<tr>
|
||||
<th><?= _('Date') ?></th>
|
||||
<th><?= _('Banque') ?></th>
|
||||
|
|
|
|||
|
|
@ -28,8 +28,11 @@ if (!defined('ALLOWED'))
|
|||
* @todo prévoir aussi pour les non assujetti : faire disparaître les montants TVA
|
||||
*/
|
||||
bcscale(2);
|
||||
$p_col=($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10,11":"0,1,2,3,4,5,6,7,8,9,10,11,12";
|
||||
echo \HtmlInput::filter_table("tb_print_ledger", $p_col, 1);
|
||||
|
||||
?>
|
||||
<table class="result">
|
||||
<table class="result" id="tb_print_ledger">
|
||||
<tr>
|
||||
<th>
|
||||
<?=_('Date')?>
|
||||
|
|
@ -49,28 +52,28 @@ bcscale(2);
|
|||
<th>
|
||||
<?=_('Description')?>
|
||||
</th>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('HTVA')?>
|
||||
</th>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('Non ded')?>
|
||||
</th>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('TVA')?>
|
||||
</th>
|
||||
<?php if ($nb_other_tax<>0) :?>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('Autre Taxe')?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('TVAC')?>
|
||||
</th>
|
||||
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('Devise')?>
|
||||
</th>
|
||||
<th>
|
||||
<th class="text-center">
|
||||
<?=_('Lien')?>
|
||||
</th>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -24,9 +24,11 @@
|
|||
* @brief
|
||||
* @todo prévoir aussi pour les non assujetti : faire disparaître les montants TVA
|
||||
*/
|
||||
$p_col=($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10":"0,1,2,3,4,5,6,7,8,9,10,11";
|
||||
echo \HtmlInput::filter_table("tb_print_ledger", $p_col, 1);
|
||||
|
||||
?>
|
||||
<table class="result">
|
||||
<table class="result" id="tb_print_ledger">
|
||||
<tr>
|
||||
<th>
|
||||
<?=_('Date')?>
|
||||
|
|
@ -46,24 +48,27 @@
|
|||
<th>
|
||||
<?=_('Description')?>
|
||||
</th>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('HTVA')?>
|
||||
</th>
|
||||
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('TVA')?>
|
||||
</th>
|
||||
<?php if ($nb_other_tax>0) :?>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('Autre Taxe')?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('TVAC')?>
|
||||
</th>
|
||||
<th class="num">
|
||||
<th class="text-center">
|
||||
<?=_('Devise')?>
|
||||
</th>
|
||||
<th class="text-center">
|
||||
<?=_('Lien')?>
|
||||
</th>
|
||||
</tr>
|
||||
<?php
|
||||
$nb_data=count($this->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue