Skip to content
Snippets Groups Projects
Commit 52176a5f authored by jgaimard's avatar jgaimard
Browse files

correction rejets des exemplaires par annexes en 995

parent 39af4b51
Branches
Tags
No related merge requests found
......@@ -353,7 +353,20 @@ class notice_unimarc extends iso2709_record
if($champ_section and $champ["code"] == $champ_section) $ex["section"]=$this->getIdCodeExemplaire("section","995",$champ_section,$champ["valeur"]);
if($champ_genre and $champ["code"] == $champ_genre) $ex["genre"]=$this->getIdCodeExemplaire("genre","995",$champ_genre,$champ["valeur"]);
if($champ_emplacement and strtolower($champ["code"]) == $champ_emplacement) $ex["emplacement"]=$this->getIdCodeExemplaire("emplacement","995",$champ_emplacement,$champ["valeur"]);
if($champ_annexe and $champ["code"] == $champ_annexe) $ex["annexe"]=$champ["valeur"];
if($champ_annexe and $champ["code"] == $champ_annexe)
{
$annexe=$champ["valeur"];
if($annexe)
{
$enreg=fetchEnreg("select * from codif_annexe where code='$annexe'");
if($enreg["invisible"]==1)
{
$nb_ex_detruits++;
$ex["activite"]="d";
}
}
$ex["annexe"]=$annexe;
}
// date de nouveauté
if($champs_nouveaute["zone"]=="995" and $champ["code"]==$champs_nouveaute["champ"])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment