@extends('layouts.app') @section('title', 'Edit Invoice') @php($prefix = auth()->user()->role === 'admin' ? 'admin.' : 'user.') @section('content')

Edit Invoice #{{ $invoice->invoice_number }}

@csrf @method('PUT')
@error('amount')

{{ $message }}

@enderror
@error('brand_id')

{{ $message }}

@enderror
@error('due_date')

{{ $message }}

@enderror
@error('status')

{{ $message }}

@enderror
@error('payment_status')

{{ $message }}

@enderror
@error('customer_name')

{{ $message }}

@enderror
@error('customer_number')

{{ $message }}

@enderror
@error('customer_email')

{{ $message }}

@enderror
@error('customer_address')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
Cancel
@endsection