6?><?php require_once NOALYSS_TEMPLATE.
'/ledger_detail_top.php'; ?>
7<div
class=
"content" style=
"padding:0;">
14<form
class=
"print" onsubmit=
"return op_save(this);">
24 $date->setReadOnly(
true);
27 echo
td(_(
'Date')).td(
$date->input());
54 $itext->value=(!empty(
$obj->det->jr_comment))?strip_tags(
$obj->det->jr_comment):
'';
56 echo
td(_(
'Libellé')).td(
$itext->input(),
' colspan="2" style="width:auto"');
62<?php echo
td(_(
'montant')).td(
nbm(
$obj->det->array[0][
'qf_amount']),
' class="inum"');?>
67$itext->value=(!empty(
$obj->det->jr_pj_number))?strip_tags(
$obj->det->jr_pj_number):
'';
68echo
td(_(
'Pièce')).td(
$itext->input());
74 <
td style=
"width:50%;height:100%;vertical-align:top;text-align: center">
75 <
table style=
"width:99%;height:8rem;vertical-align:top;">
77 <
td style=
"text-align:center;vertical-align: top">
81 <
td style=
"text-align:center;vertical-align: top">
84 $inote->style=
' class="itextarea" style="width:90%;height:100%;"';
93 <div
id=
"operation_tag_td<?=$div?>">
122if (
$obj->det->currency_id!=0)
124 $currency_amount=
$obj->db->get_value(
"select oc_amount from operation_currency where j_id =$1",
125 [
$obj->det->array[0][
'j_id']]);
126 $currency_rate=
$obj->db->get_value(
"select currency_rate from jrn where jr_id=$1",[
$obj->jr_id]);
127 $currency_code=
$obj->db->get_value(
"select cr_code_iso from currency where id=$1",[
$obj->det->currency_id]);
128 printf (_(
"%s Taux utilisé %s Montant en devise %s"),$currency_code,$currency_rate,$currency_amount);
131<div
class=
"myfieldset">
137 if (
$owner->MY_ANALYTIC !=
'nu' ){
139 $a_anc=
$anc->get_list(
' order by pa_id ');
142 $str_anc .=
'<th colspan="'.$x.
'" style="width:auto;text-align:center">'._(
'Compt. Analytique').
'</th>';
153 if (
$owner->MY_ANALYTIC !=
"nu" )
160 $anc_op->j_id=
$q[
$e][
'j_id'];
161 $anc_op->in_div=
$div;
168 $montant=(
$q[
$e][
'j_debit'] ==
"t")?
$q[
$e][
'j_montant']:bcmul(
$q[
$e][
'j_montant'], -1);
179require_once NOALYSS_TEMPLATE.
'/ledger_detail_bottom.php';
format_date($p_date, $p_from_format='YYYY-MM-DD', $p_to_format='DD.MM.YYYY')
format the date, when taken from the database the format is MM-DD-YYYY
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.
h( $row[ 'oa_description'])
this class manage data from the JRNX and JRN table
this class is used to show the form for entering an operation only FOR analytic operation to save it,...
Concerns the Analytic plan (table plan_analytique)
static hidden($p_array)
return an HTML string containing hidden input type to hold the differant PA_ID
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Html Input : Input a date format dd.mm.yyyy The property title should be set to indicate what it is e...
Manage the TEXTAREA html element.
Class to manage the company parameter (address, name...)
concerns the tags linked to an accountancy writing
static button_search($p_jr, $p_div)
Show a button to select tag for Search.
if($access=='W') if($obj->det->currency_id!=0) $detail
Display Currency in a column, if invoice not recorded in EUR.