@extends('layouts.app') @section('title', 'Edit Account Transaction') @section('content') Edit Account Transaction for {{ $details->name."=>(".$details->account_number.")" }} @if (session('success')) {{ session('success') }} @endif @if (session('error')) {{ session('error') }} @endif @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @csrf @php $prevDetails = json_encode(array( 'amount' => $details->amount, 'transaction type' => $details->type, 'operation_date' => $details->operation_date, 'note' => $details->note )); @endphp Amount Transaction Type {{ $details->sub_type.' =>('.$details->type.')' }} withdraw =>(debit)deposit =>(credit) Transaction Date {{ date('d M, Y',strtotime($details->operation_date)) }} Note {{ $details->note }} Update Changes Back @endsection