@extends('layouts/edit-form', [ 'createText' => trans('admin/locations/table.create') , 'updateText' => trans('admin/locations/table.update'), 'topSubmit' => true, 'helpPosition' => 'right', 'helpText' => trans('admin/locations/table.about_locations'), 'formAction' => (isset($item->id)) ? route('locations.update', ['location' => $item->id]) : route('locations.store'), ]) {{-- Page content --}} @section('inputFields') @include ('partials.forms.edit.name', ['translated_name' => trans('admin/locations/table.name')]) @include ('partials.forms.edit.location-select', ['translated_name' => trans('admin/locations/table.parent'), 'fieldname' => 'parent_id']) @include ('partials.forms.edit.user-select', ['translated_name' => trans('admin/users/table.manager'), 'fieldname' => 'manager_id']) @include ('partials.forms.edit.phone') @include ('partials.forms.edit.fax')
@error('currency') {{ $message }} @enderror
@include ('partials.forms.edit.address') @if ($snipeSettings->ldap_enabled == 1)
@error('ldap_ou') {{ $message }} @enderror
@endif @include ('partials.forms.edit.image-upload', ['image_path' => app('locations_upload_path')]) @stop