diff --git a/resources/views/customer/index-tableHeaders.blade.php b/resources/views/customer/index-tableHeaders.blade.php index 0db1b1c..3885d08 100644 --- a/resources/views/customer/index-tableHeaders.blade.php +++ b/resources/views/customer/index-tableHeaders.blade.php @@ -10,8 +10,8 @@ @endif - @php $colname = 'customer_infos.lastname' @endphp - {{ __('Nom')}} + @php $colname = 'customer_infos.firstname' @endphp + {{ __('Prénom')}} @if(!session("crud.$modelTable.sort_way") or session("crud.$modelTable.sort_col") !== $colname or (session("crud.$modelTable.sort_way") === 'desc' and session("crud.$modelTable.sort_col") === $colname))  ↓  @endif @@ -20,8 +20,8 @@ @endif - @php $colname = 'customer_infos.firstname' @endphp - {{ __('Prénom')}} + @php $colname = 'customer_infos.lastname' @endphp + {{ __('Nom')}} @if(!session("crud.$modelTable.sort_way") or session("crud.$modelTable.sort_col") !== $colname or (session("crud.$modelTable.sort_way") === 'desc' and session("crud.$modelTable.sort_col") === $colname))  ↓  @endif