<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Lineas';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="linea-index">
    <div class="box box-default">
        <div class="box-header with-border">
            <h3 class="box-title"><?= $this->title ?></h3>
            <div class="box-tools pull-right">
                <?= Html::a('Registrar Linea', ['create'], ['class' => 'btn btn-success']) ?>
            </div>
        </div>
        <div class="box-body">  
            <?=
            GridView::widget([
                'dataProvider' => $dataProvider,
                'columns' => [
                    'id',
                    'producto',
                    'numero',
                    'icc',
                    'folio',
                    'monto_id',
                    // 'folior',
                    // 'created',
                    // 'modified',
                    // 'created_by',
                    // 'modified_by',
                    ['class' => 'yii\grid\ActionColumn'],
                ],
            ]);
            ?>
        </div>
    </div>
</div>
