Pay_Data_ID; $EmpID = $ep->PAYEMPID; $Empname = $ep->FirstName . " " . $ep->LastName; $TotalSalary = $ep->TotalSalary; $Basic_Pay = $ep->Basic_Pay; $HRA_Rate = $ep->HRA_Rate; $HRA_Amount = $ep->HRA_Amount; $Allowances = $ep->Allowances; $PF_Rate = $ep->PF_Rate; $ESI_Rate = $ep->ESI_Rate; $is_Active = $ep->is_Active; $Food_Allowances = $ep->Food_Allowances; $Incentives = $ep->Incentives; $Loan_Amount = $ep->Loan_Amount; if (empty($Loan_Amount)) { $Loan_Amount = 0.00; } if (!empty($ep->Loan_Issued_Date)) { $Loan_issued_date = new DateTime($ep->Loan_Issued_Date, new DateTimeZone('Asia/Kolkata')); $Loan_issued_date = $Loan_issued_date->format('M-Y'); } else { $Loan_issued_date = null; } $Monthly_due = $ep->Monthly_Due; if (empty($Monthly_due)) { $Monthly_due = 0.00; } if (!empty($ep->Due_Start_Date)) { $Due_start_date = new DateTime($ep->Due_Start_Date, new DateTimeZone('Asia/Kolkata')); $Due_start_date = $Due_start_date->format('M-Y'); } else { $Due_start_date = null; } $No_of_dues = $ep->No_of_Dues; if (empty($No_of_dues)) { $No_of_dues = 0.00; } $Paid_Due = $ep->Paid_Due; if (empty($Paid_Due)) { $Paid_Due = 0.00; } $Remaining_Due = $ep->Remaining_Due; if (empty($Remaining_Due)) { $Remaining_Due = 0.00; } $Paid_Amount = $ep->Paid_Amount; if (empty($Paid_Amount)) { $Paid_Amount = 0.00; } $Created_By = $ep->Created_By; $Created_Time = $ep->Created_Time; $Last_Mod_By = $ep->Last_Mod_By; $Last_Mod_Time = $ep->Last_Mod_Time; $loanid = $ep->Loan_ID; $request_letter = $ep->request_letter; $payment_statement = $ep->payment_statement; $pending_due_amount = $Remaining_Due * $Monthly_due; } } ?>