0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.118.24.176


Current Path : /var/www/html/pms/html/
Upload File :
Current File : /var/www/html/pms/html/viewapprove.html

<style>
    .col-sm-3{
      margin-bottom: 5px !important;
    }
    .card .col-sm-4{
      margin-bottom: 4px !important;
    }
    .control-label .col-sm-1{
      margin-bottom: 4px !important;
    }
    .col-sm-11{
      margin-bottom: 0px !important;
    }
    .form-group .col-sm-12{
      margin-bottom: -5px !important;
    }
    /* .control-label .col-sm-1{
      margin-bottom: 5px !important;
    } */
    .col-sm-8{
      margin-bottom: 5px !important;
    }
    .col-sm-2{
      margin-bottom: 5px !important;
    }
    .label{
      font-size: 13px !important;
    }
    .col-sm-1.control-label{
      margin-left: 14px;
    }
  </style>
  
  <div class="row clearfix">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">    
        <!-- <div class="header">        
          <div style="float: right">
            <button
              style="margin-top: -20px"
              class="btn bg-primary waves-effect"
              onclick="loadInvoiceEntry()"
            >
              View
            </button>
          </div>
        </div> -->
        <div class="body">
          <div class="row clearfix">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="loadInvoice">
              <div
                class="panel panel-primary"
                style="width: 1024px; margin-left: auto; margin-right: auto"
              >
                <div class="panel-heading">View Approve
                  <div style="float: right;margin: -5px;">
                    <button
                      style="color: black;"                    
                      class="btn "
                      onclick="loadapproveinvoice()"
                    >
                      View
                    </button>
                  </div>
                </div>
                
                <div class="panel-body" style="position: relative">
                  <div class="form-horizontal">
                    <div class="form-group">
                      <label class="control-label col-sm-1" for="email" style="margin-bottom: 5px;width: 110px;"
                        ><b>Voucher No.</b></label
                      >
                      <div class="col-sm-3" style="margin-left: -5px;">
                        <input
                          type="email"
                          class="form-control2"
                          id="voucherid"
                          placeholder="Voucher No."
                          disabled
                          value=""
                        />
                      </div>
                      <div class="pull-right">
                        <label class="control-label col-sm-3" for="Voucher Date" style="width: 130px;"
                          ><b>Voucher Date.</b></label
                        >
                        <div class="col-sm-3">
                          <input
                            type="date"
                            class="form-control2"
                            id="voucherdate"
                            style="width: 205px;margin-right: 7px;"
                            maxlength="10"
                            placeholder="Voucher Date"
                          />
                        </div>
                      </div>
                    </div>
                    <div class="form-group">
                      <label class="control-label col-sm-1" for="Supplier Code" style="width: 85px;">
                        <b>Supplier</b>
                      </label>
                      <div class="col-sm-8">
                        <select
                          class="form-control2"
                          id="supcode"
                          style="width: 460px;margin-left: 20px;"
                          onchange="getsupname()"
                        >
                          <option value="">--Select--</option>
                        </select>
                      </div>
                      <!-- <div class="col-sm-11">
                        <input
                          type="text"
                          class="form-control2 col-sm-1"
                          id="supcode"
                          style="width: 175px"
                          placeholder="Supplier Code"
                          onchange="getsupname()"
                        />
  
                        <input
                          type="text"
                          class="form-control2 col-sm-11"
                          id="supname"
                          disabled
                          placeholder="Supplier Name"
                          style="width: 685px"
                        />
                      </div> -->
                    </div>
                    <div class="form-group">
                      <label class="control-label col-sm-1" for="Voucher Date" style="margin-bottom: 5px;width: 105px;"
                        ><b>Invoice No.</b></label
                      >
                      <div class="col-sm-3" style="margin-right: -40px;">
                        <input
                          type="text"
                          class="form-control2"
                          id="invno"
                          placeholder="Invoice No"
                        />
                      </div>
                      <label class="control-label col-sm-1" for="Voucher Date" style="margin-bottom: 5px;margin-left: -10px;"
                        ><b>Invoice Date</b></label
                      >
                      <div class="col-sm-3">
                        <input
                          type="date"
                          class="form-control2"
                          id="invdate"
                          maxlength="10"
                          placeholder="Voucher Date"
                        />
                      </div>
                      <label class="control-label col-sm-1" for="Voucher Date" style="margin-bottom: 5px;width: 115px;margin-left: -20px;"
                        ><b>Inv. Rec. Date</b></label
                      >
                      <div class="col-sm-3">
                        <input
                          type="date"
                          class="form-control2"
                          id="invrecdate"
                          style="width: 205px;float:right"
                          maxlength="10"
                          placeholder="Voucher Date"
                        />
                      </div>
                    </div>
                    <div class="form-group">
                      <label class="control-label col-sm-1" style="width: 105px;">
                        <b>Description</b></label
                      >
                      <div class="col-sm-10">
                        <input
                          type="text"
                          class="form-control2 col-sm-12"
                          id="invdesc"
                          placeholder="Description"
                          style="width: 840px;"
                        />
                      </div>
                    </div>
  
                    <div class="form-group col-sm-12" style="margin-top: 20px;">
                      <div
                        class="card col-sm-4"
                        style="
                          padding: 10px;
                          height: 200px;
                          width: 300px;
                          margin-right: 3px;
                        "
                      >
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date"
                            ><b>Basic</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="basic"
                              onchange="calpayamount()"
                              placeholder="Basic"
                            />
                          </div>
                        </div>
  
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date"
                            ><b>SGST</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="sgst"
                              onchange="calpayamount()"
                              placeholder="SGST"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date"
                            ><b>CGST</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="cgst"
                              onchange="calpayamount()"
                              placeholder="CGST"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date"
                            ><b>Total</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="total"
                              disabled
                              value="0"
                              placeholder="Total"
                            />
                          </div>
                        </div>
                      </div>
  
                      <div
                        class="card col-sm-4"
                        style="
                          padding: 10px;
                          height: 200px;
                          width: 300px;
                          margin-right: 3px;
                          margin-left: 10px;
                        "
                      >
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date" style="text-align: left;"
                            ><b>TDS %</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="tdsper"
                              disabled
                              placeholder="TDS %"
                            />
                          </div>
                        </div>
  
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date" style="text-align: left;"
                            ><b>TDS Amount</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="tdsamount"
                              value="0"
                              disabled
                              placeholder="TDS Amount"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <label class="control-label col-sm-3" for="Voucher Date" style="text-align: left;"
                            ><b>Payable</b></label
                          >
                          <div class="col-sm-3">
                            <input
                              type="text"
                              class="form-control2"
                              id="payable"
                              disabled
                              placeholder="Payable"
                            />
                          </div>
                        </div>
                      </div>
  
                      <div
                        class="card col-sm-4"
                        style="
                          padding: 10px;
                          height: 200px;
                          width: 330px;
                          margin-right: 3px;
                          margin-left: 10px;
                        "
                      >
                        <div class="form-group">
                          <label class="control-label col-sm-2" for="Voucher Date"
                            ><b>Credit</b></label
                          >
                          <div class="col-sm-1">
                            <input
                              type="text"
                              class="form-control2"
                              id="credit"
                              style="width: 70px"
                              value="0"
                              placeholder="Credit"
                              onchange="caltotalpayble()"
                            />
                          </div>
                          <label class="control-label col-sm-2" for="Voucher Date"
                            ><b></b
                          ></label>
                          <div class="col-sm-2">
                            <input
                              type="text"
                              class="form-control2"
                              id="creditrem"
                              placeholder="Credit Remarks"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <label class="control-label col-sm-2" for="Voucher Date"
                            ><b>Debit</b></label
                          >
                          <div class="col-sm-1">
                            <input
                              type="text"
                              class="form-control2"
                              id="debit"
                              style="width: 70px"
                              value="0"
                              onchange="caltotalpayble()"
                              placeholder="Debit"
                            />
                          </div>
                          <label class="control-label col-sm-2" for="Voucher Date"
                            ><b></b
                          ></label>
                          <div class="col-sm-2">
                            <input
                              type="text"
                              class="form-control2"
                              id="rebitrem"
                              placeholder="Debit Remarks"
                            />
                          </div>
                        </div>
                        <div class="form-group">
                          <div class="col-sm-4" style="width: 130px">
                            <b>Total Payable</b>
                          </div>
                          <div class="col-sm-2">
                            <input
                              type="text"
                              class="form-control2"
                              id="totpayable"
                              disabled
                              placeholder="Total Payable"
                            />
                          </div>
                        </div>
                      </div>
                    </div>

                      <div>
                        
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="hidden" id="invfile_h" value="" />
                        <a id="invfile_a" target="_blank">View Attachment</a>
                        <div class="col-md-12" style="margin-right: 160px;margin-top: 15px;display: flex;">
                        <label class="control-label col-md-2" for="Supplier Code" style="margin-left: -16px;text-align: left;">
                            <b>Approve status</b>
                          </label>
                          <div>
                      <select
                        class="form-control2"
                        id="approve_select"
                        style="width: 200px"                        
                      >
                        <option value="">--Select--</option>
                        <option value="Approved">Approve</option>
                        <option value="Pending">Pending</option>
                        <option value="Rejected">Rejected</option>

                      </select>
                      </div>
                      <div>
                      <textarea  id="approve_text" name="approve_text" placeholder="Remarks" rows="3" cols="50" style="margin-left: 20px;"></textarea>
                      </div>
                                           
                      <div>

                        <label class="control-label col-sm-2" for="email"
                          ><b></b
                        ></label>
                        <div class="pull-right">
                          <button
                            class="btn btn-lg bg-primary waves-effect"
                            onclick="saveApprove()"
                          >
                            Approve
                          </button>
                        </div>
                      </div>
                    </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>