We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -23,13 +23,13 @@ |
||
23 | 23 | } |
24 | 24 | } |
25 | 25 | |
26 | - //for update form, get initial state of the entity |
|
27 | - if( isset($id) && $id ){ |
|
26 | + //for update form, get initial state of the entity |
|
27 | + if( isset($id) && $id ){ |
|
28 | 28 | |
29 | 29 | //get entity with relations for primary dependency |
30 | 30 | $entity_dependencies = $entity_model->with($primary_dependency['entity']) |
31 | - ->with($primary_dependency['entity'].'.'.$primary_dependency['entity_secondary']) |
|
32 | - ->find($id); |
|
31 | + ->with($primary_dependency['entity'].'.'.$primary_dependency['entity_secondary']) |
|
32 | + ->find($id); |
|
33 | 33 | |
34 | 34 | $secondaries_from_primary = []; |
35 | 35 |
@@ -7,14 +7,14 @@ |
||
7 | 7 | |
8 | 8 | <div class="form-group backpack-filter m-b-0"> |
9 | 9 | <?php |
10 | - $from = ''; |
|
11 | - $to = ''; |
|
12 | - if($filter->currentValue) { |
|
13 | - $range = (array)json_decode($filter->currentValue); |
|
14 | - $from = $range['from']; |
|
15 | - $to = $range['to']; |
|
16 | - } |
|
17 | - ?> |
|
10 | + $from = ''; |
|
11 | + $to = ''; |
|
12 | + if($filter->currentValue) { |
|
13 | + $range = (array)json_decode($filter->currentValue); |
|
14 | + $from = $range['from']; |
|
15 | + $to = $range['to']; |
|
16 | + } |
|
17 | + ?> |
|
18 | 18 | <div class="input-group"> |
19 | 19 | <input class="form-control pull-right from" |
20 | 20 | type="number" |
@@ -167,18 +167,18 @@ |
||
167 | 167 | { |
168 | 168 | foreach ($modifications as $key => $newValue) { |
169 | 169 | switch (strtolower($form)) { |
170 | - case 'create': |
|
170 | + case 'create': |
|
171 | 171 | $this->create_fields[$field][$key] = $newValue; |
172 | - break; |
|
172 | + break; |
|
173 | 173 | |
174 | - case 'update': |
|
174 | + case 'update': |
|
175 | 175 | $this->update_fields[$field][$key] = $newValue; |
176 | - break; |
|
176 | + break; |
|
177 | 177 | |
178 | - default: |
|
178 | + default: |
|
179 | 179 | $this->create_fields[$field][$key] = $newValue; |
180 | - $this->update_fields[$field][$key] = $newValue; |
|
181 | - break; |
|
180 | + $this->update_fields[$field][$key] = $newValue; |
|
181 | + break; |
|
182 | 182 | } |
183 | 183 | } |
184 | 184 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - return [ |
|
16 | + return [ |
|
17 | 17 | 'infoFiltered' => '(filtered from _MAX_ total entries)', |
18 | 18 | 'thousands' => ',', |
19 | 19 | 'admin' => 'المشرف', |
@@ -119,10 +119,10 @@ |
||
119 | 119 | // add the details_row button to the first column |
120 | 120 | if ($this->details_row) { |
121 | 121 | $details_row_button = \View::make('crud::columns.details_row_button') |
122 | - ->with('crud', $this) |
|
123 | - ->with('entry', $entry) |
|
124 | - ->with('row_number', $rowNumber) |
|
125 | - ->render(); |
|
122 | + ->with('crud', $this) |
|
123 | + ->with('entry', $entry) |
|
124 | + ->with('row_number', $rowNumber) |
|
125 | + ->render(); |
|
126 | 126 | $row_items[0] = $details_row_button.$row_items[0]; |
127 | 127 | } |
128 | 128 |
@@ -5,24 +5,24 @@ |
||
5 | 5 | |
6 | 6 | <span> |
7 | 7 | <?php |
8 | - if ($values !== null) { |
|
9 | - if (is_array($values)) { |
|
10 | - $array_of_values = []; |
|
8 | + if ($values !== null) { |
|
9 | + if (is_array($values)) { |
|
10 | + $array_of_values = []; |
|
11 | 11 | |
12 | - foreach ($values as $key => $value) { |
|
13 | - $array_of_values[] = $column['options'][$value]; |
|
14 | - } |
|
12 | + foreach ($values as $key => $value) { |
|
13 | + $array_of_values[] = $column['options'][$value]; |
|
14 | + } |
|
15 | 15 | |
16 | - if (count($array_of_values) > 1) { |
|
17 | - echo implode(', ', $array_of_values); |
|
18 | - } else { |
|
19 | - echo $array_of_values; |
|
20 | - } |
|
21 | - } else { |
|
22 | - echo $column['options'][$values]; |
|
23 | - } |
|
24 | - } else { |
|
25 | - echo "-"; |
|
26 | - } |
|
27 | - ?> |
|
16 | + if (count($array_of_values) > 1) { |
|
17 | + echo implode(', ', $array_of_values); |
|
18 | + } else { |
|
19 | + echo $array_of_values; |
|
20 | + } |
|
21 | + } else { |
|
22 | + echo $column['options'][$values]; |
|
23 | + } |
|
24 | + } else { |
|
25 | + echo "-"; |
|
26 | + } |
|
27 | + ?> |
|
28 | 28 | </span> |
29 | 29 | \ No newline at end of file |