ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.222.111.0 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/fundscopied/resources/views/MasterRolePermission/function/ |
Upload File : |
@extends('layouts.layout') @section('pageTitle') Add New Function @endsection @section('content') <div id="page-wrapper" class="box box-default"> <div class="container-fluid"> <div class="col-md-12 text-success"><!--2nd col--> <big><b>@yield('pageTitle')</b></big> </div> <br /> <hr > <div class="row"> <div class="col-md-9"> <br> @if (count($errors) > 0) <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> @foreach ($errors->all() as $error) <p>{{ $error }}</p> @endforeach </div> @endif @if(session('message')) <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Success!</strong> {{ session('message') }}</div> @endif @if(session('error_message')) <div class="alert alert-error alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> {{ session('error_message') }}</div> @endif <form method="post" action="{{ url('/function/add') }}" class="form-horizontal"> {{ csrf_field() }} <!--<div class="form-group"> <label for="section" class="col-md-3 control-label">Select Role</label> <div class="col-md-9"> <select name="role" class="form-control" id="role"> <option value="">Select One</option> @foreach($roles as $list) <option value=""></option> @endforeach </select> </div> </div>--> <div class="form-group"> <label for="section" class="col-md-3 control-label">Function Name</label> <div class="col-md-9"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required> </div> </div> <div class="form-group"> <label for="section" class="col-md-3 control-label">Function Rank</label> <div class="col-md-9"> <input id="name" type="text" class="form-control" name="rank" value="{{ old('name') }}" required> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <button type="submit" class="btn btn-success btn-sm pull-right">Add Function</button> </div> </div> </form> </div> </div> </div> </div> <div id="page-wrapper" class="box box-default"> <div class="box-body"> <h2 class="text-center">ALL Function</h2> <div class="row"> {{ csrf_field() }} <div class="col-md-12"> <table class="table table-striped table-condensed table-bordered input-sm"> <thead> <tr class="input-sm"> <th>S/N</th> <th>FUNCTION NAME</th> <th>FUNCTION RANK</th> <th>DATE CREATED</th> <th></th> </tr> </thead> <tbody> @php $key = 1; @endphp @foreach($functions as $list) <tr> <td>{{($functions->currentpage()-1) * $functions->perpage() + $key ++}}</td> <td>{{strtoupper($list->function_name)}}</td> <td>{{$list->function_rank}}</td> <td>{{$list->created_at}}</td> <td><a href="{{url('/function/edit/'.$list->functionID)}}" title="Edit" class="btn btn-success fa fa-edit"></a></td> </tr> @endforeach </tbody> </table> <hr /> <div align="right"> Showing {{($functions->currentpage()-1)*$functions->perpage()+1}} to {{$functions->currentpage()*$functions->perpage()}} of {{$functions->total()}} entries </div> <div class="hidden-print">{{ $functions->links() }}</div> </div> </div> <!-- /.col --> </div> @endsection