Predefined Operation rewriting

This commit is contained in:
Dany De Bontridder 2020-09-23 19:21:51 +02:00
parent 79dd13273a
commit d67485d417
19 changed files with 1063 additions and 755 deletions

View file

@ -0,0 +1,36 @@
<?php
/*
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/**
* @file
* display pre_operation value
*/
$name=new IText("opd_name",$array["e_comm"]);
$description=new IText("od_description",$array["od_description"]);
$description->style=' class="itextarea" style="width:30em;height:4em;vertical-align:top"';
?>
<?php echo _("Nom du modèle"),$name->input();?>
<p>
<?php echo _('Description (max 50 car.)'); ?>
<?php echo $description->input();?>
</p>

View file

@ -5,12 +5,13 @@
<legend><?php echo $f_legend ?>
</legend>
<?php echo $f_type?><?php echo $f_client_qcode?><?php echo $f_client_bt?> <?php echo $f_client?><br>
<input type="hidden" id="p_jrn" name="p_jrn" value="<?php echo $this->jrn_def_id; ?>">
<input type="hidden" id="p_jrn" name="p_jrn" value="<?php echo $p_array["p_jrn"]; ?>">
<?php echo $str_add_button?>
</fieldset>
<fieldset>
<legend><?php echo $f_legend_detail?></legend>
<div class="fieldset" style="overflow:auto;max-height:300px">
<h1 class="fiedset"><?php echo $f_legend_detail?></h1>
<div style="">
<table id="sold_item" width="100%" border="0">
<tr>
<th style="width:auto"colspan="2">Code <?php echo Icon_Action::infobulle(0)?></th>
@ -79,6 +80,6 @@ echo '</tr>';
<?php endif; ?>
</div>
</fieldset>
</div>