@extends('user.layouts')
@section('title', 'Advertisement')
@section('header')
{{-- =========================================================
DATATABLE CSS
========================================================== --}}
@endsection
@section('content')
{{-- =========================================================
HEADER
========================================================== --}}
{{-- =========================================================
ADD ADVERTISEMENT FORM
========================================================== --}}
{{-- =========================================================
ADVERTISEMENT LIST
========================================================== --}}
| SN |
TITLE NAME |
CREATED ON |
PREVIEW |
STATUS |
ACTION |
@foreach ($advertisement as $advertise)
|
{{ $loop->iteration }}
|
{{ $advertise->title }}
|
{{ optional($advertise->created_at)->format('Y-m-d') ?? 'N/A' }}
|
@if ($advertise->image)
@else
No Image
@endif
|
@if ($advertise->is_active == 1)
Active
@else
Inactive
@endif
|
|
@endforeach
{{-- =========================================================
FULL SIZE IMAGE MODAL
========================================================== --}}
{{-- =========================================================
HIDE / UNHIDE MODAL
========================================================== --}}
Are You Sure?
Are you sure you want to change this advertisement status?
{{-- =========================================================
DELETE MODAL
========================================================== --}}
Are You Sure?
Are you sure you want to delete this advertisement?
@endsection
@section('footer')
{{-- =========================================================
JQUERY CDN
========================================================== --}}
{{-- =========================================================
DATATABLE CORE CDN
========================================================== --}}
{{-- =========================================================
DATATABLE BUTTONS CDN
========================================================== --}}
{{-- =========================================================
EXCEL
========================================================== --}}
{{-- =========================================================
PDF
========================================================== --}}
{{-- =========================================================
EXPORT BUTTONS
========================================================== --}}
@endsection