issue #0001758: retevents change dateT to Zend_Date
This commit is contained in:
parent
7bfcef0fb3
commit
556657daf4
@ -1,5 +1,4 @@
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}
|
||||
$wdate = new WDate();?>
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}?>
|
||||
<div id="center">
|
||||
<div class='acord'>
|
||||
|
||||
@ -84,8 +83,8 @@ $wdate = new WDate();?>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->StartDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->EndDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Type)?></div></div>
|
||||
@ -96,8 +95,8 @@ $wdate = new WDate();?>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->StartDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->EndDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Type)?></div></div>
|
||||
|
Loading…
Reference in New Issue
Block a user