@extends('admin.layouts.app') @section('content')
@csrf
@lang('view_pages.owner_details')
@foreach([ ['label' => 'company_name', 'type' => 'text', 'required' => true, 'value' => $item->company_name], ['label' => 'owner_name', 'type' => 'text', 'required' => true, 'value' => $item->owner_name], ['label' => 'email', 'type' => 'email', 'required' => true, 'value' => $item->email], ['label' => 'address', 'type' => 'text', 'required' => true, 'value' => $item->address], ['label' => 'postal_code', 'type' => 'number', 'required' => true, 'value' => $item->postal_code], ['label' => 'city', 'type' => 'text', 'required' => true, 'value' => $item->city], ['label' => 'no_of_vehicles', 'type' => 'number', 'required' => true, 'value' => $item->no_of_vehicles, 'attributes' => ['min' => 1]], ['label' => 'tax_number', 'type' => 'text', 'required' => true, 'value' => $item->tax_number], ] as $field)
$value) {{ $attr }}="{{ $value }}" @endforeach> {{ $errors->first($field['label']) }}
@endforeach
@if($app_for !== 'taxi' && $app_for !== 'delivery')
@endif
@lang('view_pages.contact_person_details')
@foreach([ ['label' => 'name', 'type' => 'text', 'required' => true, 'value' => $item->name], ['label' => 'surname', 'type' => 'text', 'required' => true, 'value' => $item->surname], ['label' => 'mobile', 'type' => 'text', 'required' => true, 'value' => $item->mobile], ['label' => 'phone', 'type' => 'text', 'required' => false, 'value' => $item->phone], ] as $field)
{{ $errors->first($field['label']) }}
@endforeach
@lang('view_pages.bank_details')
@foreach([ ['label' => 'ifsc', 'type' => 'text', 'required' => true, 'value' => $item->ifsc], ['label' => 'bank_name', 'type' => 'text', 'required' => false, 'value' => $item->bank_name], ['label' => 'account_no', 'type' => 'text', 'required' => false, 'value' => $item->account_no], ] as $field)
{{ $errors->first($field['label']) }}
@endforeach
@lang('view_pages.document')
@foreach ($needed_document as $key => $docs)
@if ($docs->has_expiry_date)
{{ $errors->first('expiry_date.'.$docs->id) }}
@endif @if ($docs->has_identify_number)
@endif
Browse…
@if (!empty($item->ownerDocument[$key]->image)) @else @endif
{{ $errors->first('doc_file.' . $docs->id) }}
@endforeach
@endsection