8
8
$colspan = $component -> getColspanCount ();
9
9
$selected = $component -> getSelectedCount ();
10
10
$selectAll = $component -> selectAllIsEnabled ();
11
+ $simplePagination = ($component -> paginationMethod == " simple" ) ? true : false ;
11
12
@endphp
12
13
13
14
@if ($theme === ' tailwind' )
@@ -20,7 +21,7 @@ class="bg-indigo-50 dark:bg-gray-900 dark:text-white"
20
21
<div wire:key =" all-selected-{{ $table } }" >
21
22
<span >
22
23
@lang (' You are currently selecting all' )
23
- <strong >{{ number_format ($rows -> total ()) } } </strong >
24
+ @if ( ! $simplePagination ) <strong >{{ number_format ($rows -> total ()) } } </strong > @endif
24
25
@lang (' rows' ).
25
26
</span >
26
27
@@ -39,7 +40,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
39
40
@lang (' You have selected' )
40
41
<strong >{{ $selected } } </strong >
41
42
@lang (' rows, do you want to select all' )
42
- <strong >{{ number_format ($rows -> total ()) } } </strong >?
43
+ @if ( ! $simplePagination ) <strong >{{ number_format ($rows -> total ()) } } </strong > @endif
43
44
</span >
44
45
45
46
<button
@@ -72,7 +73,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
72
73
<div wire:key =" all-selected-{{ $table } }" >
73
74
<span >
74
75
@lang (' You are currently selecting all' )
75
- <strong >{{ number_format ($rows -> total ()) } } </strong >
76
+ @if ( ! $simplePagination ) <strong >{{ number_format ($rows -> total ()) } } </strong > @endif
76
77
@lang (' rows' ).
77
78
</span >
78
79
@@ -91,7 +92,7 @@ class="btn btn-primary btn-sm"
91
92
@lang (' You have selected' )
92
93
<strong >{{ $selected } } </strong >
93
94
@lang (' rows, do you want to select all' )
94
- <strong >{{ number_format ($rows -> total ()) } } </strong >?
95
+ @if ( ! $simplePagination ) <strong >{{ number_format ($rows -> total ()) } } </strong > @endif
95
96
</span >
96
97
97
98
<button
0 commit comments