ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/toadmin/cal_hotel/ |
Upload File : |
<? include "../include/top_proc.html"; //공통파일 인클루드 include "_common.html"; $class_AccountCustomer = new AccountCustomer(); $code_revn = base_codec("ACC","LGEV");// 수익코드 $code_exes = base_codec("ACC","LGXE");// 비용코드 $code_avnk = base_codec("ACC","AVNK");// 은행코드 $SqlType = "date_cal_ins"; if ($seq) { $SqlType = "date_cal_updt"; $data = $class_AccountCustomer->acc_hotel_date($res_no,$seq); $row = $data['list'][0]; } ?> <div class="iframe ma0"> <div class="popbox"> <!-- 본문 --> <!-- 폼 --> <form name="frm_acc_hotel" id="frm_acc_hotel" method="post"> <input type="hidden" name="SqlType" value="<?=$SqlType?>"> <input type="hidden" name="tmp_layer_id" value="<?=$tmp_layer_id?>"> <input type="hidden" name="res_no" value="<?=$res_no?>"> <input type="hidden" name="seq" value="<?=$seq?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tr> <td class="t_top_line" colspan="8"></td> </tr> <tr height="30"> <th style="width:80px;">발생일자</th> <td align="left" colspan="3"> <input type="text" name="acc_dt" class="cal_input" style="width:114px" onclick="AjaxCal(this,event);" value="<?=($seq) ? $row['acc_dt'] : date("Y-m-d")?>" readonly hname="등록일자" required> </td> </tr> <tr height="30"> <th>거래처</th> <td align="left" colspan="3"> <input type="hidden" name="agent_id" id="agent_id" size="10" class="input_text agent_box" value="<?=$row['agent_id']?>"> <input type="text" name="agent_nm" id="agent_corp_nm" size="20" class="input_text agent_box" value="<?=$row['agent_nm']?>"> <input class="Table_btn gray ml5" onclick="to_dialog.iframe('../res_good/agent_find_ajax.html?mb_level=13','거래처','680','360',true,true,'no');" type="button" value="거래처"> <input class="Table_btn" onclick="$('.agent_box').val('');" type="button" value="삭제"> </td> </tr> <tr height="30"> <th>수익코드</th> <td align="left"> <select name="revn_cd" class="w02" style="width:100px;"><!-- 수익코드 --> <option value="">=======</option> <? for($i=0 ; $i<count($code_revn) ; $i++){ $arr = $code_revn[$i]; ?> <option value="<?=$arr['code']?>" <?=($arr['code']==$row['revn_cd'])?"selected":""?>><?=$arr['cd_nm']?></option> <?}?> </select> </td> <th style="width:60px;">수익금액</th> <td> <input type="text" name="revn_price" size="8" class="input_text w120" value="<?=number_format($row['revn_price'])?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" maxlength="8" > </td> </tr> <tr height="30"> <th>비용코드</th> <td align="left"> <select name="exes_cd" class="w02" style="width:100px;"><!-- 비용코드 --> <option value="">=======</option> <? for($i=0 ; $i<count($code_exes) ; $i++){ $arr = $code_exes[$i]; ?> <option value="<?=$arr['code']?>" <?=($arr['code']==$row['exes_cd'])?"selected":""?>><?=$arr['cd_nm']?></option> <?}?> </select> </td> <th>비용금액</th> <td> <input type="text" name="exes_price" size="8" class="input_text w120" value="<?=number_format($row['exes_price'])?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" maxlength="8" > </td> </tr> <tr height="30"> <th style="width:60px;">은행</th> <td> <select name="avnk_cd" class="w02" style="width:100px;"><!-- 출금은행 --> <option value="">=======</option> <? for($i=0 ; $i<count($code_avnk) ; $i++){ $arr = $code_avnk[$i]; ?> <option value="<?=$arr['code']?>" <?=($arr['code']==$row['avnk_cd'])?"selected":""?>><?=$arr['cd_nm']?></option> <?}?> </select> </td> <th>예금주</th> <td align="left"> <input type="text" name="avnk_owner" size="8" class="input_text w120" value="<?=$row['avnk_owner']?>" > </td> </tr> <tr height="30"> <th>계좌번호</th> <td align="left" colspan="3"> <input type="text" name="avnk_number" size="20" class="input_text" style="width:258px;" value="<?=$row['avnk_number']?>"> </td> </tr> <tr height="30"> <th>비고</th> <td align="left" colspan="3"> <input type="text" name="cont" size="35" class="input_text" style="width:258px;" value="<?=$row['cont']?>"> </td> </tr> <?if($SqlType=="good_date_cal_updt") {?> <tr height="30"> <th>입력자</th> <td align="left"> <?=$row['ins_nm']?> </td> <th>입력일</th> <td align="left"> <?=$row['ins_dt']?> </td> </tr> <tr height="30"> <th>수정자</th> <td align="left"> <?=$row['edit_nm']?> </td> <th>수정일</th> <td align="left"> <?=$row['edit_dt']?> </td> </tr> <? } ?> </table> <ul class="btn_check ml0"> <li><a class="Bbtn red" href="javascript:account_edit();">저장</a><li> </ul> </form> <!-- /폼 --> </div> </div> <!-- /본문 --> <script type="text/javascript"> function account_edit() { var f=document.frm_acc_hotel; var result = to_validation(f); if(result == false) return; if (!confirm('저장하시겠습니까?')) return; ajax_post("ajax_proc","../cal_hotel/hotel_cal_proc.html","frm_acc_hotel"); } </script>