27if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
32$cn=Dossier::connect();
44 alert(
_(
"Vous ne pouvez pas écrire dans ce journal, contactez votre administrateur"));
45 echo
'<span class="warning">'.
46 _(
"Vous ne pouvez pas écrire dans ce journal, contactez votre administrateur").
50echo
'<div class="content">';
53echo
'<div id="jrn_name_div">';
54echo
'<h1 id="jrn_name" style="display:inline">' .
$ledger->get_name() .
'</h1>';
60if ( isset (
$_GET[
'action']) && ! isset(
$_POST[
'correct']) && ! isset($correct) )
62 if (
$_GET[
'action']==
'use_opd')
69 $op->set_od_id(
$http->request(
'pre_def',
'number'));
79 print '<span class="warning">'.$p_msg.
'</span>';
81echo
'<form method="post" class="print" onsubmit="return controleBalance();" >';
82echo dossier::hidden();
89$style=
' style="display:inline-block;width: 15rem;text-align: right"';
91<div
style=
"position:absolute;right:20px">
92 <
table class=
"info_op">
94 <
td style=
"border:1px solid "><?=
_(
'Totaux')?></
td>
95 <
td style=
"border:1px solid lightgrey"><?=
_(
'Débit') ?>
98 <
td style=
"border:1px solid lightgrey"><?=
_(
'Crédit') ?>
101 <
td style=
"border:1px solid lightgrey"><?=
_(
'Difference') ?>
106 <
tr id=
"row_currency">
109 <
td style=
"border:1px solid lightgrey"><?=
_(
'Débit') ?>
113 <
td style=
"border:1px solid lightgrey"><?=
_(
'Crédit') ?>
127printf (
_(
"Opération rapprochée : %s"),
$iconcerned->input());
131echo HtmlInput::submit(
'summary',
_(
'Sauvez'));
136echo
"<script>checkTotalDirect();</script>";
span($p_string, $p_extra='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
alert($p_msg, $buffer=false)
alert in javascript
global $g_user
if no group available , then stop
_("actif, passif,charge,...")
display currency , convert to euro , and save them if used.
Class for jrn, class acc_ledger for manipulating the ledger AND some acc.
static echo_file($msg, $print=true)
display the file
manage the predefined operation, link to the table op_def and op_def_detail
if($request_jrn !="" && $g_user->check_jrn($request_jrn) !='W' $p_msg)
if( $g_parameter->MY_PJ_SUGGEST=='Y') $e_date
create_script($p_string)
create the HTML for adding the script tags around of the script
< tr id="row_currency">< td style="border:1px solid "><?=$default_currency-> get_code()?></td >< td style $iconcerned