@extends('layouts.admin')
@section('title', 'Billing Management')
@section('content')
@php
$authCheck = auth()->check();
$permission= auth()->user();
@endphp
| S.No. |
Plan Name |
Billing Period |
Amount |
Features |
Actions |
@foreach($billings as $key => $billing)
@php
$points = json_decode($billing->points);
@endphp
| {{ $key + 1 }} |
{{ $billing->name }} |
{{ $billing->interval }} |
{{ $billing->price }} |
@if(is_array($points))
@foreach($points as $point)
-
{{ \Illuminate\Support\Str::limit($point->text,100) }} {{ $point->mark == 1 ? '' : '' }}
@endforeach
@else
{{ $billing->points }}
@endif
|
@if($authCheck && $permission->hasPermission('billing-edit'))
@endif
|
@endforeach
@endsection