@extends('layouts.master') @section('content')
{{$title}}
@if(\Auth::user()->utype==1) Add Grade

@endif
@if($all) @foreach($all as $row) @endforeach @endif
# Grade Name Amount Status Action
{{ $i++ }} {{ $row->name }} @if(!empty($row->gradeAmount)) @php $amount = 0 @endphp @foreach($row->gradeAmount as $value) @php $amount = $amount+$value->amount @endphp @endforeach {{$amount}} @else N/A @endif status == 1) {{ 'checked' }} @endif data-id="{{ $row->id }}"> @if(\Auth::user()->utype==1) @endif
@stop @section('style') @stop @section('script') @stop @if(Session::has('msg'))
×   {{Session::get('msg')}}
@endif