<tr style="background-color:#fff; border:solid 1px #ccc; margin-bottom:1px;"> <td width="34%" height="30" style="padding-left:10px;"><?php echo date("d M Y", strtotime($check_in_date)); ?> </td> <td width="31%" style="padding-left:2px;"><?php echo date("d M Y", strtotime($check_out_date)); ?> </td> <td width="35%" style="padding-left:10px;"><?php echo "<strong>" . $reservations->currencyType() . " " . $reservations->reservationTotalPrice() . "</strong>"; ?> </td> </tr> <?php if ($reservations->reservationOfferAvailable() == 1) { $offer = unserialize(urldecode($reservations->reservationOfferData())); if ($offer['OfferAvailable'] == true) { ?> <tr style="background-color:#e3e3e3; border:solid 1px #ccc; margin-bottom:1px;"> <td colspan="3" width="100%" height="25" style="padding-left:10px;">Offer</td> </tr> <tr style="background-color:#fff; border:solid 1px #ccc; margin-bottom:1px;"> <td width="34%" height="30" style="padding-left:10px;"><?php echo $offer['Title']; ?> </td> <?php $offerAmount = 0; if ($reservations->currencyType() == 'LKR') { $offerAmount = $offer['TotalLKR'] - $offer['DiscountedTotalLKR'];