
 <?
$id = $_GET['iv'];
$r = $db->findByPK('tbiv','iv_id',$id)->executeRow();
 ?>
          <!-- start: page -->
            <div class="row" id="content">
              <div class="col-lg-12">
                <section class="panel">
                  <header class="panel-heading">
                   <!--  <a class="btn btn-fill-open-print btn-block" value="PRINT" onclick="printWindow();"><i class="halflings-icon white print"></i> PRINT </a> -->
                    <div class="panel-actions">
                      <a href="#" class="fa fa-caret-down"></a>
                 <!--      <a href="#" class="fa fa-times"></a> -->
                    </div>
                    <h2 class="panel-title">รายละเอียด : INVOICE เลขที่ <span class="text-danger mb-2">IM<?=$r['iv_id'];?></span>
                   <p class="mt-3">ผู้ขาย : <?=$r['iv_admin']?></p> </h2>
                  </header>
                  <div class="panel-body">
        <form class="form-horizontal form-bordered" action="" name="form_iv" id="form_iv" method="post" enctype="multipart/form-data">
           <div class="box-header" data-original-title>
            <h4 style="color:black;"><i class="icon-group icon-fw"></i><span class="break"></span> <i class="fa fa-user"></i> Booking Detail </h4>
          </div>
                 <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">ชื่อลูกค้า <span class="required">*</span></label>
                        <div class="col-md-6">
                          <input type=hidden name=id value='<? echo $id;?>'>
                          <input type="text" class="form-control" id="inputDefault" name="cus_name" value="<?=$r['cus_name']?>" readonly/>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">ที่อยู่</label>
                        <div class="col-md-6">
                          <input type="text" class="form-control" id="inputDefault" name="cus_ads" value="<?=$r['cus_ads']?>" readonly>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">เบอร์ติดต่อ</label>
                        <div class="col-md-6">
                          <input type="text" class="form-control" id="inputDefault" name="cus_tel" value="<?=$r['cus_tel']?>" readonly>
                        </div>
                      </div>
    
                     <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">E-mail</label>
                        <div class="col-md-6">
                          <input type="text" class="form-control" id="inputDefault" name="cus_mail" value="<?=$r['cus_mail']?>" readonly>
                        </div>
                      </div>

           <div class="box-header" data-original-title>
            <h4 style="color:black;"><i class="icon-group icon-fw"></i><span class="break"></span> <i class="fa fa-user-md"></i> รายละเอียดโปรแกรมขาย </h4>
          </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">รหัสโปรแกรมทัวร์ <span class="required">*</span></label>
                        <div class="col-md-6">
                          <input type="text" class="form-control" id="inputDefault" name="iv_codepro" value="<?=$r['iv_codepro']?>" readonly/>
                        </div>
                      </div>

                     <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">ชื่อโปรแกรมทัวร์ <span class="required">*</span></label>
                        <div class="col-md-6">
                          <input type="text" class="form-control" id="inputDefault" name="iv_namepro" value="<?=$r['iv_namepro']?>" readonly/>
                        </div>
                      </div>

                     <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">ขาไป (วันออกเดินทาง) <span class="required">*</span></label>
                        <div class="col-md-6">
                          <input class="form-control" type="date" id="date" name="pro_datego" value="<?=$r['pro_datego']?>" readonly>
                        </div>
                      </div>
                     <div class="form-group">
                        <label class="col-md-3 control-label" for="inputDefault">ขากลับ (วันกลับเดินทาง) <span class="required">*</span></label>
                        <div class="col-md-6">
                          <input class="form-control" type="date" id="date" name="pro_dateback" value="<?=$r['pro_dateback']?>" readonly>
                        </div>
                      </div>
   </form>
<!--                     
        <br><br><br><footer class="panel-footer">
                    <div class="row">

                                 <div class="col-md-12 text-center" style="margin-top:20px;">
                <div class="form-actions">
                  <button type="submit" id="PackageBT" class="btn btn-danger"><i class="fa fa-save"></i> บันทึก</button>
                  <button type="reset" onclick="window.history.back();return false;" class="btn btn-cancel-color">ยกเลิก</button>
                </div>
                </div>
                    </div>
                  </footer> -->

                 
                  </div>
                </section>

            </div>
            </div>




