</section> <section class="col-sm-6 wanted-cost-sp" style="position: absolute; right: 0; top: 38px;"> <div class="row"> <section class="col-sm-4"> <?php echo $form->dropDownListGroup($SpecialTechniqueForm, 'cost_currency_id', ['widgetOptions' => ['data' => Cost::enumCurrency()]]); ?> </section> <section class="col-sm-3 lease-terms" style="display: none;"> <?php echo $form->dropDownListGroup($SpecialTechniqueForm, 'cost_rent_term', ['widgetOptions' => ['data' => Cost::enumTerm()]]); ?> </section> <section class="col-sm-4"> <?php echo $form->dropDownListGroup($SpecialTechniqueForm, 'cost_nds_include', ['widgetOptions' => ['data' => Cost::enumNds()]]); ?> </section> <section class="col-sm-4"> <?php echo $form->dropDownListGroup($SpecialTechniqueForm, 'cost_cash', ['widgetOptions' => ['data' => Cost::enumCash()]]); ?> </section> <script> $(function() { $("#SpecialTechniqueForm_cost_cash").change(function() { value = $(this).find('option:selected').val(); if(value=='1') { $("#SpecialTechniqueForm_cost_nds_include").attr('disabled', true); $("#SpecialTechniqueForm_cost_nds_include").parents('div.checkbox').hide();