Esempio n. 1
0
 public static function getTotalTransportationAmount($booking)
 {
     $total = TransportPackage::getCustomTripTotal($booking) + TransportPackage::getPredefinedTripTotal($booking);
     return $total;
 }
Esempio n. 2
0
        echo date('H:i', strtotime($trip->from));
        ?>
. Path (Origin to Destination)
                        : <?php 
        echo $trip->locations;
        ?>
</p>
                <?php 
    }
    ?>


            </td>
            <td align="right">
                <?php 
    echo number_format(TransportPackage::getCustomTripTotal($booking), 2);
    ?>
            </td>
        </tr>

    <?php 
}
?>
    <?php 
if ($booking->predefinedTrip->count()) {
    ?>

        <?php 
    foreach ($booking->predefinedTrip as $trip) {
        ?>