<?php
$DEBUG=0;

$serie=15;
$ent = "Informatique <img src='../img/fleche_droite.png' align='bottom'  border='0'> Stations au rebut";
$ico = "../img/intervention.png";
$edition="";
$fiche="";
       $href[0]['lien']= "#";
       $href[0]['id']= "";
       $href[0]['lib']= "";

//
$table="stationrebut inner join typestation on stationrebut.idtypestation=typestation.idtypestation left join modeleelement on stationrebut.idmodele=modeleelement.idmodele";
$hiddenid=1;
$champAffiche=array("stationrebut.idstation as id","stationrebut.numero","libtypestation as typestation","libmodele as modele","stationrebut.numserie","stationrebut.dateachat","stationrebut.daterebut");
$champRecherche=array("stationrebut.numero","libtypestation","libmodele","stationrebut.numserie","stationrebut.daterebut");
$tri= " order by stationrebut.numero desc";
$selection="";
if (isset($idx)) { //soustabdyn
  if ($obj=="modelecomposant") { //soustab de modele...
    $table.=", elementrebut as E2";
    $selection = " where stationrebut.idstation=E2.idstation and E2.idmodele = ".$idx;
  }
}
// sous formulaire
$sousformulaire=array("composantrebut","interventionrebut");
$sousformulaire_class="sousformulaire"; // dans cg => voir customs ???
$soustab="onglet";
?>