MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/public_html/imenso.co/dev/ultron-jay-sir/leaves-request.php
<!doctype html>
<html lang="en-US" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>Ultron | Imenso Software </title>
<link rel='stylesheet' href='css/bootstrap.min.css'  media='all' />
<link rel='stylesheet' href='css/style.css'  media='all' />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"  media="all">
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap" rel="stylesheet">
<link href="https://unpkg.com/gijgo@1.9.13/css/gijgo.min.css" rel="stylesheet" type="text/css" />
</head>
<body>

<?php include('sidebar.php');?>
<?php include('header.php');?>

  <main class="offset">
    <div class="container-fluid hard-pad">
      <div class="row align-items-center pt-4 border-mobile">
        <div class="col-lg-4 col-6">
          <h2 class="page-heading"> Leave Requests </h2>
        </div>       
      </div>

      <div class="row align-items-center pt-4 border-mobile">
        <div class="col-lg-6">
          <ul class="submenu">
            <li class="active"><a href="leaves-request.php">Requests</a></li>
            <li class=""><a href="leaves-rejected.php">Rejected</a></li>
          </ul>
        </div>
      </div>
      
      
       
      <div id="table-scroll" class="table-scroll mt-4">
        <table id="main-table" class="main-table full-first-td">
          <thead>
            <tr>
              <th scope="col" class="text_primary">Leave Date</th>
              <th scope="col" class="text-right text_primary">Type/Reason</th>
              <th scope="col" class="text-right text_primary">Status</th>
              <th scope="col" class="text-right text_primary"></th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td><strong>Thu, 23 Jun</strong><br><small>Requested on Mon, 20 Jun</small></small></td>
              <td data-th="" class="text-right">Sick Leave <br><small>Having fever</small></td>
              <td data-th="" class="text-right"><span class="capsule red-dim">Pending Approval</span></small></td> 
              <td class="text-right">
                <div class="action-area">
                   <a href="javascript:;" data-toggle="modal" data-target="#ApproveLeave" class="btn btn-success btn-small">Approve</a>
                   <a href="javascript:;" data-toggle="modal" data-target="#RejectLeave" class="btn btn-danger btn-small">Reject</a>   
                </div>
              </td>
            </tr>
           <tr>
              <td><strong>Thu, 23 Jun</strong><br><small>Requested on Mon, 20 Jun</small></small></td>
              <td data-th="" class="text-right">Sick Leave <br><small>Having fever</small></td>
              <td data-th="" class="text-right">Approved <a href="javascript:;" data-toggle="tooltip" data-placement="top" title="Approval notes display here"><i class="fa fa-info-circle action_notes"></i></a><br><small>by Jay Parihar</small></td> 
              <td class="text-right">
                <div class="action-area">
                   <a href="javascript:;" data-toggle="modal" data-target="#ApproveLeave" class="btn btn-success btn-small">Approve</a>
                   <a href="javascript:;" data-toggle="modal" data-target="#RejectLeave" class="btn btn-danger btn-small">Reject</a>   
                </div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
</div>
</main>

<div class="right-aside">
  <p class="mt-5 text-center"><small>Leave balance</small> <br>Jan 22 - Dec 23</p>
  
  <div class="stats">
    <div class="stats-big">8/12</div>
    <div class="stats-small">Casual Leaves</div>
  </div>
  <div class="stats">
    <div class="stats-big">5/6</div>
    <div class="stats-small">Sick Leaves</div>
  </div>

</div>


<!-- Modal Approve Leave -->
<div class="modal fade" id="ApproveLeave" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="">Approve leave request</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div id="table-scroll" class="table-scroll h-auto popup_table my-3">
          <table id="main-table" class="main-table full-first-td">
            <thead>
              <tr>
                <th scope="col" class="text_primary">Leave Date</th>
                <th scope="col" class="text-right text_primary">Type/Reason</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><strong>Thu, 23 Jun</strong><br><small>Requested on Mon, 20 Jun</small></small></td>
                <td data-th="" class="text-right">Sick Leave <br><small>Having fever</small></td>
              </tr>
            </tbody>
          </table>
        </div>
        <form class="" action="">
          <div class="form-group">
            <label for="">Approval notes</label>
            <textarea class="form-control" rows="3" id="aproval_notes" name="approval_notes" placeholder=""></textarea>
          </div>
        </form>
      </div><!-- /modal body -->
      <div class="modal-footer">
        <a href="" class="btn btn-secondary" data-dismiss="modal">Cancel</a>
        <a href="" class="btn btn-success">Approve</a>
      </div>
    </div>
  </div>
</div>

<!-- Modal Reject Leave -->
<div class="modal fade" id="RejectLeave" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="">Reject leave request</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div id="table-scroll" class="table-scroll h-auto popup_table my-3">
          <table id="main-table" class="main-table full-first-td">
            <thead>
              <tr>
                <th scope="col" class="text_primary">Leave Date</th>
                <th scope="col" class="text-right text_primary">Type/Reason</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><strong>Thu, 23 Jun</strong><br><small>Requested on Mon, 20 Jun</small></small></td>
                <td data-th="" class="text-right">Sick Leave <br><small>Having fever</small></td>
              </tr>
            </tbody>
          </table>
        </div>
        <form class="" action="">
          <div class="form-group">
            <label for="">Rejection notes</label>
            <textarea class="form-control" rows="3" id="reject_notes" name="reject_notes" placeholder=""></textarea>
          </div>
        </form>
      </div><!-- /modal body -->
      <div class="modal-footer">
        <a href="" class="btn btn-secondary" data-dismiss="modal">Cancel</a>
        <a href="" class="btn btn-danger">Reject</a>
      </div>
    </div>
  </div>
</div>
<?php include("footer.php");?>



</body>
</html>