diff --git a/resources/views/admin/employer_main/index.blade.php b/resources/views/admin/employer_main/index.blade.php index c5c09d3..e60be65 100644 --- a/resources/views/admin/employer_main/index.blade.php +++ b/resources/views/admin/employer_main/index.blade.php @@ -43,7 +43,7 @@ url: "{{ route('admin.employers-main-remove')}}", data: { id: id, - page: {{ $page }} + page: {{ $page ?? 1 }} }, success: function (data) { $('#ajax_block').html(data); @@ -69,7 +69,7 @@ type: "POST", url: "{{ route('admin.employers-main-add')}}", data:{ - page: {{ $page }} + page: {{ $page ?? 1 }} }, success: function (data) { spinStop(this_btn);