@extends("agentportal.layouts.layout") @if(isset($details)) @section("title", trans("message_lang.LBL_EDIT_LOCATION_USER")) @else @section("title", trans("message_lang.LBL_ADD_LOCATION_USER")) @endif @section("page_style") @endsection @section("content")

{{ $agentLocation ? $agentLocation->name . ' : ' : '' }} @if(isset($details) && isset($details->id)) {!! trans("message_lang.LBL_EDIT_LOCATION_USER") !!} @else {!! trans("message_lang.LBL_ADD_LOCATION_USER") !!} @endif

@php $url = 'agentportal/locations/'; if ($parent) { $url .= $parent->id . '/'; } $url .= 'show/' . $agentLocation->id; @endphp @if(isset($details) && isset($details->id)) {{ trans('message_lang.BTN_RESET_PASSWORD') }}
@endif {{ trans('message_lang.BTN_BACK') }}
id)) action="{{ url('agentportal/locations/' . $agentLocation->id . '/users/update/' . $details->id) }}" @else action="{{ url('agentportal/locations/' . $agentLocation->id . '/users/store') }}" @endif enctype="multipart/form-data" autocomplete="off"> @csrf
@error('first_name') {{ $message }} @enderror
@error('last_name') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('role') {{ $message }} @enderror
@error('username') {{ $message }} @enderror
@if(isset($agentLocation->sending_enabled) && $agentLocation->sending_enabled == "1")
@endif
@endsection @section("page_vendors") @endsection