Exemplo n.º 1
0
  </div>
  <div class="panel-body">
       <?php 
echo Form::widget(['model' => $tarievenNacht, 'form' => $form, 'columns' => 6, 'attributes' => ['tijd_vanaf' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::timeDropdown('07:00')], 'tijd_tot' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::timeDropdown('17:00')], 'dag_vanaf' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::daysDropdown('Maandag')], 'dag_totenmet' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::daysDropdown('Vrijdag')], 'tarief' => ['type' => Form::INPUT_TEXT, 'options' => ['placeholder' => '0']], 'tarief_eenheid' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::eenheidDropdown()]]]);
?>
 </div>
</div>
         
        
<div class="panel panel-warning">
  <div class="panel-heading">
    <h3 class="panel-title">Weekenddienst</h3>
  </div>
  <div class="panel-body">
       <?php 
echo Form::widget(['model' => $tarievenWeekend, 'form' => $form, 'columns' => 6, 'attributes' => ['tijd_vanaf' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::timeDropdown('07:00')], 'tijd_tot' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::timeDropdown('17:00')], 'dag_vanaf' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::daysDropdown('Maandag')], 'dag_totenmet' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::daysDropdown('Vrijdag')], 'tarief' => ['type' => Form::INPUT_TEXT, 'options' => ['placeholder' => '0']], 'tarief_eenheid' => ['type' => Form::INPUT_DROPDOWN_LIST, 'items' => UserTarieven::eenheidDropdown()]]]);
?>
   </div>
</div>
             
    <!--END tarief ------------------------------------------->
      </div>
    </div>
  </div>
  
<!--START   tariefReizen ------------------------------------------>
<div class="panel panel-primary">
    <div class="panel-heading" role="tab" id="headingFive">
      <h4 class="panel-title">
        <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive">
          Algemeen reis tarief
Exemplo n.º 2
0
      </div>
    <div class="panel-body">
          
          
         <?=     
            Form::widget([
                'model'=>$tarievenWeekend,
                'form'=>$form,
                'columns'=>6,
                'attributes'=>[       // 2 column layout
                    'tijd_vanaf'=>['type'=>Form::INPUT_DROPDOWN_LIST, 'items'=>UserTarieven::timeDropdown('17:00')],
                    'tijd_tot'=>['type'=>Form::INPUT_DROPDOWN_LIST, 'items'=>UserTarieven::timeDropdown('06:00')],
                    'dag_vanaf'=>['type'=>Form::INPUT_DROPDOWN_LIST, 'items'=>UserTarieven::daysDropdown('Vrijdag')],
                    'dag_totenmet'=>['type'=>Form::INPUT_DROPDOWN_LIST, 'items'=>UserTarieven::daysDropdown('Maandag')],
                    'tarief'=>['type'=>Form::INPUT_TEXT, 'options'=>['placeholder'=>'0']],
                    'tarief_eenheid'=>['type'=>Form::INPUT_DROPDOWN_LIST, 'items'=>UserTarieven::eenheidDropdown()],
                 ]       
                ]);
        
               ?>
    </div>
    </div>

</div>


<!-- EIND tarieven------------------------------------------------------------->

<!-- START bijzonderheden------------------------------------------------------------->
<?= $form->field($model, 'bijzonderheden')->widget(CKEditor::className(), [
        'options' => ['rows' => 3],