<?php
$actionName=$this->currentRoute()->getAction();
?>
<div class="col-md-8 padding0 spanclass outstation-type">
    <div class="input-daterange">
        <?php if ($actionName=="one-way" || $actionName=="round-trip" || $actionName=="multi-city") { ?>

            <div class="col-sm-2">
                <div class="carbooking">


                    <input type="radio" name="outstation" id="one-way" class="outstation_type" <?php if($actionName=="one-way"){ echo "checked='checked'";}?>>
                    <label for="one-way"><span class="radio">Oneway</span></label>

                </div>
            </div>
        <?php } ?>

        <?php if ($actionName!="one-way") { ?>

            <div class="col-sm-2">

                <div class="carbooking">
                    <input type="radio" name="outstation" id="round-trip" class="outstation_type" <?php if($actionName=="round-trip"){ echo "checked='checked'";}?>>
                    <label for="round-trip"><span class="radio">Roundtrip</span></label>

                </div>
            </div>

            <div class="col-sm-2">
                <div class="carbooking">


                    <input type="radio" name="outstation" id="multi-city" class="outstation_type" <?php if($actionName=="multi-city"){ echo "checked='checked'";}?>>
                    <label for="multi-city"><span class="radio">Multicity</span></label>

                </div>
            </div>

        <?php } ?>
    </div>
</div>