@extends('layouts.layout')
@section('body_class', 'nav-md')
@section('css')
@endsection
@section('body_content')
@include('includes.sidebar')
Subscription - Offer Config
| ID |
Title |
Image |
Enable/Disable |
Status Information |
Start Date |
End Date |
Status Voucher |
Daily Offer Limit |
Voucher Active |
Show Detail |
@if(is_array($offer_lists) || is_object($offer_lists ))
@forelse($offer_lists as $key => $list)
| {{ $key + 0 }} |
{{ $list->title }}
@if($list->voucher_type == 'special')
Special
@else
Reguler
@endif
|
@if(!empty($list->image))
@else
No Image
@endif
|
@if($list->isactive == 1)
@else
@endif
|
@if ($list->isactive == 0)
Tidak Aktif
@else
Aktif
@endif
|
{{ $list->start_date }} |
{{ $list->end_date }} |
@if (\Carbon\Carbon::parse($list->end_date)->lt(\Carbon\Carbon::today()))
Expired
@else
Aktif
@endif
|
{{ $list->daily_offer_limit }} |
{{ $list->refresh_time }} |
|
@empty
| No Data |
@endforelse
@endif
@include('includes.footer')
@endsection
@section("scripts")
@endsection