27if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
36 $cn->exec_sql(
'delete from stock_change where c_id=$1',array(
$_POST[
'c_id']));
40 alert(_(
"Vous ne pouvez pas modifier ce dépôt"));
45 alert(_(
"Opération non effacée: vous n'avez pas confirmé"));
53$a_change=
$cn->get_array(
"select *,to_char(c_date,'DD.MM.YY') as str_date from stock_change as sc
54 join stock_repository as sr on (sc.r_id=sr.r_id)
55 where sc.r_id in (select r_id from profile_sec_repository where p_id=$1)
56 and c_date >= (select min(p_start) from parm_periode where p_exercice = $2)
57 and c_date <= (select max(p_end) from parm_periode where p_exercice = $2)
64 <form method=
"get" class=
"print">
73 <?php echo _(
'Date')?>
76 <?php echo _(
'Commentaire')?>
79 <?php echo _(
'Dépot')?>
82 <?php echo _(
'Utilisateur') ?>
89 <?php
$class=(
$e%2==0)?
' class="even" ':
' class="odd" '; ?>
90 <tr <?php echo $class?>>
th($p_string, $p_extra='', $raw='')
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
h( $row[ 'oa_description'])
about the accountancy period (usually 1 year starting in January until december) = exercice
if(isset($_POST['del'])) $profile