IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/permissions/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/permissions/index.blade.php

@extends('superadmin.layout')
@section('content')
@if(isset($permission))
@include('permissions.edit')
@else
@include('permissions.create')
@endif
<div class="col-sm-7">
    <div class="card">
        <div class="header">
            <h2><strong>List Of Permissions</strong></h2>
        </div>
        <div class="body table-responsive">
            <table  class="table table-bordered">
                <thead>
                    <tr>
                        <th>S.No.</th>
                        <th>Name</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $i = 1; ?>
                    @foreach($permissions as $permission)
                    <tr>
                        <td>{{$i}}</td>
                        <td>{{ $permission->label }}</td>
                        <td><a href="{{ url('admin/permissions/' . $permission->idPermission . '/edit') }}" class="btn btn-xs btn-warning">Edit</a></td>
                    </tr>
                    <?php $i++; ?>
                    @endforeach
                </tbody>

            </table>
        </div>
    </div>
</div>
@stop

Copyright © 2021 - 2025 IMMREX7