35 <?=
_(
'Date paiement')?>
79 <?=$this->data[
$i][
'str_date']?>
82 <?=$this->data[
$i][
'str_date_paid']?>
85 <?=$this->data[
$i][
'jr_pj_number']?>
88 <?=HtmlInput::detail_op($this->data[
$i][
'jr_id'], $this->data[
$i][
'jr_internal'])?>
91 <?=HtmlInput::history_card($this->data[
$i][
'qp_supplier'],
h($this->data[
$i][
'name'].
' '.$this->data[
$i][
'first_name']))?>
94 <?=
h($this->data[
$i][
'jr_comment'])?>
97 <?php
if ($this->data[
$i][
'currency_id'] !=0) : ?>
98 <?=
nbm(bcadd($this->data[
$i][
'sum_oc_amount'],$this->data[
$i][
'sum_oc_vat_amount'],4),2)?>
99 <?=$this->data[
$i][
'cr_code_iso']?>
103 <?=
nbm($this->data[
$i][
'novat'])?>
120 $msg=(
$row[
'qcode_bank'] !=
"")?
"[".
$row[
'qcode_bank'].
"]":
$row[
'jr_internal'];
130 <
td class=
"width:auto" colspan=
"8" style=
"border-style: solid;border-width:1px;border-color: blue">
133$det=$this->
db->execute(
"detail_purchase",array($this->data[
$i][
'jr_internal']));
138 <
th><?=
_(
"Item")?></
th>
139 <
th class=
"num"><?=
_(
"Quantité")?></
th>
140 <
th class=
"num"><?=
_(
"Prix Unit")?></
th>
141 <
th class=
"num"><?=
_(
"HTVA")?></
th>
142 <
th class=
"num"><?=
_(
"TVA")?></
th>
143 <
th class=
"num"><?=
_(
"Code TVA")?></
th>
144 <
th class=
"num"><?=
_(
"TVAC")?></
th>
169 <
td><?=$this->data[
$i][
'supp_tax'][$j][
'j_poste']?>
170 <?=$this->data[
$i][
'supp_tax'][$j][
'ac_label']?>
177 <
td class=
"num"><?=
nbm($this->data[
$i][
'supp_tax'][$j][
'j_montant'])?></
td>
189 <
tr class=
"highlight">
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.
if($max > 0) $det
Detail opération.
h( $row[ 'oa_description'])
_("actif, passif,charge,...")
static fetch_all($ret)
wrapper for the function pg_fetch_all
static fetch_array($ret, $p_indice=0, $p_mode=PGSQL_ASSOC)
wrapper for the function pg_fetch_array
static num_row($ret)
wrapper for the function pg_num_rows