@extends('layouts.admin_app') @section('title', 'Assign to Head Offiec') @section('content')

Assign this location to a Head Office

@if($location->head_office())

Current Head Office: {{$location->head_office()->name()}}

@endif
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ csrf_field() }}

If the location is already assigned to a head office, this will change the current head office of that location.

Note: Location data will not be shown to "Previous" head office upon change.

@endsection