Esempio n. 1
0
    </section>
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'documents', ['widgetOptions' => ['data' => Cargo::getDocuments()]]);
?>
    </section>
</div>
<div class="row">
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'load_type', ['widgetOptions' => ['data' => Transport::getTypeLoadUnload()]]);
?>
    </section>
    <section class="col-md-6">
    <?php 
echo $form->checkboxListGroup($Transport, 'unload_type', ['widgetOptions' => ['data' => Transport::getTypeLoadUnload()]]);
?>
    </section>
</div>
<div class="row">
    <section class="col-md-4">
        <?php 
//echo $form->checkboxGroup($Transport,'tracking_on');
?>
    </section>
    <section class="col-md-4 tracking" <?php 
echo $Transport->tracking_on == 0 ? 'style="display: none"' : '';
?>
>
        <?php 
echo $Transport->transport_id ? Yii::t('CabinetModule.default', 'Номер транспорта: ') . $Transport->transport_id : Yii::t('CabinetModule.default', 'Номер не присвоен');