Skip to content

Commit 3c564eb

Browse files
committed
Merge branch 'develop' into DeltaSystems-master-rappasoft
# Conflicts: # CHANGELOG.md
2 parents 42adf72 + 810c02b commit 3c564eb

17 files changed

+146
-57
lines changed

database/migrations/create_test_tables.php.stub

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,17 @@ class CreateTestTables extends Migration
3535
$table->foreign('species_id')->references('id')->on('species');
3636
$table->foreign('breed_id')->references('id')->on('breeds');
3737
});
38+
39+
Schema::create('veterinaries', function (Blueprint $table) {
40+
$table->id();
41+
$table->string('name')->index();
42+
$table->string('phone')->index();
43+
});
44+
45+
Schema::create('pet_veterinary', function (Blueprint $table) {
46+
$table->id();
47+
$table->foreignId('pet_id')->constrained();
48+
$table->foreignId('veterinary_id')->constrained();
49+
});
3850
}
3951
}

resources/views/bootstrap-4/includes/filter-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
wire:key="filter-pill-{{ $key }}"
99
class="badge badge-pill badge-info d-inline-flex align-items-center"
1010
>
11-
{{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
11+
{{ $filterNames[$key] ?? collect($this->columns())->pluck('text', 'column')->get($key, ucwords(strtr($key, ['_' => ' ', '-' => ' ']))) }}:
1212
@if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
1313
{{ $customFilters[$key]->options()[$value] ?? $value }}
1414
@else

resources/views/bootstrap-4/includes/pagination.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if ($showPagination)
2-
@if ($paginationEnabled && $showPerPage && $rows->lastPage() > 1)
2+
@if ($paginationEnabled && $rows->lastPage() > 1)
33
<div class="row">
44
<div class="col-12 col-md-6">
55
{{ $rows->links() }}

resources/views/bootstrap-4/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
wire:key="sorting-pill-{{ $col }}"
88
class="badge badge-pill badge-info d-inline-flex align-items-center"
99
>
10-
<span>{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}</span>
10+
<span>{{ $sortNames[$col] ?? collect($this->columns())->pluck('text', 'column')->get($col, ucwords(strtr($col, ['_' => ' ', '-' => ' ']))) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}</span>
1111

1212
<a
1313
href="#"

resources/views/bootstrap-5/includes/filter-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
wire:key="filter-pill-{{ $key }}"
99
class="badge rounded-pill bg-info d-inline-flex align-items-center"
1010
>
11-
{{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
11+
{{ $filterNames[$key] ?? collect($this->columns())->pluck('text', 'column')->get($key, ucwords(strtr($key, ['_' => ' ', '-' => ' ']))) }}:
1212
@if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
1313
{{ $customFilters[$key]->options()[$value] ?? $value }}
1414
@else

resources/views/bootstrap-5/includes/pagination.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if ($showPagination)
2-
@if ($paginationEnabled && $showPerPage && $rows->lastPage() > 1)
2+
@if ($paginationEnabled && $rows->lastPage() > 1)
33
<div class="row">
44
<div class="col-12 col-md-6">
55
{{ $rows->links() }}

resources/views/bootstrap-5/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
wire:key="sorting-pill-{{ $col }}"
88
class="badge rounded-pill bg-info d-inline-flex align-items-center"
99
>
10-
<span>{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}</span>
10+
<span>{{ $sortNames[$col] ?? collect($this->columns())->pluck('text', 'column')->get($col, ucwords(strtr($col, ['_' => ' ', '-' => ' ']))) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}</span>
1111

1212
<a
1313
href="#"

resources/views/tailwind/includes/filter-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
wire:key="filter-pill-{{ $key }}"
99
class="inline-flex items-center py-0.5 pl-2 pr-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-700"
1010
>
11-
{{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}:
11+
{{ $filterNames[$key] ?? collect($this->columns())->pluck('text', 'column')->get($key, ucwords(strtr($key, ['_' => ' ', '-' => ' ']))) }}:
1212
@if(isset($customFilters[$key]) && method_exists($customFilters[$key], 'options'))
1313
{{ $customFilters[$key]->options()[$value] ?? $value }}
1414
@else

resources/views/tailwind/includes/pagination.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@if ($showPagination)
22
<div class="p-6 md:p-0">
3-
@if ($paginationEnabled && $showPerPage && $rows->lastPage() > 1)
3+
@if ($paginationEnabled && $rows->lastPage() > 1)
44
{{ $rows->links() }}
55
@else
66
<p class="text-sm text-gray-700 leading-5">

resources/views/tailwind/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
wire:key="sorting-pill-{{ $col }}"
88
class="inline-flex items-center py-0.5 pl-2 pr-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-700"
99
>
10-
{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}
10+
{{ $sortNames[$col] ?? collect($this->columns())->pluck('text', 'column')->get($col, ucwords(strtr($col, ['_' => ' ', '-' => ' ']))) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}
1111

1212
<button
1313
wire:click="removeSort('{{ $col }}')"

0 commit comments

Comments
 (0)