@extends('layouts.admin')
@section('content')
All Packages
@if(Auth::user()->role == 'admin')
@endif
Sr. No |
Icon |
Package Name |
Price |
Storage Capacity |
Recurring Type |
Actions |
@if($packages->count() > 0)
@php $count=1; @endphp
@foreach($packages as $package)
{{ $count }} |
@if(isset( $package->icon))
@else
N/A
@endif
|
{{ $package->name }} |
${{ $package->price }} |
{{ $package->capacity }} GB |
{{ $package->type }} |
@if(Auth::user()->role == 'admin')
@if($package->users->count() == 0)
@endif
@endif
|
@php $count++; @endphp
@endforeach
@endif
@endsection