" valign="top">
" width="94%" border="0" cellpadding="0" cellspacing="0" align="center">
$oRs8->SearchByDrsFromDrsID($oRs->DrsID);
while($oRs8->GetRecord()){
?>
if($oRs8->personId==0){
$oDlc8->SearchByKey($oRs8->DlcID); $oDlc8->GetRecord();
$oDP->SearchByKey($oDlc8->deptId); $oDP->GetRecord();
$oPS->SearchByKey($oRs8->DrsReceivePersonId); $oPS->GetRecord();
if($oRs8->DrsReceivePersonId=="0"){
echo "- สารบรรณย่อย";
}else{
echo "- ".GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName;
}
echo " (".$oDP->deptName.")";
}else{
$oPS->SearchByKey($oRs8->personId); $oPS->GetRecord();
echo "- ".GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName;
if($oRs8->DrsMainPs=="Y"){ echo " [ผู้รับผิดชอบหลัก]"; $HaveDrsMainPS=1; }
if($oRs8->DrsSendToPs=="Y"){
echo " [ส่งด่วน]";
}
}
if($oRs8->DrsSendDocNew !="0000-00-00 00:00:00"){
echo " [ส่งเพิ่มเติม] ";
list($DocD,$DocT) = split(' ',$oRs8->DrsSendDocNew);
echo abbreDate2($DocD,'/')." ".a2th($DocT);
echo "";
}
?>
|
} ?>
$x=0;
$oTsr->SearchBytsr_DrsID($oRs->DrsID);
while($oTsr->GetRecord()){
$oCd->SearchByKey($oTsr->tsr_to_node);
$oCd->GetRecord();
?>
echo "- ".$oCd->collegeAbbr;
if($oTsr->tsr_SendNew!="0000-00-00 00:00:00"){
list($DocD2,$DocT2) = split(' ',$oTsr->tsr_SendNew);
echo " [ส่งเพิ่มเติม ".abbreDate2($DocD2,'/')." ".a2th($DocT2)."]";
}
?>
|
$x++; }
if($x!=0){
?>
ติดตามหนังสือส่งอิเล็กทรอนิกส์ |
} ?>
|
if($addsendps!=1){ ?>