Completed
Pull Request — master (#106)
by
unknown
03:48
created
resources/views/default/components/filters/date_picker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /** @var Nayjest\Grids\Components\Filter $component */
3 3
 ?>
4
-<?php if($component->getLabel()): ?>
4
+<?php if ($component->getLabel()): ?>
5 5
     <span><?= $component->getLabel() ?></span>
6 6
 <?php endif ?>
7 7
 <input
Please login to merge, or discard this patch.
src/Components/ColumnsHider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
resources/views/default/components/filters/date_range_picker.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
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() ?>
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         var update_hidden = function(ev, picker) {
35 35
             $('[name="<?= $component->getStartInputName() ?>"]').val(picker.startDate.format(options.format));
36 36
             $('[name="<?= $component->getEndInputName() ?>"]').val(picker.endDate.format(options.format));
37
-            <?php if(method_exists($component, 'isSubmittedOnChange') && $component->isSubmittedOnChange()): ?>
37
+            <?php if (method_exists($component, 'isSubmittedOnChange') && $component->isSubmittedOnChange()): ?>
38 38
                 $('form').submit();
39 39
             <?php endif ?>
40 40
         };
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
                     $('[name="<?= $component->getEndInputName() ?>"]').val('');
48 48
                 }
49 49
             });
50
-        <?php if(method_exists($component, 'isSubmittedOnChange') && $component->isSubmittedOnChange()): ?>
50
+        <?php if (method_exists($component, 'isSubmittedOnChange') && $component->isSubmittedOnChange()): ?>
51 51
         $('form').submit( function() {
52 52
             $.ajax({
53 53
                 async: false,
Please login to merge, or discard this patch.
resources/views/default/components/excel_export.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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\CsvExport;
8 8
 ?>
9 9
 <span>
Please login to merge, or discard this patch.