@extends('layouts.admin') @section('heading', 'Edit Payment #' . $payment->id) @section( 'subheading', 'Update payment details for Order #' . $payment->order_id ) @section('actions') ← Back to payment @endsection @section('content') @if($errors->any())
{{ $errors->first() }}
@endif

Edit payment

@csrf @method('PUT')
Cancel

Current payment

Payment #{{ $payment->id }}
Current amount ₹{{ number_format($payment->amount, 2) }}
Current balance ₹{{ number_format($payment->balance_after_payment ?? 0, 2) }}

Important

Changing the payment amount or payment type will automatically recalculate the order's paid amount, balance amount, and payment history.

@endsection