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

Edit Customer

Update contact details for {{ $customer->name }}.
Back to Customer
@if($errors->any())
@endif
@csrf @method('PUT')
Customer Information
Update contact details for this customer.
@error('name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
Update Customer
Customer Since {{ $customer->created_at->format('d M Y') }}
Cancel
@endsection