You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/application/third_party/order/views/mailtext.php

69 lines
4.7 KiB
PHTML

<h4 style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:20px;font-size:24px;text-align:center;white-space:normal;">
Thanks for booking with China Highlights!<br />
For any change, please contact your travel advisor. <br />
</h4>
<h4 class="text-red" style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:15px;font-size:24px;padding:12px 0 12px 0;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd;white-space:normal;background-color:#FFFFFF;">
Passenger Information
</h4>
<?php foreach ($postdata['sur_name'] as $key => $sur) { ?>
<?php
if(!isset($postdata['given_name'][$key]) || $postdata['given_name'][$key]=='None') $postdata['given_name'][$key]='';
if(!isset($postdata['passport'][$key]) || $postdata['passport'][$key]=='None') $postdata['passport'][$key]='';
if(!isset($postdata['passport_expiration_date'][$key]) || $postdata['passport_expiration_date'][$key]=='None') $postdata['passport_expiration_date'][$key]='';
if(!isset($postdata['birthday'][$key]) || $postdata['birthday'][$key]=='None') $postdata['birthday'][$key]='';
?>
<h3>Passenger <?php echo $key+1; ?></h3>
<p style="margin:0;">Sur name/First and Middle name:<?php echo $sur.'/'.$postdata['given_name'][$key]; ?></p>
<p style="margin:0;">Passport No.:<?php echo $postdata['passport'][$key]; ?></p>
<p style="margin:0;">Passport Expiration Date:<?php echo $postdata['passport_expiration_date'][$key]; ?></p>
<p style="margin:0;">Birthday:<?php echo $postdata['birthday'][$key]; ?></p>
<?php } ?>
<h3>Contact Information</h3>
<p style="margin:0;">Land line:<?php if(isset($postdata['landline'])) echo $postdata['landline']; ?></p>
<p style="margin:0;">Mobile:<?php if(isset($postdata['mobile'])) echo $postdata['mobile']; ?></p>
<p style="margin:0;">Home Address:<?php if(isset($MEI_Street)) echo $MEI_Street; ?></p>
<h4 class="text-red" style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:15px;font-size:24px;padding:12px 0 12px 0;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd;white-space:normal;background-color:#FFFFFF;">
Flight Information
</h4>
<p style="margin:0;">Arrival China Flight No.:<?php if(isset($postdata['arrive_flight'])) echo $postdata['arrive_flight']; ?></p>
<p style="margin:0;">
Arrival time:<?php if(isset($postdata['arrive_time'])) echo $postdata['arrive_time']; ?>
</p>
<p style="margin:0;">
Departure China Flight no.:<?php if(isset($postdata['departure_flight'])) echo $postdata['departure_flight']; ?>
</p>
<p style="margin:0;">
Departure time:<?php if(isset($postdata['depart_time'])) echo $postdata['depart_time']; ?>
</p>
<h4 class="text-red" style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:15px;font-size:24px;padding:12px 0 12px 0;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd;white-space:normal;background-color:#FFFFFF;">
Special Request
</h4>
<p style="margin:0;">
<?php if(isset($postdata['special_request'])) echo $postdata['special_request']; ?>
<br />
</p>
<h4 class="text-red" style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:15px;font-size:24px;padding:12px 0 12px 0;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd;white-space:normal;background-color:#FFFFFF;">
Insurance Information
</h4>
<p style="margin:0;">
<?php if(isset($postdata['insurance_information'])) echo $postdata['insurance_information']; ?>
<br />
</p>
<h4 class="text-red" style="box-sizing:border-box;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-weight:500;line-height:1.1;color:#AA2E2D;margin-top:10px;margin-bottom:15px;font-size:24px;padding:12px 0 12px 0;border-bottom:1px solid #dddddd;border-top:1px solid #dddddd;white-space:normal;background-color:#FFFFFF;">
Emergency Contact Information
</h4>
<p style="margin:0;">
Contact person name:<?php if(isset($postdata['emergency_person_name'])) echo $postdata['emergency_person_name']; ?>
</p>
<p style="margin:0;">
Relationship with him/her:<?php if(isset($postdata['emergency_relationship'])) echo $postdata['emergency_relationship']; ?>
</p>
<p style="margin:0;">
E-mail address:<?php if(isset($postdata['emergency_email'])) echo $postdata['emergency_email']; ?>
</p>
<p style="margin:0;">
Telephone no.:<?php if(isset($postdata['emergency_telephone'])) echo $postdata['emergency_telephone']; ?>
</p>