61 lines
2.9 KiB
PHP
61 lines
2.9 KiB
PHP
@extends('layouts.app')
|
|
@section('content')
|
|
<div class="container-fluid">
|
|
<x-dashboard.breadcumb :title="$title" />
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h5 class="card-title flex-grow-1 mb-0">{{ $title }}</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
@php
|
|
$columns = [
|
|
[
|
|
'title' => '<input type="checkbox" id="select-all">',
|
|
'data' => 'checkbox',
|
|
'name' => 'checkbox',
|
|
'orderable' => false,
|
|
'searchable' => false,
|
|
'className' => 'align-middle',
|
|
'width' => '1%',
|
|
],
|
|
['title' => 'First Name', 'data' => 'first_name', 'name' => 'first_name'],
|
|
['title' => 'Last Name', 'data' => 'last_name', 'name' => 'first_name'],
|
|
['title' => 'Email', 'data' => 'email', 'name' => 'email'],
|
|
['title' => 'Phone', 'data' => 'phone', 'name' => 'phone'],
|
|
['title' => 'Address', 'data' => 'address', 'name' => 'address'],
|
|
['title' => 'City', 'data' => 'city', 'name' => 'city'],
|
|
['title' => 'State', 'data' => 'state', 'name' => 'state'],
|
|
['title' => 'Invest Level', 'data' => 'invest_level', 'name' => 'invest_level'],
|
|
[
|
|
'title' => 'Franchise Location',
|
|
'data' => 'franchise_location',
|
|
'name' => 'franchise_location',
|
|
],
|
|
[
|
|
'title' => 'Action',
|
|
'data' => 'action',
|
|
'orderable' => false,
|
|
'searchable' => false,
|
|
],
|
|
];
|
|
@endphp
|
|
<x-data-table-script :route="route('franchise.index')" :reorder="null" :columns="$columns" />
|
|
</div>
|
|
<div class="card" id="customerList">
|
|
|
|
<div class="card-body p-2">
|
|
{{-- <div class="table-responsive">
|
|
{{ $dataTable->table(['class' => 'table table-sm w-100', 'data-is_enrolled' => $is_enrolled], true) }}
|
|
</div> --}}
|
|
|
|
<div class="row mt-3">
|
|
<div class="col-md-3">
|
|
{{ html()->select('action', [2 => 'Send News Letter', 3 => 'Send Mail'])->placeholder('Bulk Actions')->class('form-select bulk-select') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|