Viewing file: index.blade.php (5.27 KB) -rw-r--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 p-2"> <div class="card-body table-border-style"> <div class="table-responsive"> <table id="plan-request" class="table table-striped table-bordered dt-responsive nowrap"> <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 Drivers')}}</th> <th>{{__('Total Taxis')}}</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> </td> <td> <div class="">{{ $prequest->plan->max_customers }}</div> </td> <td> <div class="">{{ $prequest->plan->max_drivers }}</div> </td> <td> <div class="">{{ $prequest->plan->max_taxis }}</div> </td> <td> <div class="">{{ $prequest->plan->max_venders }}</div> </td> <td> <div class="">{{ $prequest->plan->max_clients }}</div> </td> <td> @if($prequest->duration == "year") <div class="font-style ">{{ __('Yearly') }}</div> @elseif($prequest->duration == "month") <div class="font-style ">{{ __('Monthly') }}</div> @else <div class="font-style ">{{ __('Lifetime') }}</div> @endif </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
|