PlannerXE123 Q&A 게시판
晚 (늦을 만) · 滿 (찰 만) · 萬 (일만 만) / 慢 (게으를 만) · 漫 (질펀할 만)
務實力行 무실역행
참되고 실속 있도록 힘써 실행함.

늘푸른나무2

플래너님 안녕하세요,

 

view_document.html 파일(V583) 180~186번 라인을 아래와 붉은색 코드로 변경 해놓고 결과를 한번 보시기 바랍니다.

 

변경 전

<!--@if($_doc_status != 'X')-->
<select id="slt_Status" style="height:25px;">
<!--@foreach($_status_arr as $key => $val)-->
<option value="{$key}" <!--@if($_doc_status == $key)--> selected="selected"<!--@end--> >{$val}</option>
<!--@end-->
</select>
{@ $url_base = getUrl('document_srl',$oDocument->document_srl,'status_chg','');}
<a id="link_status_normal" href="#" class="buttonOfficial" style="margin-right:20px;"><span>{$lang->pln_status_change}</span></a>

<!--@end-->
 

 

변경 후

<!--@if($_doc_status != 'X')-->
<!--@if($_doc_status == ';N' || $_doc_status == '' || $_doc_status == 'A')--><!--//기본 -->
{@ $new_status = 'F'}
<!--@elseif($_doc_status == 'F')-->
{@ $new_status = 'A'}
<!--@elseif($_doc_status == 'R')-->
{@ $new_status = 'R'}
<!--@end-->
<select id="slt_Status" style="height:25px;">
<!--@foreach($_status_arr as $key => $val)-->
<option value="{$key}" <!--@if($new_status == $key)--> selected="selected"<!--@end--> >{$val}</option>
<!--@end-->
</select>
{@ $url_base = getUrl('document_srl',$oDocument->document_srl,'status_chg','');}
<a id="link_status_normal" href="{getUrl('document_srl',$oDocument->document_srl,'status_chg',$new_status)}" class="buttonOfficial" style="margin-right:20px;"><span>{$lang->pln_status_change}</span></a>

<!--@end-->
 

감사합니다.

ksc

XE Login