13?><?php require_once NOALYSS_TEMPLATE.
'/ledger_detail_top.php'; ?>
16 $cn=Dossier::connect();
21<form
class=
"print" onsubmit=
"return op_save(this);">
24 <?php echo HtmlInput::hidden(
'whatdiv',
$div).HtmlInput::hidden(
'jr_id',
$jr_id).dossier::hidden();?>
31 $date->setReadOnly(
true);
34 echo
td(
_(
'Date')).td(
$date->input());
61 $itext->value=(!empty(
$obj->det->jr_comment))?strip_tags(
$obj->det->jr_comment):
'';
63 echo
td(
_(
'Libellé')).td(
$itext->input(),
' colspan="2" style="width:auto"');
69<?php echo
td(
_(
'montant')).td(
nbm(
$obj->det->array[0][
'qf_amount']),
' class="inum"');?>
74$itext->value=(!empty(
$obj->det->jr_pj_number))?strip_tags(
$obj->det->jr_pj_number):
'';
81 <
td style=
"width:50%;height:100%;vertical-align:top;text-align: center">
82 <
table style=
"width:99%;height:8rem;vertical-align:top;">
84 <
td style=
"text-align:center;vertical-align: top">
87 $inote->set_enrichText(
"minimal");
89 $inote->style=
' class="itextarea" style="width:90%;height:100%;"';
98 <
td id=
"note_html<?=$div?>" style=
"text-align:center;vertical-align: top">
99 <?=
$obj->det->note_html?>
104 <div
id=
"operation_tag_td<?=$div?>">
133if (
$obj->det->currency_id!=0)
135 $currency_amount=
$obj->db->get_value(
"select oc_amount from operation_currency where j_id =$1",
136 [
$obj->det->array[0][
'j_id']]);
137 $currency_rate=
$obj->db->get_value(
"select currency_rate from jrn where jr_id=$1",[
$obj->jr_id]);
138 $currency_code=
$obj->db->get_value(
"select cr_code_iso from currency where id=$1",[
$obj->det->currency_id]);
139 printf (
_(
"%s Taux utilisé %s Montant en devise %s"),$currency_code,$currency_rate,$currency_amount);
142<div
class=
"myfieldset">
148 if (
$owner->MY_ANALYTIC !=
'nu' ){
150 $a_anc=
$anc->get_list(
' order by pa_id ');
153 $str_anc .=
'<th colspan="'.$x.
'" style="width:auto;text-align:center">'.
_(
'Compt. Analytique').
'</th>';
164 if (
$owner->MY_ANALYTIC !=
"nu" )
171 $anc_op->j_id=
$q[
$e][
'j_id'];
172 $anc_op->in_div=
$div;
178 $str_anc.= HtmlInput::hidden(
'opanc[]',$anc_op->j_id);
179 $montant=(
$q[
$e][
'j_debit'] ==
"t")?
$q[
$e][
'j_montant']:bcmul(
$q[
$e][
'j_montant'], -1);
190require_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.
global $g_user
if no group available , then stop
h( $row[ 'oa_description'])
_("actif, passif,charge,...")
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.
$tag_operation
Tags on operation.