30if (!defined(
'ALLOWED')) die(
'Appel direct ne sont pas permis');
31require_once NOALYSS_INCLUDE .
'/lib/ac_common.php';
32require_once NOALYSS_INCLUDE .
'/lib/function_javascript.php';
45 exit(
'<span class="warning">' .
46 _(
'Pas de journal disponible') .
61if (!isset(
$_POST[
'summary']) && !isset(
$_POST[
'save'])) {
62 require NOALYSS_INCLUDE .
'/operation_ods_new.inc.php';
67 require_once NOALYSS_INCLUDE .
'/operation_ods_confirm.inc.php';
68 }
catch (Exception
$e) {
71 require_once NOALYSS_INCLUDE .
'/operation_ods_new.inc.php';
77 echo
'<div class="content">';
83 $ledger->save_followup(
$http->request(
"action_gestion",
"string",
""));
86 echo
'<h2>' . _(
"Opération enregistrée") .
" ". _(
"Piece") .
" ".
h(
$ledger->pj) .
'</h2>';
88 echo
'<h3 class="notice">' . _(
'Attention numéro pièce existante, elle a du être adaptée') .
91 echo
'<div style="margin-left:3rem">';
92 echo _(
"Détail opération");
94 printf(
'<a class="detail" style="display:inline" href="javascript:modifyOperation(%d,%d)">%s</a><hr>',
99 echo
'<div id="jrn_name_div">';
100 echo
'<h1 id="jrn_name" style="display:inline">' .
105 if (isset(
$_POST[
'reverse_ck'])) {
113 echo _(
'Extourné au ') .
$p_date;
115 }
catch (Exception
$e) {
116 echo
'<span class="warning">' . _(
'Opération non extournée') .
123 echo
'<span class="warning">' . _(
'Date invalide, opération non extournée') .
'</span>';
126 echo
'<ul class="aligned-block">';
128 echo
$ledger->button_new_operation();
131 echo
$ledger->button_copy_operation();
134 }
catch (Exception
$e) {
135 require NOALYSS_INCLUDE .
'/operation_ods_new.inc.php';
NoAccess($js=1)
Echo no access and stop.
alert($p_msg, $buffer=false)
alert in javascript
h( $row[ 'oa_description'])
if(empty($first_ledger)) $ledger id
if($g_user->check_jrn($ledger->id)=='X') $p_msg
$def
show a form for quick_writing
for($e=0; $e< count($afiche); $e++) exit
if( $delta< 0) elseif( $delta==0)