@extends('layouts.superadmin') @section('content')

Dashboard

Branch Master
@csrf
@if ($errors->has('company_id'))
{{ $errors->first('company_id') }}
@endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('type'))
{{ $errors->first('type') }}
@endif
@if ($errors->has('software'))
{{ $errors->first('software') }}
@endif
@if ($errors->has('issue_date'))
{{ $errors->first('issue_date') }}
@endif
@if ($errors->has('expiry_date'))
{{ $errors->first('expiry_date') }}
@endif
{{-- @if ($errors->has('leniency'))
{{ $errors->first('leniency') }}
@endif --}}
@forelse ($permissions->where('type','Master') as $permission)
enabled) checked @endif>
@empty @endforelse
@forelse ($permissions->where('type','Report') as $permission)
enabled) checked @endif>
@empty @endforelse
@forelse ($permissions->where('type','Transactions') as $permission)
enabled) checked @endif>
@empty @endforelse
@forelse ($permissions->where('type','Others') as $permission)
enabled) checked @endif>
@empty @endforelse
@forelse ($permissions->where('type','period-closing') as $permission)
enabled) checked @endif>
@empty @endforelse
{{--
@forelse ($permissions->where('type','user') as $permission)
enabled) checked @endif>
@empty @endforelse
--}}
@endsection