30<?php
if (
$p_readonly ==
false) echo
HtmlInput::button(
"reprise_show",
_(
'Reprise inventaire'),
" onclick=\"$('reprise_inventaire_div').show();\"")?>
32<div
style=
"<?php if ( ! $p_readonly) echo "position:absolute
";?>" class=
"content">
33 <form method=
"POST" id=
"stock_reprise" class=
"print" onsubmit=
"return confirm_box(this,'<?php echo _("Vous confirmez ?
")?>')">
37 <?php echo
_(
"Date")?>
40 <?php echo
$date->input()?>
45 <?php echo
_(
"Dépot")?>
48 <?php echo $idepo->input()?>
53 <?php echo
_(
"Motif de changement")?>
56 <?php echo $motif->input()?>
63 <?php echo
_(
"Code Stock")?>
67 <?php echo
_(
"Fiche")?>
71 <?php echo
_(
"Quantité")?>
78 <?php echo $sg_code[
$i]->input()?>
79 <?php echo $sg_code[
$i]->search()?>
82 <?php
if ( trim($sg_code[
$i]->
value) !=
"") echo HtmlInput::card_detail($sg_code[
$i]->
value,
h($sg_code[
$i]->
value),
' class="line"',
true)?>
88 <?php echo HtmlInput::card_detail(
$fiche[
$i]->get_quick_code(),
h(
$fiche[
$i]->getName()),
' class="line"');?>
92 <?php if ($sg_quantity[$i]->value==0 && $p_readonly==true):?>
95 <?php echo $sg_quantity[$i]->input()?>
99 <?php
if (isset ($sg_type[
$i])):?>
100 <?php echo $sg_type[
$i]?>
106<?php
if (
$p_readonly ==
false) echo HtmlInput::button_action(
_(
'Ajouter une ligne'),
'stock_add_row();',
"xx",
'smallbutton')?>
107<?php
if (
$p_readonly ==
false) echo HtmlInput::submit(
'save',
_(
'Sauver'))?>
108<?php
if (
$p_readonly ==
false) echo HtmlInput::hidden(
'row',
$nb)?>
111<div
class=
"inner_box" id=
"reprise_inventaire_div" style=
"display:none">
113 <?php echo HtmlInput::title_box(
_(
'Reprise inventaire'),
'reprise_inventaire_div',
'hide');?>
118 <?php echo
_(
'Dépot'); ?>
121 <?php echo $idepo->input()?>
126 <?php echo
_(
'Exercice')?>
129 <?php echo $select_exercice->input();?>
th($p_string, $p_extra='', $raw='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
h( $row[ 'oa_description'])
_("actif, passif,charge,...")