We have not received your client approved timesheets for the week ending ".$last_friDay." .
Please send us email or fax at your earliest to avoid any delay in the billing and payroll processing.
Thanks for your co-operation and understanding.
Thanks, Accounting Team American Business Solutions Inc. 8850 Whitney Drive / Lewis Center, OH 43035 Direct: 614-887-8819 , 1-614-754-4852 Work: 614-888-2227 614-917-2277 (Fax) Email: timesheet@absi-usa.com (www.absi-usa.com)"; $subject='ABSI Time Reporting'; $body1 = emailTempalte($subject , $body); $form = "SAT@ABSI "; $ccEmail = 'info@absi-usa.com'; $m = new Mail(); $m->From ($form); $m->Subject ($subject); $m->Body ($body1); $m->to ($to); $m->cc($ccEmail); $m->Send(); header("location:employee.php?success=5"); } } } if($_REQUEST['delete']=="del" && $_REQUEST['delete_id']!='') { mysql_query("delete from sat_staff where staff_id='".$_REQUEST['delete_id']."'"); mysql_query("delete from `sat_staff_activity` where staff_id='".$_REQUEST['delete_id']."'"); //mysql_query("delete from sat_staff_history where candidate_id='".$_REQUEST['delete_id']."'"); $delmsg="Staff details deleted successfully"; /*if($_REQUEST['page']!="") { header("location:manage_directory_domestic_product.php?msg=$msg&page=".$_REQUEST['page']."&ch_location=".$_REQUEST['ch_location']."&company_type=".$_REQUEST['company_type']."&comp_name=".$_REQUEST['comp_name']."&search_productID=".$_REQUEST['search_productID'].""); } else { header("location:manage_directory_domestic_product.php?msg=$msg&ch_location=".$_REQUEST['ch_location']."&company_type=".$_REQUEST['company_type']."&comp_name=".$_REQUEST['comp_name']."&search_productID=".$_REQUEST['search_productID'].""); }*/ } ?> Staff Added Successfully Details Updated Successfully A/C Manager Transfered Successfully Email send successfully Hours Reinitialized successfully Show Requirement Search Generate Hotlist Export Generate Report Add Staff onclick="return submit();"> Send timesheet mail for selected staff onclick="return submit();"> Reinitialize Hours Search By Requirement Requirement: -- Select -- selected="selected"selected="selected"> Primary Skill: Search By Name: Primary Email: Associate Type: onchange="candidatetypeother(this.value);"> -- Select -- selected="selected">W2 selected="selected" >1099 selected="selected" >C2C selected="selected" >Future H1B selected="selected" >Prospect selected="selected" >EX Visa Status: Select selected="selected">H1B selected="selected">US Citizen selected="selected">GC selected="selected">EAD selected="selected">OPT selected="selected">TN Account Manager -- Select -- > HR Manager: -- Select -- > Sales Manager -- Select -- > Status: -- Select -- selected="selected">Active selected="selected">Inactive Sort Order: -- Select -- selected="selected" >Ascending selected="selected" >Descending Show All First Name Last Name Username Email Phone Type Visa Status Action = '".$_REQUEST['first']."' AND `add_date` <= '".$_REQUEST['last']."'"; } if($_REQUEST['name']!=''){ $qry_contact .= " and CONCAT(firstname, ' ',lastname) like '%".$_REQUEST['name']."%'"; } if($_REQUEST['associate_type']!=''){ $qry_contact .= " and associate_type='".$_REQUEST['associate_type']."'"; } if($_REQUEST['email']!=''){ $qry_contact .= " and pemail like '%".$_REQUEST['email']."%'"; } if($_REQUEST['visa_status']!=''){ $qry_contact .= " and visa_status='".$_REQUEST['visa_status']."'"; } if($_REQUEST['account_manager']!=''){ $qry_contact .= " and account_manager='".$_REQUEST['account_manager']."'"; } if($_REQUEST['hr_manager']!=''){ $qry_contact .= " and hr_manager='".$_REQUEST['hr_manager']."'"; } if($_REQUEST['sales_manager']!=''){ $qry_contact .= " and sales_manager='".$_REQUEST['sales_manager']."'"; } if($_REQUEST['visa_type']!=''){ $qry_contact .= " and visa_type='".$_REQUEST['visa_type']."'"; } if($_REQUEST['hotlist']!=''){ $qry_contact .= " and hotlist='".$_REQUEST['hotlist']."'"; } if($_REQUEST['blacklisted']!=''){ $qry_contact .= " and blacklisted='".$_REQUEST['blacklisted']."'"; } /*if($_REQUEST['blacklisted']==''){ $qry_contact .= " and blacklisted='N'"; }*/ if($_REQUEST['send_emails']!=''){ $qry_contact .= " and send_emails='".$_REQUEST['send_emails']."'"; } if($_REQUEST['relocation']!=''){ $qry_contact .= " and relocation='".$_REQUEST['relocation']."'"; } if($_REQUEST['vendor_name']!=''){ $qry_contact .= " and vendor_name='".$_REQUEST['vendor_name']."'"; } if($_REQUEST['record_status']!=''){ $qry_contact .= " and current_associate_status='".$_REQUEST['record_status']."'"; } /*if($_REQUEST['record_status']=='' && $_REQUEST['blacklisted']=='' && $_REQUEST['vendor_name']==''){ $qry_contact .= " and record_status='Active' and blacklisted='N'"; }*/ if($_REQUEST['state']!=''){ $qry_contact .= " and state='".$_REQUEST['state']."'"; } if($_REQUEST['city']!=''){ $qry_contact .= " and city like '%".$_REQUEST['city']."%'"; } if($_REQUEST['order']=="asc"){ $oredr = $_REQUEST['order']; } if($_REQUEST['order']=="desc"){ $oredr = $_REQUEST['order']; } if($_REQUEST['order']==""){ $oredr = 'desc'; } $qry_contact .= " order by current_associate_status, staff_id ".$oredr; //echo $qry_contact; $_SESSION['sqlCandidate']=''; //$_SESSION['sqlCandidate'] = $qry_contact; $sel_events=mysql_query($qry_contact); ////////////////////////////////Start pagination//////////////////////////////////// /*if(empty($_REQUEST['page'])) { $_REQUEST['page']=''; } $page=$_REQUEST['page']; if($page==""){ $page = 1; } if($_POST['submit2']!='' && $page!=1){ $page = 1; } $max_results = 10; $prev = ($page - 1); $next = ($page + 1); $from = (($page * $max_results) - $max_results); $total_results = mysql_num_rows($sel_events); echo $total_pages = ceil($total_results / $max_results); $pagination = ''; if($page > 1) { $pagination .= "Previous"; $pagination.=" "; } for($i = 1; $i <=$total_pages; $i++) { if(($page) == $i) { $pagination .= $i; $pagination.=' '; } else { $pagination .= "$i"; $pagination.=' '; } } if($page < $total_pages) { $pagination .= "Next"; $pagination.=" "; } $qry_contact.=" limit $from,$max_results"; //echo $qry_contact; $result=mysql_query($qry_contact);*/ ////////////////////////////////End pagination//////////////////////////////////// ///////////////////new pagination start///////////////////////// $total_results = mysql_num_rows($sel_events); $page=1;//Default page $limit=10;//Records per page $start=0;//starts displaying records from 0 if(isset($_GET['page']) && $_GET['page']!=''){ $page=$_GET['page']; } $start=($page-1)*$limit; $qry_contact.=" LIMIT $start, $limit"; //echo $qry_contact; $result=mysql_query($qry_contact); ///////////////////new pagination end///////////////////////// if(mysql_num_rows($result)>0) { $inc=1; while($row_contact_details=mysql_fetch_array($result)) { $fname = $row_contact_details['firstname']; $lname = $row_contact_details['lastname']; $cphone = $row_contact_details['cphone']; $associate_type = $row_contact_details['associate_type']; $visa_status= $row_contact_details['visa_status']; $pemail = $row_contact_details['pemail']; if($row_contact_details['aemail']!=''){ $aemail = $row_contact_details['aemail'].','; } $acmgrMail = check_null_value('email','sat_users','user_id',$row_contact_details['account_manager']); if($acmgrMail!='N/A'){ $acmgrMail = $acmgrMail; }else{ $acmgrMail = ''; } $ccMail = $aemail.$acmgrMail; $current_associate_status = $row_contact_details['current_associate_status']; ?> V View Details U Update Details N H G L T Timesheet H Hours Information -- Staff Hours Information Automatic | Manual Vacation Sick Holiday Personal Submit Primary Key 0) { ?> $limit){ ?> No candidate found
Staff Added Successfully
Details Updated Successfully
A/C Manager Transfered Successfully
Email send successfully
Hours Reinitialized successfully