@extends('layouts.site') @section('title',$client->exists?'Edit Client':'Create Client') @section('content') CLIENT PORTAL / ACCOUNTS{{ $client->exists?'Edit':'Create' }} client. @foreach($errors->all() as $error){{ $error }}@endforeach @php($field='display:block;width:100%;padding:12px;border:1px solid #dce5ee;margin:7px 0 17px') @csrf @if($client->exists)@method('PUT')@endif Full name Email Phone Organisation Job title @if(!$client->exists || auth()->user()->isSuperAdmin()) {{ $client->exists?'New password (leave blank to keep current)':'Initial password (minimum 12 characters)' }}exists?'':'required' }} minlength="12" style="{{ $field }}">Confirm passwordexists?'':'required' }} minlength="12" style="{{ $field }}"> @endif exists?$client->is_active:true))> Allow portal access Save client account ↗ Cancel @endsection
{{ $error }}