<?
$inv = $_GET['inv'];
?>

<center>
<div class="w3-card-2" style="">
  <form action="upload2.php" method="post" id="formdoc" enctype="multipart/form-data" target="ipack"
    <table class="w3-table w3-border w3-light-gray w3-card-4" style="width:900px;">
      <tr>
        <th colspan="5" class="w3-black w3-small w3-center">DOCUMENT LAINNYA DALAM PAKET DAN UPLOAD DOCUMENT</th>
      </tr>
      <tr>
        <td class="w3-border w3-small w3-center">
          <b>ID (INVOICE OUT)</b><br/>
          <input type="text" style="width:200px;padding-top:5px;padding-bottom:5px;text-align:center;"
          value="<?=$inv?>" name="inv" id="inv" readonly="true" class="w3-small"/>
        </td>
      </tr>
      <tr>
        <td class="w3-border w3-center w3-small">
          <b>JUDUL DOCUMENT</b><br/>
          <input type="text" style="padding-top:5px;padding-bottom:5px;width:800px;text-align:center;"
          value="" name="jdl" id="ketdoc" class="w3-small"/>
        </td>
      </tr>
      <tr>
        <td class="w3-border w3-center w3-small">
          <b>KETERANGAN DOCUMENT</b><br/>
          <textarea style="padding-top:5px;padding-bottom:5px;width:800px;padding-left:8px;" rows="3"
          name="ket" id="ketdoc" class="w3-small"></textarea>
        </td>
      </tr>
      <tr>
        <td class="w3-border w3-center w3-small">
          <b>SCAN ATAU FOTO DOCUMENT DAN UPLOAD FILE DOCUMENT</b><br/>
          <input type="file" style="width:300px;padding-top:5px;padding-bottom:5px;"
          value="" name="fileToUpload" id="filex" class="w3-small"/>
        </td>
      </tr>

      <tr>
        <th colspan="5" class="w3-black w3-small w3-center">
          <div id="ad" class="w3-btn w3-border w3-small w3-round-large" onclick="uploadkan()">UPLOAD</div>
          <div id="ad" class="w3-btn w3-border w3-small w3-round-large" onclick="showforminveditout('<?=$inv?>')">BATALKAN</div>
        </th>
      </tr>
    </table>
  </form>
</div>
</center>
