@extends('layouts.app') @section('page_title', 'Terms and Privacy') @section('content')
@if (session('success')) @endif @if (session('error')) @endif @include('components.terms-component', [ 'pageTitle' => 'Terms and Privacy', 'data' => $termsAndPrivacy ?? [], 'columns' => [ ['name' => 'Title', 'key' => 'title', 'sortable' => true], ['name' => 'Details', 'key' => 'details', 'sortable' => true], ['name' => 'Type', 'key' => 'type', 'sortable' => true], ], 'actions' => [ 'view', 'delete'], 'showAddButton' => true, 'addButtonUrl' => route('terms-and-privacy.create'), 'showCheckboxes' => true, 'showBatchDelete' => true, 'showEditModal' => false, 'showViewModal' => false, 'currentPage' => $currentPage ?? 1, 'lastPage' => $lastPage ?? 1, 'total' => $total ?? 0, ])

No terms or privacy records found.

@endsection