@php $cardLogo = \App\Models\Utility::get_file('card_logo/'); @endphp @extends('layouts.admin') @section('page-title') {{ __('Business') }} @endsection @section('title') {{ __('Business') }} @endsection @section('breadcrumb')
| {{ __('#') }} | {{ __('Business Logo') }} | {{ __('Businesses') }} | {{ __('Status') }} | {{ __('Generate Date') }} | {{ __('Operations') }} | |
|---|---|---|---|---|---|---|
| {{ $loop->index + 1 }} |
|
{{ ucFirst($val->title) }} | {{ ucFirst($val->status) }} | @php $now = $val->created_at; $date = $now->format('Y-m-d'); $time = $now->format('H:i:s'); @endphp{{ $val->created_at }} | {{ $val->created_at }} |
@if ($val->status != 'lock')
{!! Form::open([
'method' => 'POST',
'route' => ['business.duplicate', $val->id],
'id' => 'duplicate-form-' . $val->id,
]) !!}
{!! Form::close() !!}
{{-- @can('view analytics business')--}}
{{-- --}}
{{-- @endcan--}}
{{-- @can('calendar appointment')--}}
{{-- --}}
{{-- @endcan--}}
{{-- @can('manage contact')--}}
{{-- --}}
{{-- @endcan--}}
{{-- --}}
@can('delete business')
{!! Form::open([
'method' => 'DELETE',
'route' => ['business.destroy', $val->id],
'id' => 'delete-form-' . $val->id,
]) !!}
{!! Form::close() !!}
@else
@endcan
{{-- @else
--}}
@endif
|