@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $row = $this->getDataRow(); |
48 | 48 | $out = ''; |
49 | - foreach($this->grid->getConfig()->getColumns() as $column) { |
|
49 | + foreach ($this->grid->getConfig()->getColumns() as $column) { |
|
50 | 50 | $component = new TableCell($column); |
51 | 51 | $component->initialize($this->grid); |
52 | 52 | $component->setContent($column->getValue($row)); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Vitaliy Ofat <[email protected]> |
|
4 | - * |
|
5 | - * @var $grid Nayjest\Grids\Grid |
|
6 | - */ |
|
3 | + * @author: Vitaliy Ofat <[email protected]> |
|
4 | + * |
|
5 | + * @var $grid Nayjest\Grids\Grid |
|
6 | + */ |
|
7 | 7 | use Nayjest\Grids\Components\ExcelExport; |
8 | 8 | ?> |
9 | 9 | <span> |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | /** @var Nayjest\Grids\Components\Filters\DateRangePicker $component */ |
3 | 3 | $id = uniqid(); |
4 | 4 | ?> |
5 | -<?php if($component->getLabel()): ?> |
|
5 | +<?php if ($component->getLabel()): ?> |
|
6 | 6 | <span> |
7 | 7 | <span class="glyphicon glyphicon-calendar"></span> |
8 | 8 | <?= $component->getLabel() ?> |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | start.val(picker.startDate.format(options.format)); |
37 | 37 | var end = $('[name="<?= $component->getEndInputName() ?>"]') |
38 | 38 | end.val(picker.endDate.format(options.format)); |
39 | - <?php if($component->isSubmittedOnChange()): ?> |
|
39 | + <?php if ($component->isSubmittedOnChange()): ?> |
|
40 | 40 | end.get(0).form.submit(); |
41 | 41 | <?php endif ?> |
42 | 42 | }; |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author: Vitaliy Ofat <[email protected]> |
|
4 | - * |
|
5 | - * @var $grid Nayjest\Grids\Grid |
|
6 | - */ |
|
3 | + * @author: Vitaliy Ofat <[email protected]> |
|
4 | + * |
|
5 | + * @var $grid Nayjest\Grids\Grid |
|
6 | + */ |
|
7 | 7 | use Nayjest\Grids\Components\ExcelExport; |
8 | 8 | ?> |
9 | 9 | <span> |
@@ -11,7 +11,7 @@ |
||
11 | 11 | class="form-control input-sm" |
12 | 12 | name="<?= $filter->getInputName() ?><?= $cfg->isMultipleMode() ? '[]' : '' ?>" |
13 | 13 | <?= $onchange ?> |
14 | - <?= ($size = $cfg->getSize()) ? 'size="'.$size.'"' : '' ?> |
|
14 | + <?= ($size = $cfg->getSize()) ? 'size="' . $size . '"' : '' ?> |
|
15 | 15 | <?= ($cfg->isMultipleMode()) ? 'multiple="multiple"' : '' ?> |
16 | 16 | > |
17 | 17 | <?= (!$cfg->isMultipleMode()) ? '<option value="">--//--</option>' : '' ?> |