@extends('layouts.main') @section('title') {{ $data['title'] }} @endsection @section('content') {{-- start card --}} @if (!isset($data['create_button'])) {{-- start table --}} {{-- end table --}} @else {{-- start table --}} {{-- end table --}} @endif {{-- end of card --}} @endsection {{-- custom script start --}} @section('custom-script') {{-- datatable --}} {{-- datatable --}} {{-- alert --}} {{-- alert --}} {{-- @if (isset($data['no_create'])) --}} {{-- @endif --}} @endsection {{-- custom script ends --}}