Esempio n. 1
0
 public static function getTotalBookingAmount($booking)
 {
     $total = 0;
     $total += Booking::getTotalVoucherAmount($booking);
     $total += Booking::getTotalCancelledVoucherAmount($booking);
     $total += TransportPackage::getTotalTransportationAmount($booking);
     $total += ExcursionBooking::getTotalExcursionBookingAmount($booking);
     return $total;
 }
Esempio n. 2
0
            //echo number_format(TransportPackage::getPredefinedTripTotal($booking), 2);
            ?>

                    </td>
                </tr>
            <?php 
        }
        ?>
        <?php 
    }
    ?>
    <?php 
}
?>


    <tr style="background: lightgrey">
        <th>Total</th>

        <td align="right"><strong>USD. <?php 
echo number_format(TransportPackage::getTotalTransportationAmount($booking), 2);
?>
</strong></td>

    </tr>

</table>