@extends('layouts.admin') @section('content')
@can(['driveway_account_info_create','driveway_account_info_edit'])
@if (isset($account_info)) {{ trans('global.edit') }} {{ trans('cruds.account.title_singular') }} @else {{ trans('global.add') }} {{ trans('cruds.account.title_singular') }} @endif
@if (isset($account_info))
@method('PUT') @else @endif
@csrf
@if($errors->has('title'))
{{ $errors->first('title') }}
@endif {{ trans('cruds.account.fields.account_name_helper') }}
@if($errors->has('remarks'))
{{ $errors->first('remarks') }}
@endif {{ trans('cruds.account.fields.remarks_helper') }}

@if (isset($account_info)) @else @endif
@endcan
{{ trans('global.list') }} {{ trans('cruds.account.title_singular') }}
@if (count($account_info_list) == 0) @else @php $i = 1; @endphp @foreach ($account_info_list as $ml) @php $i++; @endphp @endforeach @endif
@endsection @section('scripts') @endsection