@extends('layouts.app') @section('title', 'Add Customer') @section('content') @php $routePrefix = strtolower(auth()->user()->role->name); @endphp

Add Customer

Create a new customer record.
Back to Customers
@if($errors->any())
@endif
@csrf
Customer Information
Basic contact details for this customer.
@error('name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
Save Customer
Company {{ auth()->user()->company->name ?? config('app.name') }}
Cancel
@endsection