PATH:
home
/
lab2454c
/
tripvare.com
/
resources
/
views
/
admin
/
dashboard
/
manage_corporate_users
@extends('layouts.admin.dashboard') @section('content') <div class="inner__body__wrapp faq__wrap"> @include('validation.flashmessage') <div class="list__header__wrapp"> <h2>Manage Corporate Users</h2> <div class="filter__wrapp"> <form class="frm__wrapp" method="GET" action='{{ route("admin.search-corporate-user") }}'> @csrf <input type="text" name="q" value="@isset($q){{$q}}@endisset" placeholder="Search by Organization Name or Email or Industry Type or Registration Number or Email " class="frm__content" required> <button type="submit" class="search__btn">{{ __('messages.admin.manage_users.btn_search')}}</button> <!--<a href="{{ route('admin.export-user') }}" class="search__btn">{{ __('messages.admin.manage_users.excel_export')}}</a>--> </form> </div> </div> <div class="table-responsive"> <table class="table table-sm"> <thead> <tr> <th scope="col">Organization Name</th> <th scope="col">Organization Email</th> <th scope="col">Organization Type</th> <th scope="col">Organization Registration</th> <th scope="col">Organization Size</th> <th scope="col">Contact No.</th> <th scope="col">A/C Status</th> <th scope="col">{{ __('messages.admin.manage_users.list.heading.manage')}}</th> </tr> </thead> <tbody> @foreach($corporate_users as $corporate_user) <tr class="manage__user__data__table"> <td>{{ $corporate_user->organization_name }}</td> <td>{{ $corporate_user->email }}</td> <td> @if($corporate_user->industry_type=='health-care-biotech') {{'Health Care & Biotech'}} @elseif($corporate_user->industry_type=='education') {{'Education'}} @elseif($corporate_user->industry_type=='software-technology') {{'Software and Technology'}} @elseif($corporate_user->industry_type=='consulting-professional-business-services') {{'Consulting, Professional & Business Services'}} @elseif($corporate_user->industry_type=='banking-insurance-financial-services') {{'Banking/ Insurance/ Financial Services'}} @elseif($corporate_user->industry_type=='government') {{'Government'}} @elseif($corporate_user->industry_type=='legal') {{'Legal'}} @elseif($corporate_user->industry_type=='energy-utilities') {{'Energy/Utilities'}} @elseif($corporate_user->industry_type=='non-for-profit') {{'Non For Profit'}} @elseif($corporate_user->industry_type=='food-beverage') {{'Food & Beverage'}} @else($corporate_user->industry_type=='other') {{'Other - '}} {{$corporate_user->industry_type_other}} @endif </td> <td>{{ $corporate_user->registration_no }}</td> <td> @if($corporate_user->industry_size=='1-19') {{'1 - 19 employees'}} @elseif($corporate_user->industry_size=='20-99') {{'20 - 99 employees'}} @elseif($corporate_user->industry_size=='100-499') {{'100 - 499 employees'}} @elseif($corporate_user->industry_size=='500-999') {{'500 - 999 employees'}} @elseif($corporate_user->industry_size=='1000-5000') {{'1,000 - 5,000 employees'}} @else($corporate_user->industry_size=='5000+') {{'5,000+ employees'}} @endif </td> <td>{{ $corporate_user->phone }}</td> <td>@if($corporate_user->account_status == 1){{'Active'}}@else{{'Inactive'}}@endif</td> <td> <ul class="list-inline m-0"> <li class="list-inline-item"> <a href='{{ route("admin.manage-corporate-user", ["id"=>$corporate_user->id,"page"=>$corporate_users->currentPage()])}}' class="btn btn-success btn-sm rounded-0" type="button" data-toggle="tooltip" data-placement="top" title="{{ __('messages.admin.manage_users.list.heading.manage')}}"><i class="fa fa-eye"></i></a> </li> <li class="list-inline-item"> <a href='{{ route("admin.remove-corporate-user",[$corporate_user->id])}}' class="btn btn-danger btn-sm rounded-0" type="button" data-toggle="tooltip" data-placement="top" title="{{ __('messages.admin.manage_users.list.heading.btn_delete')}}" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i></a> </li> </ul> </td> </tr> @endforeach </tbody> </table> {!! $corporate_users->links('pagination::bootstrap-4') !!} </div> </div> @endsection
[+]
..
[-] list.blade.php
[edit]
[-] organization_info.blade.php
[edit]