@if($role=='developer' or $role=='s_admin') @endif @foreach($classItems as $classItem) @php($item = $classItem->item) @php($sl = $loop->iteration) {{-- @php($usedFor = null)--}} {{-- @if($item->used_for==1)--}} {{-- @php($usedFor = 'Students')--}} {{-- @elseif($item->used_for==2)--}} {{-- @php($usedFor = 'Office Staff')--}} {{-- @endif--}} {{-- --}} @php($billingCycle = null) @if($item->billing_cycle==1) @php($billingCycle = 'One Time') @elseif($item->billing_cycle==2) @php($billingCycle = 'Yearly') @elseif($item->billing_cycle==3) @php($billingCycle = 'Monthly') @elseif($item->billing_cycle==4) @php($billingCycle = 'Any Time') @endif @if($role=='developer' or $role=='s_admin') @endif @endforeach
Sl Item Billing Cycle Amount StatusOption
{{ $sl }} {{ $item->name }}{{ $usedFor }}{{ $billingCycle }} {{ $classItem->amount!==null? numberFormat($classItem->amount) : '' }} {{ $classItem->status==1?'Active':'Close' }}