KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/account.appointkrypt.com/resources/views/business/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/account.appointkrypt.com/resources/views/business/index.blade.php
@extends('layouts.main')

@section('page-title')
    {{ __('Business') }}
@endsection
@section('page-breadcrumb')
{{ __('Business') }}
@endsection

@section('page-action')


@endsection
@section('content')
    <div class="row">
        <div class="col-lg-12 col-md-12">
            <div class="card">
                <div class="card-header card-body table-border-style">
                    <div class="table-responsive">
                        <table class="table mb-0 pc-dt-simple" id="pc-dt-simple">
                            <thead class="thead-light">
                            <tr>
                                <th>#</th>
                                <th>{{ __('Name') }}</th>
                                <th class="text-end me-3">{{ __('Action') }}</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach($businesses as $index => $business)
                                <tr>
                                    <th scope="row">{{++$index}}</th>
                                    <td><span class="white-space">{{$business->name}}</span></td>
                                    <td class="text-end">
                                        @permission('business update')
                                            <div class="action-btn bg-info ms-2">
                                                <a href="{{ route('business.manage', $business->id) }}" class="mx-3 btn btn-sm d-inline-flex align-items-center" data-bs-toggle="tooltip" title='manage Business'> <span class="text-white"> <i class="ti ti-corner-up-left"></i></span></a>
                                            </div>
                                        @endpermission
                                        @permission('business delete')
                                                <div class="action-btn bg-danger ms-2">
                                                    <form method="POST" action="{{route('business.destroy',$business->id)}}" id="user-form-{{$business->id}}">
                                                        @csrf
                                                        @method('DELETE')
                                                        <input name="_method" type="hidden" value="DELETE">
                                                        <button type="button" class="mx-3 btn btn-sm d-inline-flex align-items-center show_confirm" data-bs-toggle="tooltip"
                                                        title='Delete'>
                                                            <span class="text-white"> <i class="ti ti-trash"></i></span>
                                                        </button>
                                                    </form>
                                                </div>
                                        @endpermission
                                    </td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

    
@endsection

Anon7 - 2021