コード例 #1
0
?>
</td>
                    </tr>
                    <tr style="background-color:#e3e3e3; border-bottom:solid 1px #fff;">
                        <td height="30" style="color:#000000; padding-left:10px;">Customer Email</td>
                        <td style="padding-left:2px;">:</td>
                        <td style="padding-left:10px;"><?php 
echo $client_email;
?>
</td>
                    </tr>
                    <tr style="background-color:#414141; border-bottom:solid 1px #fff;">
                        <td width="35%" height="30" style="color:#fff; padding-left:10px;">City</td>
                        <td style="padding-left:2px;">:</td>
                        <td style="padding-left:10px;"><?php 
echo $bookingclient->city();
?>
</td>
                    </tr>
                    <tr style="background-color:#e3e3e3; border-bottom:solid 1px #fff;">
                        <td height="30" style="color:#000000; padding-left:10px;">Country</td>
                        <td style="padding-left:2px;">:</td>
                        <td style="padding-left:10px;"><?php 
echo $country->countryName();
?>
</td>
                    </tr>
                    <tr style="background-color:#414141; border-bottom:solid 1px #fff;">
                        <td width="35%" height="30" style="color:#fff; padding-left:10px;">Property</td>
                        <td style="padding-left:2px;">:</td>
                        <td style="padding-left:10px;"><a href="http://roomista.com/<?php 
コード例 #2
0
ファイル: voucher_template.php プロジェクト: jcodesdotme/pp
$merchantReferenceNo = $merchantReferenceNo;
$reservations->setReservationId($merchantReferenceNo);
$pay_data = $reservations->getReservationsFromId();
$pay_data = $reservations->getReservationsFromId();
$reservations->extractor($pay_data);
$reservation_link_id = $reservations->reservationFromBookingLink();
$reservations_status = $reservations->reservationPaymentStatus();
if ($reservations->reservationFromBookingLink()) {
    $client = new BookingClient();
    $client->setId($reservations->reservationClientId());
    $client->extractor($client->getClientsFromId());
    $client_name = $client->name();
    $client_mobile = $client->contactno();
    $client_email = $client->email();
    $client_message = $client->message();
    $client_city = $client->city();
    $client_country = $client->country();
    $client_address = $client->address1() . " " . $client->address2();
} else {
    $client = new Clients();
    $client->setClientId($reservations->reservationClientId());
    $client->extractor($client->getClientFromId());
    $client_name = $client->clientFirstName() . " " . $client->clientLastName();
    $client_mobile = $client->clientPhoneMobile();
    $client_email = $client->clientEmail();
    $client_message = "";
    $client_city = $client->clientCity();
    $client_country = $client->clientCountry();
    $client_address = $client->clientAddress();
}
$hotels->setHotelId($reservations->reservationHotelId());