@extends('layouts.master')
@section('heading')
@stop
@section('content')
@push('scripts')
@endpush
@include('partials.clientheader')
@include('partials.userheader')
@include('clients.tabs.tasktab')
@include('clients.tabs.leadtab')
@include('clients.tabs.documenttab')
@include('clients.tabs.invoicetab')
@if(Auth::user()->hasRole('administrator'))
{!! Form::model($client, [
'method' => 'PATCH',
'url' => ['clients/updateassign', $client->id],
]) !!}
{!! Form::select('user_assigned_id', $users, $client->user->id, ['class' => 'form-control ui search selection top right pointing search-select', 'id' => 'search-select']) !!}
{!! Form::submit(__('Assign new user'), ['class' => 'btn btn-primary form-control closebtn']) !!}
{!! Form::close() !!}
@endif
@stop