コード例 #1
0
ファイル: update.php プロジェクト: jaccos/wrkmtspr_prd
  </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
コード例 #2
0
ファイル: _form.php プロジェクト: jaccos/wrkmtspr_prd
        </h3>
        
      </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------------------------------------------------------------->