예제 #1
0
 
                </div>    
            </div>
                            
            <br/>
            <div class="colorBox">
                <p>Detalle Solicitud</p>
            </div>
            
            
            <?php 
    $modeldetalle = new SolicitudesCitaDetalle('search');
    $modeldetalle->unsetAttributes();
    // clear any default values
    //$ValorOrdenCompra = Yii::app()->format->formatNumber($modeldetalle->TotalOrdenCompra);
    $this->widget('zii.widgets.grid.CGridView', array('id' => 'detalle-grid', 'dataProvider' => $modeldetalle->search($model->IdNumeroSolicitud), 'summaryText' => "Mostrando {start} – {end} de {count} resultados", 'pager' => array('header' => 'Ir a la pagina:', 'firstPageLabel' => '< <', 'prevPageLabel' => 'Anterior', 'nextPageLabel' => 'Siguiente', 'lastPageLabel' => '>>'), 'htmlOptions' => array('style' => 'word-wrap:break-word; width:1000px; font-family:"Times New Roman"'), 'columns' => array(array('name' => 'IdSolicitudesCitaDetalle', 'htmlOptions' => array('width' => '50')), array('name' => 'IdOrdenCompra', 'htmlOptions' => array('width' => '50')), array('header' => 'Valor Orden', 'value' => '$data->TotalOrdenCompra', 'htmlOptions' => array('width' => '50')), array('name' => 'NumeroPiezas', 'htmlOptions' => array('width' => '50')), array('name' => 'FechaTentativaEntrega', 'htmlOptions' => array('width' => '50')), array('name' => 'FechaRegistroOrdenCompra', 'htmlOptions' => array('width' => '50')))));
    ?>
            
            <div class="row">
                <div class='col-md-3'>     
                    <?php 
    echo CHtml::submitButton($model->isNewRecord ? 'Grabar' : 'Actualizar', array('class' => 'btn btn-primary'));
    ?>
                </div>
                
            </div>    
            
            
                
            <?php 
    $this->endWidget();
예제 #2
0
                    <?php 
    echo $form->error($modelagenda, 'ObservacionesEvento');
    ?>
 
                </div>    
            </div>
                            
            <br/>
            
            
            <?php 
    $modeldetalle = new SolicitudesCitaDetalle('search');
    $modeldetalle->unsetAttributes();
    // clear any default values
    //$ValorOrdenCompra = Yii::app()->format->formatNumber($modeldetalle->TotalOrdenCompra);
    $this->widget('zii.widgets.grid.CGridView', array('id' => 'detalle-grid', 'summaryText' => '', 'dataProvider' => $modeldetalle->search($model->IdNumeroSolicitud), 'htmlOptions' => array('style' => 'word-wrap:break-word; "'), 'columns' => array(array('name' => 'IdOrdenCompra', 'htmlOptions' => array('width' => '50')), array('header' => 'Valor Orden', 'value' => '$data->TotalOrdenCompra', 'htmlOptions' => array('width' => '50')), array('name' => 'NumeroPiezas', 'htmlOptions' => array('width' => '50')), array('name' => 'FechaTentativaEntrega', 'htmlOptions' => array('width' => '50')), array('name' => 'FechaRegistroOrdenCompra', 'htmlOptions' => array('width' => '50')), array('class' => 'CLinkColumn', 'label' => 'Partir Orden', 'htmlOptions' => array('style' => 'width: 80px; text-align: center;'), 'urlExpression' => 'Yii::app()->createUrl("AgendaCitasCedi/SolicitudCitaEntregaMercancia/partir",array("id"=>$data->IdSolicitudesCitaDetalle,"solicitud"=>$data->IdNumeroSolicitud))', 'header' => 'Acciones'))));
    ?>
            
            <div class="row">
                <p align ='center'>
                    <?php 
    echo CHtml::submitButton($model->isNewRecord ? 'Crear' : 'Agendar Solicitud', array('class' => 'btn btn-primary'));
    ?>
                </p>
                
            </div>