Пример #1
0
    echo $form->textFieldGroup($CostForm, 'value_' . $i);
    ?>
                    </section>
                    <section class="col-md-3 cost-select">
                        <?php 
    echo $form->dropDownListGroup($CostForm, 'currency_id_' . $i, ['widgetOptions' => ['data' => Cargo::getCurrency()]]);
    ?>
                    </section>
                    <section class="col-md-3 calculus">
                        <?php 
    echo $form->dropDownListGroup($CostForm, 'type_id_' . $i, ['widgetOptions' => ['data' => Cargo::getCostType()]]);
    ?>
                    </section>
                                        <section class="col-md-2">
                        <?php 
    echo $form->dropDownListGroup($CostForm, 'cash_' . $i, ['widgetOptions' => ['data' => Cargo::enumCash()]]);
    ?>
                    </section><section class="col-md-3">
                        <?php 
    echo $form->dropDownListGroup($CostForm, 'nds_include_' . $i, ['widgetOptions' => ['data' => Cargo::enumNds()]]);
    ?>
                        
                    </section>

                    <div class="row-buttons">
                        <?php 
    if ($i > 1) {
        ?>
                        <a type="button" class="delete-row">х</a>
                        <?php 
    }
Пример #2
0
 ?>
                         </section>
                         <section class="col-md-3 calculus">
                             <?php 
 echo $form->dropDownListGroup($CostForm, 'type_id_' . $i, ['widgetOptions' => ['data' => Cargo::getCostType()]]);
 ?>
                         </section>
                         <section class="col-md-3">
                             <?php 
 echo $form->dropDownListGroup($CostForm, 'nds_include_' . $i, ['widgetOptions' => ['data' => Cargo::enumNds(), 'htmlOptions' => []]]);
 ?>
                     
                         </section>
                         <section class="col-md-2">
                             <?php 
 echo $form->dropDownListGroup($CostForm, 'cash_' . $i, ['widgetOptions' => ['data' => Cargo::enumCash(), 'htmlOptions' => ['class' => 'costform_cash_item']]]);
 ?>
                         </section>
                         <div class="row-buttons">
                             <?php 
 if ($i > 1) {
     ?>
                             <a type="button" class="delete-row">х</a>
                             <?php 
 }
 ?>
                             <?php 
 if ($i != CostForm::count) {
     ?>
                             <a type="button" class="add-row">+</a>
                             <?php