prepare($sql); $stmh->bindValue(1,$num,PDO::PARAM_STR); $stmh->execute(); $count = $stmh->rowCount(); if($count<1){ print "검색결과가 없습니다.
"; }else{ $row = $stmh->fetch(PDO::FETCH_ASSOC); $item_subject = $row["subject"]; $item_content = $row["content"]; $item_file_0 = $row["file_name_0"]; $item_file_1 = $row["file_name_1"]; $item_file_2 = $row["file_name_2"]; $copied_file_0 = "../uploads/". $row["file_copied_0"]; $copied_file_1 = "../uploads/". $row["file_copied_1"]; $copied_file_2 = "../uploads/". $row["file_copied_2"]; $content=""; $condate=$row["condate"]; $condate1=$row["condate1"]; $condate2=$row["condate2"]; $estimate1=$row["estimate1"]; $estimate2=$row["estimate2"]; $estimate3=$row["estimate3"]; $estimate4=$row["estimate4"]; $bill1=$row["bill1"]; $bill2=$row["bill2"]; $bill3=$row["bill3"]; $bill4=$row["bill4"]; $bill5=$row["bill5"]; $bill6=$row["bill6"]; $billdate1=$row["billdate1"]; $billdate2=$row["billdate2"]; $billdate3=$row["billdate3"]; $billdate4=$row["billdate4"]; $billdate5=$row["billdate5"]; $billdate6=$row["billdate6"]; $deposit1=$row["deposit1"]; $deposit2=$row["deposit2"]; $deposit3=$row["deposit3"]; $deposit4=$row["deposit4"]; $deposit5=$row["deposit5"]; $deposit6=$row["deposit6"]; $depositdate1=$row["depositdate1"]; $depositdate2=$row["depositdate2"]; $depositdate3=$row["depositdate3"]; $depositdate4=$row["depositdate4"]; $depositdate5=$row["depositdate5"]; $depositdate6=$row["depositdate6"]; $claimdate1=$row["claimdate1"]; $claimdate2=$row["claimdate2"]; $claimdate3=$row["claimdate3"]; $claimdate4=$row["claimdate4"]; $claimdate5=$row["claimdate5"]; $claimdate6=$row["claimdate6"]; $claimamount1=$row["claimamount1"]; $claimamount2=$row["claimamount2"]; $claimamount3=$row["claimamount3"]; $claimamount4=$row["claimamount4"]; $claimamount5=$row["claimamount5"]; $claimamount6=$row["claimamount6"]; $claimamount7=$row["claimamount7"]; $claimfix1=$row["claimfix1"]; $claimfix2=$row["claimfix2"]; $claimfix3=$row["claimfix3"]; $claimfix4=$row["claimfix4"]; $claimfix5=$row["claimfix5"]; $claimfix6=$row["claimfix6"]; $claimfix7=$row["claimfix7"]; $claimbalance1=$row["claimbalance1"]; $claimbalance2=$row["claimbalance2"]; $claimbalance3=$row["claimbalance3"]; $claimbalance4=$row["claimbalance4"]; $claimbalance5=$row["claimbalance5"]; $claimbalance6=$row["claimbalance6"]; $claimbalance7=$row["claimbalance7"]; $claimperson=$row["claimperson"]; $claimtel=$row["claimtel"]; $receivable=$row["receivable"]; $workplacename=$row["workplacename"]; $chargedperson=$row["chargedperson"]; $address=$row["address"]; $firstord=$row["firstord"]; $firstordman=$row["firstordman"]; $firstordmantel=$row["firstordmantel"]; $secondord=$row["secondord"]; $secondordman=$row["secondordman"]; $secondordmantel=$row["secondordmantel"]; $worklist=$row["worklist"]; $motormaker=$row["motormaker"]; $power=$row["power"]; $workday=$row["workday"]; $worker=$row["worker"]; $endworkday=$row["endworkday"]; $cableday=$row["cableday"]; $cablestaff=$row["cablestaff"]; $endcableday=$row["endcableday"]; $asday=$row["asday"]; $asorderman=$row["asorderman"]; $asordermantel=$row["asordermantel"]; $aslist=$row["aslist"]; $asresult=$row["asresult"]; $ashistory=$row["ashistory"]; $comment=$row["comment"]; $totalbill=$row["totalbill"]; $accountnote=$row["accountnote"]; $asproday=$row["asproday"]; $asendday=$row["asendday"]; $asman=$row["asman"]; $as_state=$row["as_state"]; $sum_receivable=$row["sum_receivable"]; $sum_deposit=$row["sum_deposit"]; $sum_claimamount=$row["sum_claimamount"]; $sum_bill=$row["sum_bill"]; $sum_estimate=$row["sum_estimate"]; $as_refer=$row["as_refer"]; $change_worklist=$row["change_worklist"]; $checkbox=$row["checkbox"]; $checkstep=$row["checkstep"]; $asfee=$row["asfee"]; $asfee_estimate=$row["asfee_estimate"]; $promiseday=$row["promiseday"]; $as_check=$row["as_check"]; $outputmemo=$row["outputmemo"]; $aswriter=$row["aswriter"]; $setdate=$row["setdate"]; $as_step=$row["as_step"]; $as_checkboxvalue1=$row["as_checkboxvalue1"]; $as_checkboxvalue2=$row["as_checkboxvalue2"]; $as_checkboxvalue3=$row["as_checkboxvalue3"]; $as_checkboxvalue4=$row["as_checkboxvalue4"]; $subject=$workplacename; if($workday!="0000-00-00") $workday = date("Y-m-d", strtotime( $workday) ); else $workday=""; if($cableday!="0000-00-00") $cableday = date("Y-m-d", strtotime( $cableday) ); else $cableday=""; if($asday!="0000-00-00") $asday = date("Y-m-d", strtotime( $asday) ); else $asday=""; if($condate!="0000-00-00") $condate = date("Y-m-d", strtotime($condate) ); else $condate=""; if($condate1!="0000-00-00") $condate1 = date("Y-m-d", strtotime($condate1) ); else $condate1=""; if($condate2!="0000-00-00") $condate2 = date("Y-m-d", strtotime($condate2) ); else $condate2=""; if($billdate1!="0000-00-00") $billdate1 = date("Y-m-d", strtotime($billdate1) ); else $billdate1=""; if($billdate2!="0000-00-00") $billdate2 = date("Y-m-d", strtotime($billdate2) ); else $billdate2=""; if($billdate3!="0000-00-00") $billdate3 = date("Y-m-d", strtotime($billdate3) ); else $billdate3=""; if($billdate4!="0000-00-00") $billdate4 = date("Y-m-d", strtotime($billdate4) ); else $billdate4=""; if($billdate5!="0000-00-00") $billdate5 = date("Y-m-d", strtotime($billdate5) ); else $billdate5=""; if($billdate6!="0000-00-00") $billdate6 = date("Y-m-d", strtotime($billdate6) ); else $billdate6=""; if($endworkday!="0000-00-00") $endworkday = date("Y-m-d", strtotime($endworkday) ); else $endworkday=""; if($endcableday!="0000-00-00") $endcableday = date("Y-m-d", strtotime($endcableday) ); else $endcableday=""; if($depositdate1!="0000-00-00") $depositdate1 = date("Y-m-d", strtotime($depositdate1) ); else $depositdate1=""; if($depositdate2!="0000-00-00") $depositdate2 = date("Y-m-d", strtotime($depositdate2) ); else $depositdate2=""; if($depositdate3!="0000-00-00") $depositdate3 = date("Y-m-d", strtotime($depositdate3) ); else $depositdate3=""; if($depositdate4!="0000-00-00") $depositdate4 = date("Y-m-d", strtotime($depositdate4) ); else $depositdate4=""; if($depositdate5!="0000-00-00") $depositdate5 = date("Y-m-d", strtotime($depositdate5) ); else $depositdate5=""; if($depositdate6!="0000-00-00") $depositdate6 = date("Y-m-d", strtotime($depositdate6) ); else $depositdate6=""; if($asproday!="0000-00-00") $asproday = date("Y-m-d", strtotime($asproday) ); else $asproday=""; if($asendday!="0000-00-00") $asendday = date("Y-m-d", strtotime($asendday) ); else $asendday=""; if($claimdate1!="0000-00-00")$claimdate1 = date("Y-m-d", strtotime($claimdate1)); else $claimdate1=""; if($claimdate2!="0000-00-00") $claimdate2 = date("Y-m-d", strtotime($claimdate2)); else $claimdate2=""; if($claimdate3!="0000-00-00") $claimdate3 = date("Y-m-d", strtotime($claimdate3)); else $claimdate3=""; if($claimdate4!="0000-00-00") $claimdate4 = date("Y-m-d", strtotime($claimdate4)); else $claimdate4=""; if($claimdate5!="0000-00-00") $claimdate5 = date("Y-m-d", strtotime($claimdate5)); else $claimdate5=""; if($claimdate6!="0000-00-00") $claimdate6 = date("Y-m-d", strtotime($claimdate6)); else $claimdate6=""; if($promiseday!="0000-00-00") $promiseday = date("Y-m-d", strtotime($promiseday)); else $promiseday=""; if($setdate!="0000-00-00") $setdate = date("Y-m-d", strtotime($setdate)); else $setdate=""; } }catch (PDOException $Exception) { print "오류: ".$Exception->getMessage(); } } if ($mode!="modify"){ // 수정모드가 아닐때 신규 자료일때는 변수 초기화 한다. $content=""; $condate=""; $condate1=""; $condate2=""; $estimate1=""; $estimate2=""; $estimate3=""; $estimate4=""; $bill1=""; $bill2=""; $bill3=""; $bill4=""; $bill5=""; $bill6=""; $billdate1=""; $billdate2=""; $billdate3=""; $billdate4=""; $billdate5=""; $billdate6=""; $deposit1=""; $deposit2=""; $deposit3=""; $deposit4=""; $deposit5=""; $deposit6=""; $claimamount1=""; $claimamount2=""; $claimamount3=""; $claimamount4=""; $claimamount5=""; $claimamount6=""; $claimamount7=""; $claimdate1=""; $claimdate2=""; $claimdate3=""; $claimdate4=""; $claimdate5=""; $claimdate6=""; $claimbalance1=""; $claimbalance2=""; $claimbalance3=""; $claimbalance4=""; $claimbalance5=""; $claimbalance6=""; $claimbalance7=""; $claimfix1=""; $claimfix2=""; $claimfix3=""; $claimfix4=""; $claimfix5=""; $claimfix6=""; $claimfix7=""; $claimperson=""; $claimtel=""; $depositdate1=""; $depositdate2=""; $depositdate3=""; $depositdate4=""; $depositdate5=""; $depositdate6=""; $receivable=""; $workplacename=""; $chargedperson=""; $address=""; $firstord=""; $firstordman=""; $firstordmantel=""; $secondord=""; $secondordman=""; $secondordmantel=""; $worklist=""; $motormaker=""; $power=""; $workday=""; $worker=""; $endworkday=""; $cableday=""; $cablestaff=""; $endcableday=""; $asday=""; $asorderman=""; $asordermantel=""; $aslist=""; $asresult=""; $ashistory=""; $comment=""; $totalbill=""; $accountnote=""; $asproday=""; $asendday=""; $asman=""; $subject=""; $work_state=""; $as_state=""; $sum_bill=0; $sum_receivable=0; $sum_deposit=0; $sum_claimamount=0; $sum_estimate=0; $as_refer=""; $change_worklist=""; $checkbox=""; $checkstep="없음"; $asfee=""; $asfee_estimate=""; $promiseday=""; $as_check=""; $outputmemo=""; $aswriter=""; $setdate=""; $as_step=""; $as_checkboxvalue1=""; $as_checkboxvalue2=""; $as_checkboxvalue3=""; $as_checkboxvalue4=""; } ?> 주일기업 통합정보시스템
견 적 일 :


견적 금액 :




1차 변경일:


1차 변경금액:




2차 변경일:


2차 변경금액:







      계산서발행일  발행금액    입금일자     입금액

1차 :


2차 :


3차 :


4차 :


5차 :


6차 :


발행합계 :


입금합계 :


미수금 :



입금약속일 :


경리부 메모 :

계약전
계약전
    


요청사항 선택 :   없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청 없음   상담요청   방문요청   실측요청   발주요청   결선요청   견적요청
현장명 :
공사담당 :
현장주소 :
건 설 사 :
담당 :
연락처 :
발주처 :
담당 :
연락처 :
발주처 결재 공무담당 :
연락처 :
시공투입일:
시공팀 :
시공완료일 :
결선작업일:
결선팀 :
결선완료일 :
모터회사/용량 :
전원사양 :
시공내역 및 수량 :




설계변경 내역 :


AS 진행현황만 표시
AS 진행현황만 표시




AS 접수일 :
접수자 :
요청인 :


요청사항 선택 :   '; } else { print 'AS '; } if($as_checkboxvalue2=="Y") { print '결선 '; } else { print '결선 '; } if($as_checkboxvalue3=="Y") { print '입결선 '; } else { print '입결선 '; } if($as_checkboxvalue4=="Y") { print '셔터시공 '; } else { print '셔터시공 '; } ?>
연락처 :
무상    유상 무상    유상    유상일 경우 견적금액 :



AS 증상(구체적) :
작업자 참조사항 :
처리 예정일 :
세팅 예정일 :
AS담당 :



최종AS완료:
처 리 결 과 :
AS 기록 :


                      청구일        청구금액      확정금액       잔 액
1차 :
2차 :
3차 :
4차 :
5차 :
6차 :
-----------------------------------------------------------------------

누적계 :
 

    기성청구 잔액 및 누적합계는 자동계산됩니다.