From 1f5ecd45ceb47f1fb37f7bdffdb85156c91317ce Mon Sep 17 00:00:00 2001 From: Sebastien Hattry Date: Tue, 2 Aug 2022 15:44:21 +0200 Subject: [PATCH] Invert lastname and firstname in header customer list --- resources/views/customer/index-tableHeaders.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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