@extends('layouts.admin') @section('admin')
| Level Name | Level Target | Purchase Bind Coin | Level Icon | Gifts | Level Validity (Days) | Actions |
|---|---|---|---|---|---|---|
| {{$svip->level_name}} | {{$svip->level_target}} | {{$svip->purchase_bind_coin}} |
@if($svip->level_icon)
@php
$file = $svip->level_icon;
@endphp
@if($file)
@if(file_exists(public_path($file)))
@php
$ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
@endphp
@if($ext === 'svga')
@else
N/A
@endif
@else
N/A
@endif
N/A
@endif
|
@if($gifts && $gifts->count() > 0)
@foreach($gifts as $gift)
@php
$file = $gift->gift_file;
@endphp
@else
N/A
@endif
@if($file)
@if(file_exists(public_path($file)))
@php
$ext = strtolower(pathinfo($file, PATHINFO_EXTENSION));
@endphp
@if($ext === 'svga')
@endforeach
|
{{$svip->validity}} |