@extends('backend.layouts.master') @section('body')
@component('components.beardcrumb') {{-- /*Page Title Goese Here in this slot variable*/ --}} @slot('title') @lang('branch.properties_title') @endslot @endcomponent @php Use App\Traits\Date; $result = App\Traits\Date::explodeDateTime(' ',$data['branch']->created_at); @endphp
{{$data['branch']->branch_name_en}} ( {{$data['branch']->branch_name_bn}} )
@lang('common.created_at') : {{ App\Traits\Date::DbToOriginal('-',$result['date'])}}
@lang('common.time'): {{Date::twelveHrTime($result['time'])}}
@lang('common.create_by') : {{$data['branch']->creator->name}}
@include('components.history')

@lang('role.this_role')


@if($data['user']) @foreach ($data['user'] as $v) @endforeach @endif
@lang('common.sl') @lang('user.profile') @lang('user.name') @lang('user.phone') @lang('user.email') @lang('user.gender') @lang('common.actions')
{{$data['sl']++}} @php $path = public_path().'/Backend/profile/'.$v->profile; @endphp @if(file_exists($path)) @else @endif @if(config('app.locale') == 'en') {{$v->name ?: $v->name_bn}} @else {{$v->name_bn ?: $v->name}} @endif {{$v->phone}} {{$v->email}} @if($v->gender == 'Male') @lang('common.male') @elseif($v->gender == 'Female') @lang('common.female') @endif @if($v->deleted_at == NULL) @if(Auth::user()->can('Admin destroy'))
@csrf @method('DELETE')
@endif @else @if(Auth::user()->can('Admin restore')) @lang('common.restore') @endif @if(Auth::user()->can('Admin delete')) @lang('common.delete') @endif @endif
@lang('common.sl') @lang('user.profile') @lang('user.name') @lang('user.phone') @lang('user.email') @lang('user.gender') @lang('common.actions')
@push('footer_script') {{-- --}} @endpush @endsection