<?php
if(!empty($vehicleData['tax_charge'])){
    if($vehicleData['tax_charge']=="Yes"){
        $displayTaxClass = "";
        $taxYesChecked = "checked='checked'";
        $taxNoChecked= "";
    }else{
        $displayTaxClass = "display-none";
        $taxYesChecked = "";
        $taxNoChecked="checked='checked'";
    }
}else{
    $taxNoChecked="checked='checked'";
    $taxYesChecked = "";
    $displayTaxClass = "display-none";
}
?>

<div class="col-sm-12">
            
            
        
<div class="col-sm-2 no-padding">
    
                       <label><?php echo $this->translate('Tax'); ?></label>
                </div>
                    <div class="col-sm-2 no-padding">
                    <div class="carbooking">
                    <input type="radio" name="tax_charge" id="no-tax" <?php echo $taxNoChecked;?> value="No"/>
                    <label for="no-tax"><span class="radio"><?php echo $this->translate('No'); ?></span></label>
                    </div>
                    </div>

                    <div class="col-sm-2">
                    <div class="carbooking">
                    <input type="radio" name="tax_charge" id="yes-tax" <?php echo $taxYesChecked;?> value="Yes"/>
                    <label for="yes-tax"><span class="radio"><?php echo $this->translate('Yes'); ?></span></label>
                    </div>
                    </div>
                        <div class="col-sm-6 no-padding <?php echo $displayTaxClass;?>" id="type_of_tax"> 

                            <div class="col-sm-4" style="margin-top: -20px;">

<h6>SGST</h6>
<div class="input-group col-sm-12 pull-left">
<span class="input-group-addon taxPercent_basic" style="padding: 5px!important">%</span>
<?php echo $this->formElement($form->get('sgst')); ?>
</div>
<?php echo $this->formElementErrors($form->get('sgst'), ['class' => 'error']); ?>
</div>



<div class="col-sm-4" style="margin-top: -20px;">
<h6>CGST</h6>
<div class="input-group col-sm-12 pull-left ">
    <span class="input-group-addon taxPercent_basic" style="padding: 5px!important">%</span>
    <?php echo $this->formElement($form->get('cgst')); ?>
</div>
<?php echo $this->formElementErrors($form->get('cgst'), ['class' => 'error']); ?>

</div>



<div class="col-sm-4" style="margin-top: -20px;">

    <h6>IGST</h6>
    <div class="input-group col-sm-12 pull-left">
        <span class="input-group-addon taxPercent_basic" style="padding: 5px!important">%</span>
        <?php echo $this->formElement($form->get('igst')); ?>
    </div>
    <?php echo $this->formElementErrors($form->get('igst'), ['class' => 'error']); ?>
</div>
                        </div>

</div>