@extends('dashboard.layouts.app') @section('title', __('dashboard.Pay Invoice') . ' #' . $invoice->id) @section('page_heading', __('dashboard.Pay Invoice') . ' #' . $invoice->id) @section('breadcrumb') @endsection @section('content')

{{ __('dashboard.Pay Invoice') }} #{{ $invoice->id }}

{{__('dashboard.Remaining Amount')}}: {{ number_format($remainingAmount, 2) }} {{ $invoice->currency ? $invoice->currency->code : 'N/A' }}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@error('amount')
{{ $message }}
@enderror
@error('payment_date')
{{ $message }}
@enderror
@error('reference_number')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
@error('attachment')
{{ $message }}
@enderror
{{ __('dashboard.Cancel') }}
@endsection @section('scripts') @endsection