Doc
This commit is contained in:
parent
772776075f
commit
2770955620
@ -364,7 +364,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
// Status
|
// Status
|
||||||
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
||||||
print '<select id="warehousestatus" name="statut" class="flat">';
|
print '<select id="warehousestatus" name="statut" class="flat minwidth100">';
|
||||||
foreach ($object->statuts as $key => $value) {
|
foreach ($object->statuts as $key => $value) {
|
||||||
if ($key == 1) {
|
if ($key == 1) {
|
||||||
print '<option value="'.$key.'" selected>'.$langs->trans($value).'</option>';
|
print '<option value="'.$key.'" selected>'.$langs->trans($value).'</option>';
|
||||||
@ -839,7 +839,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Edition fiche
|
* Edit
|
||||||
*/
|
*/
|
||||||
if ($action == 'edit' || $action == 're-edit') {
|
if ($action == 'edit' || $action == 're-edit') {
|
||||||
$langs->trans("WarehouseEdit");
|
$langs->trans("WarehouseEdit");
|
||||||
|
|||||||
@ -141,7 +141,7 @@ class Entrepot extends CommonObject
|
|||||||
'tms' =>array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>1, 'visible'=>-2, 'notnull'=>1, 'position'=>301),
|
'tms' =>array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>1, 'visible'=>-2, 'notnull'=>1, 'position'=>301),
|
||||||
//'import_key' =>array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>1, 'visible'=>-2, 'position'=>1000),
|
//'import_key' =>array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>1, 'visible'=>-2, 'position'=>1000),
|
||||||
//'model_pdf' =>array('type'=>'varchar(255)', 'label'=>'ModelPDF', 'enabled'=>1, 'visible'=>0, 'position'=>1010),
|
//'model_pdf' =>array('type'=>'varchar(255)', 'label'=>'ModelPDF', 'enabled'=>1, 'visible'=>0, 'position'=>1010),
|
||||||
'statut' =>array('type'=>'tinyint(4)', 'label'=>'Status', 'enabled'=>1, 'visible'=>1, 'position'=>500),
|
'statut' =>array('type'=>'tinyint(4)', 'label'=>'Status', 'enabled'=>1, 'visible'=>1, 'position'=>500, 'css'=>'minwidth50'),
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user