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 | |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | 'delete_confirmation_not_deleted_title' => 'Não apagado', |
| 66 | 66 | 'delete_confirmation_not_deleted_message' => 'Está tudo bem!. O item não foi apagado.', |
| 67 | 67 | |
| 68 | - // DataTables translation |
|
| 68 | + // DataTables translation |
|
| 69 | 69 | 'emptyTable' => 'Sem dados disponíveis na tabela', |
| 70 | 70 | 'info' => 'A mostrar _START_ a _END_ de _TOTAL_ registos', |
| 71 | 71 | 'infoEmpty' => 'A mostrar 0 a 0 de 0 registos', |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | {{-- select_from_array column --}} |
| 2 | 2 | <span> |
| 3 | 3 | <?php |
| 4 | - if ($entry->{$column['name']} !== null) { |
|
| 5 | - echo $column['options'][$entry->{$column['name']}]; |
|
| 6 | - } else { |
|
| 7 | - echo "-"; |
|
| 8 | - } |
|
| 9 | - ?> |
|
| 4 | + if ($entry->{$column['name']} !== null) { |
|
| 5 | + echo $column['options'][$entry->{$column['name']}]; |
|
| 6 | + } else { |
|
| 7 | + echo "-"; |
|
| 8 | + } |
|
| 9 | + ?> |
|
| 10 | 10 | </span> |
@@ -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 | |