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