Viewing file: index.blade.php (4.65 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.admin') @section('page-title') {{__('Plan-Request')}} @endsection @section('breadcrumb') <li class="breadcrumb-item"><a href="{{route('dashboard')}}">{{__('Dashboard')}}</a></li> <li class="breadcrumb-item">{{__('Plan Request')}}</li> @endsection @section('title') <div class="d-inline-block"> <h5 class="h4 d-inline-block font-weight-400 mb-0">{{__('Plan 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> @if($plan_requests->count() > 0) @foreach($plan_requests as $prequest)
<thead> <tr> <th>{{__('Name')}}</th> <th>{{__('Plan Name')}}</th> <th>{{__('Total Users')}}</th> <th>{{__('Total Customers')}}</th> <th>{{__('Total Vendors')}}</th> <th>{{__('Total Clients')}}</th> <th>{{__('Duration')}}</th> <th>{{__('Date')}}</th> <th>{{__('Action')}}</th>
</tr> </thead>
<tr> <td> <div class="font-style ">{{ $prequest->user->name }}</div> </td> <td> <div class="font-style ">{{ $prequest->plan->name }}</div> </td> <td> <div class="">{{ $prequest->plan->max_users }}</div> {{-- <div>{{__('Users')}}</div>--}} </td> <td> <div class="">{{ $prequest->plan->max_customers }}</div> {{-- <div>{{__('Customers')}}</div>--}} </td> <td> <div class="">{{ $prequest->plan->max_venders }}</div> {{-- <div>{{__('Vendors')}}</div>--}} </td> <td> <div class="">{{ $prequest->plan->max_clients }}</div> {{-- <div>{{__('Clients')}}</div>--}} </td> <td> <div class="font-style ">{{ ($prequest->duration == 'monthly') ? __('One Month') : __('One Year') }}</div> </td> <td>{{ Utility::getDateFormated($prequest->created_at,true) }}</td> <td> <div> <a href="{{route('response.request',[$prequest->id,1])}}" class="btn btn-success btn-sm"> <i class="ti ti-check"></i> </a> <a href="{{route('response.request',[$prequest->id,0])}}" 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 Manually Plan Request Found.')}}</h6></th> </tr> @endif </tbody> </table> </div> </div> </div> </div> </div> @endsection
|