@extends('layouts.app') @section('title','Accounts') @section('pages')
@csrf @method('patch')
Account Details
{!! $account->code !!}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('account_type_id')) {{ $errors->first('account_type_id') }} @endif
@if ($errors->has('accounting_group_id')) {{ $errors->first('accounting_group_id') }} @endif
{{--
--}}
@if ($errors->has('address_line1')) {{ $errors->first('address_line1') }} @endif
@if ($errors->has('phone_no')) {{ $errors->first('phone_no') }} @endif
@if ($errors->has('whatsapp_no')) {{ $errors->first('whatsapp_no') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
Additional Information

@if ($errors->has('print_name')) {{ $errors->first('print_name') }} @endif
@if ($errors->has('contact')) {{ $errors->first('contact') }} @endif
@if ($errors->has('settlement_type')) {{ $errors->first('settlement_type') }} @endif
@if ($errors->has('tax_register_category_id')) {{ $errors->first('tax_register_category_id') }} @endif
@if ($errors->has('account_category_id')) {{ $errors->first('account_category_id') }} @endif
@if ($errors->has('opening_balance')) {{ $errors->first('opening_balance') }} @endif
@if ($errors->has('balance_type')) {{ $errors->first('balance_type') }} @endif
@if ($errors->has('referred_by')) {{ $errors->first('referred_by') }} @endif
@if ($errors->has('date_of_birth')) {{ $errors->first('date_of_birth') }} @endif
{{--
--}}
{{-- @foreach($license_types as $key => $value)
@endforeach --}} {{-- @foreach($license_types as $key => $value)
@endforeach --}} @foreach($license_types as $key => $value) @php $license_number = ''; if(isset($account_license[$value->id])) { $license_number = $account_license[$value->id]->license_number; } @endphp
@endforeach
@endsection @section('js') @endsection