Skip to content

Commit

Permalink
Changes to files: Entities/ClassYear.php
Browse files Browse the repository at this point in the history
Entities/Grade.php
Entities/School.php
Entities/Subject.php
  • Loading branch information
dedanirungu committed Aug 14, 2023
1 parent b48cedb commit 69c229b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions Entities/ClassYear.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function listTable(): ListTable
// listing view fields
$fields = new ListTable();

$fields->name('name')->type('text')->ordering(true);
$fields->name('name')->html('text')->ordering(true);

return $fields;

Expand All @@ -63,7 +63,7 @@ public function formBuilder(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/2');
$fields->name('name')->html('text')->group('w-1/2');

return $fields;

Expand All @@ -79,7 +79,7 @@ public function filter(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/6');
$fields->name('name')->html('text')->group('w-1/6');

return $fields;

Expand All @@ -92,8 +92,8 @@ public function filter(): FormBuilder
*/
public function migration(Blueprint $table): void
{
$table->increments('id');
$table->string('name');
$table->string('description');
$this->fields->increments('id');
$this->fields->string('name');
$this->fields->string('description');
}
}
12 changes: 6 additions & 6 deletions Entities/Grade.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function listTable(): ListTable
// listing view fields
$fields = new ListTable();

$fields->name('name')->type('text')->ordering(true);
$fields->name('name')->html('text')->ordering(true);

return $fields;

Expand All @@ -63,7 +63,7 @@ public function formBuilder(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/2');
$fields->name('name')->html('text')->group('w-1/2');

return $fields;

Expand All @@ -79,7 +79,7 @@ public function filter(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/6');
$fields->name('name')->html('text')->group('w-1/6');

return $fields;

Expand All @@ -92,8 +92,8 @@ public function filter(): FormBuilder
*/
public function migration(Blueprint $table): void
{
$table->increments('id');
$table->string('name');
$table->string('description');
$this->fields->increments('id');
$this->fields->string('name');
$this->fields->string('description');
}
}
12 changes: 6 additions & 6 deletions Entities/School.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function listTable(): ListTable
// listing view fields
$fields = new ListTable();

$fields->name('name')->type('text')->ordering(true);
$fields->name('name')->html('text')->ordering(true);

return $fields;

Expand All @@ -65,7 +65,7 @@ public function formBuilder(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/2');
$fields->name('name')->html('text')->group('w-1/2');

return $fields;

Expand All @@ -82,7 +82,7 @@ public function filter(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/6');
$fields->name('name')->html('text')->group('w-1/6');

return $fields;

Expand All @@ -95,8 +95,8 @@ public function filter(): FormBuilder
*/
public function migration(Blueprint $table): void
{
$table->increments('id');
$table->string('name');
$table->string('description');
$this->fields->increments('id');
$this->fields->string('name');
$this->fields->string('description');
}
}
12 changes: 6 additions & 6 deletions Entities/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function listTable(): ListTable
// listing view fields
$fields = new ListTable();

$fields->name('name')->type('text')->ordering(true);
$fields->name('name')->html('text')->ordering(true);

return $fields;

Expand All @@ -63,7 +63,7 @@ public function formBuilder(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/2');
$fields->name('name')->html('text')->group('w-1/2');

return $fields;

Expand All @@ -79,7 +79,7 @@ public function filter(): FormBuilder
// listing view fields
$fields = new FormBuilder();

$fields->name('name')->type('text')->group('w-1/6');
$fields->name('name')->html('text')->group('w-1/6');

return $fields;

Expand All @@ -92,8 +92,8 @@ public function filter(): FormBuilder
*/
public function migration(Blueprint $table): void
{
$table->increments('id');
$table->string('name');
$table->string('description');
$this->fields->increments('id');
$this->fields->string('name');
$this->fields->string('description');
}
}

0 comments on commit 69c229b

Please sign in to comment.