? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Exits/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/horeitia/application/views/Exits/single_settlement.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    $this->load->view('documentreadyfunctions');
    $salary = $this->mastermodel->get_employee_current_salary($viewinfo->employee_id);
    $camp = $this->mastermodel->get_employee_current_camp($viewinfo->employee_id);
    $site = $this->mastermodel->get_employee_current_site($viewinfo->employee_id);
    $leave_list=$this->mastermodel->getdatas('leave_type','leave_type_name');
    $salary_details = $this->administrationmodel->get_employee_salary_info($viewinfo->employee_id);
    $settlement = $this->mastermodel->get_data_srow('settlement',$viewinfo->leave_id,'leave_id');
    $allowance_list = $this->mastermodel->getdatas('allowance','allowance_name');
    $deduction_list = $this->mastermodel->getdatas('deduction','deduction_name');
?>

<link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css">



<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('exits','viewinexitssearch','search_settlement','view_settlement','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Employee Settlement Details</span>
</div>

<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open('',$attributes);
        $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id);
        if($employee->emp_non_no[0]==',')
        {
            $employee->emp_non_no=substr($employee->emp_non_no, 1);
        }
        $emp_non_no = str_replace(',',', ', $employee->emp_non_no);
    ?>
    <ul>
        <li>
        <input type="hidden" name="tab_name" id="tab_name" value="settlement"/>
        <input type="hidden" name="leave_id" id="leave_id" value="<?=$viewinfo->leave_id;?>"/>
        </li>
         <li>
             <table class="sortnew">
                 <caption>Employee Personal Details</caption>
                 <tr>
                     <td>Employee Name</td>
                     <td>
                        <?php
                            echo $employee->emp_non_full_name;
                        ?>
                     </td>
                 </tr>
                 <tr>
                     <td>Employee No</td>
                     <td>
                        <?php
                            echo $emp_non_no;
                        ?>
                     </td>
                 </tr>
                 <tr>
                     <td>Joining Date</td>
                     <td>
                        <?php
                            echo $employee->emp_non_date_joining;
                        ?>
                     </td>
                 </tr>
                 <tr>
                     <td>Trade</td>
                     <td>
                        <?php
                            echo $employee->trade_name;
                        ?>
                     </td>
                 </tr>
                 <tr>
                     <td>Camp</td>
                     <td>
                        <?php
                            echo $camp;
                        ?>
                     </td>
                 </tr>
              <tr>
                     <td>Site</td>
                     <td>
                        <?php
                            echo $site;
                        ?>
                     </td>
                 </tr>
                 

             </table>

             <table class="sortnew">
                  <caption>Employee Leave Details</caption>
                 <tr>
                     <td>Leave Type</td>
                     <td>
                        
                             <?php
                                echo $this->mastermodel->getSingleFieldValue('leave_type','leave_type_name','leave_type_id',$viewinfo->leave_type_id);
                             ?>
                       
                     </td>
                 </tr>

                 <tr>
                     <td>Reason of leave</td>
                     <td>
                        <?php echo $viewinfo->leave_reason;?>
                     </td>
                 </tr>

                 <tr>
                     <td>Remarks</td>
                     <td>
                        <?php
                            echo $viewinfo->remarks;
                        ?>
                     </td>
                 </tr>

                 <tr>
                     <td>Leave Start Date</td>
                     <td>
                        <?=$this->mastermodel->convertdatenormalformat($viewinfo->leave_starting_date);?>
                     </td>
                 </tr>

                 <tr>
                     <td>Leave End Date</td>
                     <td>
                         <?=$this->mastermodel->convertdatenormalformat($viewinfo->leave_ending_date);?>
                     </td>
                 </tr>

                 <tr>
                     <td>Tickets</td>
                     <td>
                        <select name="leave_ticket" id="leave_ticket" class="required" disabled>
                            <option value="">Select</option>
                            <option value="Company provided" <?php if($viewinfo->leave_ticket ==  "Company provided" ) {echo "selected";} ?> >Company provided</option>
                            <option value="Self Arrangement" <?php if($viewinfo->leave_ticket ==  "Self Arrangement" ) {echo "selected";} ?> >Self Arrangement</option>
                        </select>
                     </td>
                 </tr>

                 <tr>
                     <td>From</td>
                     <td>
                        <?=$viewinfo->leave_from;?>
                     </td>
                 </tr>

                 <tr>
                     <td>To</td>
                     <td>
                        <?=$viewinfo->leave_to;?>
                     </td>
                 </tr>
             </table>
            
         </li>
         <li>
             <table class="sort">
                 <caption>Employee Salary Details</caption>
                 <tr>
                     <th align="center">WEF Date</th>
                     <th align="center">Basic Salary</th>
                     <th align="center" colspan="2">Allowances</th>
                     <th align="center" colspan="2">Deductions</th>

                 </tr>
                 <?php

                        foreach($salary_details as $salary)
                        {

                 ?>
                 <tr>
                     <td><?=$salary['salary_increment_date'];?></td>
                     <td><?=$salary['salary_increment'];?></td>
                     <?php
                        $allowance = explode('~', $salary['allowance']);
                        $allowance_name= '';
                        $allowance_amount= '';
                        for($i=0;$i<sizeof($allowance);$i++)
                        {
                     ?>
                             <?php if($i%2==0)  $allowance_name .= $allowance[$i]."<br/>";?>
                             <?php if($i%2==1)  $allowance_amount .= $allowance[$i]."<br/>";?>
                     <?php
                        }
                     ?>
                     <td><?=$allowance_name;?></td><td><?=$allowance_amount;?></td>
                     <?php
                        $deduction= explode('~', $salary['deduction']);
                        $deduction_name= '';
                        $deduction_amount= '';

                     ?>
                     <?php
                        for($i=0;$i<sizeof($deduction);$i++)
                        {
                     ?>
                             <?php if($i%2==0)  $deduction_name .= $deduction[$i]."<br/>";?>
                             <?php if($i%2==1)  $deduction_amount .= $deduction[$i]."<br/>";?>
                     <?php
                        }
                     ?>
                     <td><?=$deduction_name;?></td><td><?=$deduction_amount;?></td>
                 </tr>
                 <?php

                        }
                 ?>
             </table>
        </li>

                    <li>
            <label for="data">Leave Application Form</label>
             <?php
                  echo  $viewinfo->leave_application_form_name;

             ?>
             <?php
             if($viewinfo->leave_application_form_doc != "")
             {
             ?>
                <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->leave_application_form_doc;?>">Download</a>
            <?php
            }
            ?>
        </li>
        <li>
            <label for="data">Documentary Proof of emergency</label>
             <?php
                  echo $viewinfo->proof_emergency_name;

             ?>
            <?php
             if($viewinfo->proof_emergency_doc != "")
             {
             ?>
                <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->proof_emergency_doc;?>">Download</a>
            <?php
            }
            ?>
        </li>

        <li>
            <label for="data">Clearance form</label>
             <?php
                  echo $viewinfo->clearence_form_name;
             ?>
            <?php
             if($viewinfo->clearence_form_doc != "")
             {
             ?>
                <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->clearence_form_doc;?>">Download</a>
            <?php
            }
            ?>
        </li>

        <li>
            <label for="data">Self declaration</label>
             <?php
                  echo  $viewinfo->self_declaration_name;
             ?>
            <?php
             if($viewinfo->self_declaration_doc != "")
             {
             ?>
                <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->self_declaration_doc;?>">Download</a>
            <?php
            }
            ?>
        </li>

        <li>
            <label for="data">Settlement sheet</label>
             <?php
                  echo  $viewinfo->settlement_sheet_name;
             ?>
            <?php
             if($viewinfo->settlement_sheet_doc != "")
             {
             ?>
                <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->settlement_sheet_doc;?>">Download</a>
            <?php
            }
            ?>
        </li>

         <li>
                <label for="data">Date of settlement</label>
                 <div class="record_entry">
                     <?php
                        echo $this->mastermodel->convertdatenormalformat($settlement->date);
                     ?>

            </div>
        </li>
        <li>
              <table class="sort">
         <tr>
             <td>
             Baisc Salary
             </td>

             <td>
                  <?=$settlement->basic_salary;?>
             </td>

         </tr>
             </table>
        </li>



         <li>
             <table class="sort">
                 <caption>Allowance</caption>
                 <tr>
                     
                     <th align="center">Allowance Type</th>
                     <th align="center">Amount</th>

                 </tr>
                 <?php
                        $i=1;
                        $num = 0;
                        foreach($allowance_list as $allowance)
                        {
                            $allowance_amount = $this->mastermodel->getSingleFieldValueTwo('settlement_allowance','allowance_amount','allowance_id',$allowance['allowance_id'],'settlement_id',$settlement->settlement_id);
                 ?>
                 <tr>
                     <td>
                         <?=$allowance['allowance_name'];?>
                     </td>
                     <td>
                         <?=$allowance_amount;?>
                     </td>

                 </tr>
                 <?php
                    $i++;
                        }
                 ?>
             </table>
        </li>

        <li>
             <table class="sort">
                 <caption>Deduction</caption>
                 <tr>
                     <th align="center">Deduction Type</th>
                     <th align="center">Amount</th>

                 </tr>
                 <?php
                        $i=1;
                        $num = 0;
                        foreach($deduction_list as $deduction)
                        {
                            $deduction_amount = $this->mastermodel->getSingleFieldValueTwo('settlement_deduction','deduction_amount','deduction_id',$deduction['deduction_id'],'settlement_id',$settlement->settlement_id);
                 ?>
                 <tr>
                     <td>
                         
                         <?=$deduction['deduction_name'];?>
                     </td>
                     <td>
                         <?=$deduction_amount;?>
                     </td>

                 </tr>
                 <?php
                    $i++;
                        }
                 ?>
             </table>
        </li>
        
        <li>
            <label for="data">Final Amount due</label>
            <div class="record_entry">
                <?=$settlement->final_amount;?>
            </div>
         </li>
     

    </ul>
<?php echo form_close();?>
</fieldset>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net