query( "SELECT * FROM setting_letterhead
WHERE letterhead_type = '".$type."' AND deleted_at IS NULL
LIMIT 1") ;
if( $mysqli_data->num_rows > 0 ){
$row = $mysqli_data->fetch_assoc() ;
$html_offer .= dataFilter( $row['letterhead_content'] ) ;
}
$mysqli_position = $mysqli->query( "SELECT a.job_position_id, b.job_position_desc FROM setting_job_position a
LEFT JOIN setting_job_position_translation b ON ( a.job_position_id = b.job_position_id )
WHERE a.deleted_at IS NULL AND b.lang = 'en' AND a.job_position_id = '".$row_page['employment_position']."'" ) ;
if( $mysqli_position->num_rows > 0 ){
$row_position = $mysqli_position->fetch_assoc() ;
$position_id = $row_position['job_position_id'] ;
$position_title = $row_position['job_position_desc'] ;
}
$html .= '
'.str_replace('/', '.', $offer_status['date_to_offer']).'
Dear '.$new_worker.'
Re: Offer of Employment
I am pleased to confirm you the position of '.$position_title.' '.$letter_head['name'].' starting on '.str_replace('/', '.', $offer_status['starting_date']).' salary RM '.numberFormat($offer_status['salary'], 2, ',').' per month. I propose that the terms of employment will be those in the attached Individual Employment Agreement.
If you accept this position, please sign the duplicate copy of this letter and return it to me by '.str_replace('/', '.', $offer_status['return_date']).'. A copy of that agreement will be provided to you
In the event I have not heard from you by that date, this offer will be automatically withdrawn on that date. If there is anything you are unclear about, disagree with or wish to discuss, please contact me.
I look forward to working with you.
Yours faithfully,
|
| '.$assign_by_position.' |
| '.$assign_by.' |
|
' ;
?>