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