if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); \Noalyss\Dbg::echo_file(__FILE__); /** * @file * @brief display purchase on one line with sum of VAT, Operation, Private exp. * @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); ?>
| =_('Date')?> | =_('Date paiement')?> | =_('Pièce')?> | =_('Interne')?> | =_('Client')?> | =_('Description')?> | =_('HTVA')?> | =_('Non ded')?> | =_('TVA')?> | 0) :?>=_('Autre Taxe')?> | =_('TVAC')?> | =_('Devise')?> | =_('Lien')?> |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| =$this->data[$i]['str_date']?> | =$this->data[$i]['str_date_paid']?> | =$this->data[$i]['jr_pj_number']?> | =HtmlInput::detail_op($this->data[$i]['jr_id'], $this->data[$i]['jr_internal'])?> | =HtmlInput::history_card($this->data[$i]['qp_supplier'],h($this->data[$i]['name'].' '.$this->data[$i]['first_name']." [ {$this->data[$i]['qcode']} ]"))?> | =h($this->data[$i]['jr_comment'])?> | =nbm($this->data[$i]['novat'])?> | =nbm(bcadd($this->data[$i]['noded_amount'],$this->data[$i]['private_amount']));?> | =nbm(bcsub($this->data[$i]['vat'],$this->data[$i]['tva_sided']))?> | 0) :?>=nbm($this->data[$i]['other_tax_amount'])?> | =nbm(bcadd($this->data[$i]['other_tax_amount'] ,$this->data[$i]['tvac']))?> | data[$i]['currency_id'] != '0') : ?> =nbm ( bcadd($this->data[$i]['sum_oc_amount'],$this->data[$i]['sum_oc_vat_amount'],2),2)?> =$this->data[$i]['cr_code_iso']?> | db->execute('reconcile_date',array($this->data[$i]['jr_id'])); $max=Database::num_row($ret_reconcile); if ($max > 0) { $sep=""; for ($e=0;$e<$max;$e++) { $row=Database::fetch_array($ret_reconcile, $e); $msg=( $row['qcode_bank'] != "")?"[".$row['qcode_bank']."]":$row['jr_internal']; echo $sep.HtmlInput::detail_op($row['jr_id'],$row['jr_date'].' '. $msg); $sep=' ,'; } } ?> |
| =_("Totaux")?> | =nbm($tot_amount_novat)?> | =nbm($tot_nonded_amount)?> | =nbm($tot_amount_vat)?> | 0) :?>=nbm($tot_other_tax)?> | =nbm($tot_amount_tvac)?> |