' . "\r\n"; $headers .= 'Reply-To: mepggn13@gmail.com' . "\r\n" ; //$headers .= 'Cc: ' .$to. "\r\n"; $sheet_data = '

Comprehensive Maintainance Data Sheet of Fire Fighting Equipments & Accessories

Name of The Permises : '.$data['name_of_permises'].'
Address of The Permises : '.$data['address_of_permises'].'
Name of Person : '.$data['name_of_person'].'
Name of Person : '.$data['address_of_person'].'
Contact Number : '.$data['phone'].'
Email : '.$data['email'].'
GST Number : '.$data['gstnum'].'
System Installation Date : '.$data['install_date'].'

Functions Summary

'; $items = array(); foreach($data['items'] as $item){ if(!$item['qty']) continue; $k = "item_".$item['name']; $items[$k] = array('name'=>$item['name'],'qty'=>$item['qty']); } $count=1; foreach($items as $item){ $sheet_data .=' '; $count++; } $sheet_data.='
S.No. Item Qty
'.$count.' '.$item['name'].' '.$item['qty'].'

Maintainance Cost Details

Fire Extinguishers ₹'.$amount['fe'].'
Fire Hydrant ₹'.$amount['fh'].'
Fire Sprinklers ₹'.$amount['fss'].'
Fire Alarm ₹'.$amount['fa'].'
Total Amount ₹'.$amount['total'].'
GST @ 18% ₹'.$amount['gst'].'
Subtotal ₹'.$amount['subtotal'].'
(Total Amount for AMC Including Tax For 1 Year)
Looking forward for your business. Offered Price are Fix for 1 year.
Please feel free to call +91-9810607707, 8076399486 Email: mepggn13@gmail.com
Terms & Conditions
  1. Price are for Comprehensive maintenance of all Mentioned / Functional Product Only.
  2. Payment 100% Advance.
  3. This is Comprehensive AMC Contracts, All The Mentioned Items and Services Covers for Repair & Replacement.
  4. All civil work, Lockable Store, electricity & water connection will be provided free of cost by client.
  5. Response Time 12Hr from Complaint Logged.
  6. We are not responsible for any damage / defect or dysfunction of any item during drill or in any other case.
  7. Cheque / DD will be Favour of "M/s Manglam Fire Protech"
  8. RTGS: A/C No. 6537148751, Indian Bank, IFSC Code: IDIB000S149, Sushant Lok, Gurgaon.
  9. We are not providing / liasoning NOC from Fire Department or authority. We Helps Only.
  10. All Extra Items and Services will charge extra.
'; $sheet_data = preg_replace('/\s+/S', " ", $sheet_data); $subject1 = 'Comprehensive Plan - Calculation Sheet'; $subject2 = 'Comprehensive Plan - Calculation Sheet'; $message1 = '

A new record has been placed in Comprehensive Maintainance Services (http://manglamfire.com/services/amcservices)

'.$sheet_data; $message2 = '

Dear '.$data['name_of_person'].',
Thank you for Interest in Our Comprehensive Maintainance Services. Here is details of maintainance sheet that is filled by you.

'.$sheet_data.'
Thanks and regards
Pankaj Srivastwa
9810607707'; $_SESSION['last_sheet'] = $sheet_data; if(mail($to,$subject1,$message1,$headers,"-fnoreply@manglamfire.com")&&mail($data['email'],$subject2,$message2,$headers,"-fnoreply@manglamfire.com")){ return true; } }