Skip to content

Commit

Permalink
Removed birth_order
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Jun 15, 2024
1 parent 06d13cc commit 337926b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion app/Models/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class Person extends Model implements HasMedia
'parents_id',

'dob', 'yob', 'pob',
'birth_order',
'dod', 'yod', 'pod',

'street',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function up(): void
$table->date('dob')->nullable();
$table->integer('yob')->nullable();
$table->string('pob')->nullable();
$table->unsignedTinyInteger('birth_order')->nullable();
$table->date('dod')->nullable();
$table->integer('yod')->nullable();
$table->string('pod')->nullable();
Expand Down
1 change: 0 additions & 1 deletion lang/de/person.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
'uncles' => 'Onkel',
'aunts' => 'Tanten',
'relationships' => 'Beziehungen',
'birth_order' => 'Reihenfolge der Geburten',
'age' => 'Alter',
'years' => '[1] Jahr|[0,2,*] Jahre',

Expand Down
1 change: 0 additions & 1 deletion lang/en/person.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
'uncles' => 'Uncles',
'aunts' => 'Aunts',
'relationships' => 'Relationships',
'birth_order' => 'Birth order',
'age' => 'Age',
'years' => '[0,1] Year|[2,*] Years',

Expand Down
1 change: 0 additions & 1 deletion lang/nl/person.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
'uncles' => 'Ooms',
'aunts' => 'Tantes',
'relationships' => 'Relaties',
'birth_order' => 'Geboortevolgorde',
'age' => 'Leeftijd',
'years' => '[0,1] Jaar|[2,*] Jaar',

Expand Down
6 changes: 1 addition & 5 deletions resources/views/livewire/people/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,10 @@
@endif
</td>
</tr>
<tr>
<tr class="border-b-2">
<td class="pr-2 border-r-2">{{ __('person.pob') }}</td>
<td class="pl-2">{{ $person->pob }}</td>
</tr>
<tr class="border-b-2">
<td class="pr-2 border-r-2">{{ __('person.birth_order') }}</td>
<td class="pl-2">{{ $person->birth_order }}</td>
</tr>

@if ($person->isDeceased())
<tr>
Expand Down

0 comments on commit 337926b

Please sign in to comment.