16 lines
615 B
PHP
16 lines
615 B
PHP
<div class="col-md-12">
|
|
|
|
<fieldset>
|
|
<legend>Configure New Date Parameters</legend>
|
|
|
|
<?php
|
|
echo View::factory('field/select')->set('data',['field'=>'code','value'=>Arr::Merge([''=>''],$o->codes()),'text'=>'Code','default'=>$o->code,'class'=>'col-md-4']);
|
|
echo View::factory('field/date')->set('data',['field'=>'date_start','value'=>$o->date_start ? $o->date_start : time(),'text'=>'Date Start']);
|
|
echo View::factory('field/date')->set('data',['field'=>'date_stop','value'=>$o->date_stop ? $o->date_stop : time(),'text'=>'Date Stop']);
|
|
?>
|
|
|
|
</fieldset>
|
|
|
|
<?php echo View::factory('field/submit'); ?>
|
|
</div>
|