Viewing file: index.blade.php (3.58 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.admin') @section('page-title') {{__('Domain-Request')}} @endsection @section('breadcrumb') <li class="breadcrumb-item"><a href="{{route('dashboard')}}">{{__('Dashboard')}}</a></li> <li class="breadcrumb-item">{{__('Domain Request')}}</li> @endsection @section('title') <div class="d-inline-block"> <h5 class="h4 d-inline-block font-weight-400 mb-0">{{__('Domain Request')}}</h5> </div> @endsection
@section('content') <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body table-border-style"> <div class="table-responsive"> <table class="table header " width="100%"> <tbody> <thead> <tr> <th>{{__('Company Name')}}</th> <th>{{__('Domain')}}</th> <th>{{__('Host')}}</th> <th>{{__('Status')}}</th> <th>{{__('Requested At')}}</th> <th>{{__('Action')}}</th>
</tr> </thead> @if($domain_requests->count() > 0) @foreach($domain_requests as $prequest)
<tr> <td> <div class="font-style ">{{ $prequest->company->name }}</div> </td> <td> <div class="">{{ $prequest->domain }}</div> </td> <td> <div class="">{{ $prequest->host }}</div> </td> <td> <div class="">{{ $prequest->status }}</div> </td> <td>{{ Utility::getDateFormated($prequest->created_at,true) }}</td> <td> <div> <a href="{{route('domain_request.status',[$prequest->id,'approve'])}}" class="btn btn-success btn-sm"> <i class="ti ti-check"></i> </a>
<a href="{{route('domain_request.status',[$prequest->id,'reject'])}}" class="btn btn-danger btn-sm"> <i class="ti ti-x"></i> </a> </div> </td> </tr> @endforeach @else <tr> <th scope="col" colspan="7"><h6 class="text-center">{{__('No Domain Request Found.')}}</h6></th> </tr> @endif </tbody> </table> </div> </div> </div> </div> </div> @endsection
|