<?php
include_once "{$_SERVER['DOCUMENT_ROOT']}/common.inc.php";
?>
<div class="awn-popup-confirm awn-partner isbreak-popup custom-popup detail-container">
  <div class="awn-popup-title"><i class="bi bi-card-heading"></i> 설비 고장 등록</div>
  <div class="awn-popup-search mb-block btn-ksmain-inject-block ">
    <div class="s_fld form-inline d-block">
      <label for="FACLT_CD_FILT">설비코드: </label>
      <input type="text" name="FACLT_CD_FILT" id="FACLT_CD_FILT" class="form-control d-inline w120 align-bottom">
    </div>
  </div>
  <div class="awn-popup-content detail-contents flexcol" style = "padding:0px;">
    <!-- 테이블 박스 -->
    <div class="table-box full-height flexcol" id="isFacltBreak">


      <div class="height-280px">
        <div class="hy-table" id="isFacility_table"></div>
      </div>

      <!-- 폼 헤더 -->
      <div class="form-header form-box h-fit-content width-100per">
        <div class="input-container flexcol gap06 h-fit-content">

          <div class="input-box flexrow flexstart flexfillcenter h-fit-content width-100per">
            <label for="ERR_CD" class="width-80px">설비고장코드</label>
            <input id="ERR_CD" name="ERR_CD" type="text"
              style="width: 20%;"></input>
          </div>
          <div class="input-box flexrow flexend h-fit-content width-100per">
            <label for="cause" class="width-80px marign-top-7px">고장신고사유</label>
            <textarea id="cause" name="cause" maxlength="1000" class="form-control form-control-sm"
              style="width: calc(100% - 100px); resize:none;"></textarea>
          </div>

        </div>

        <div class="table-title flexend" style="margin-top:10px;">
          <div class="button-box flexend">

            <div class="add-btn reverse-btn flexrow flexfillcenter gap06">
              저장
            </div>

          </div>
        </div>

      </div>
      <!-- 폼 헤더 종료 // -->


    </div>
    <!-- 테이블 박스 종료 // -->
  </div>
</div>