@extends('admin.layouts.app') @section('title', 'Admin - Transcation List') @push('headerscript') @section('content')
{{--
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if (Session::has('alert-' . $msg))
@endif @endforeach
--}}

Transcation

{{-- Add Transcation --}}

@foreach ($transcations as $r) {{-- --}} @endforeach
S.No. Name Payment Type Cr/Dr Amount Remaining Amount Status
{{ $loop->iteration }} {{ App\Models\User::where('id',$r->user_id)->value('name') }} {{ $r->payment_type }} {{ $r->type }} {{ $r->amount }} {{$r->remaining_amount}} @if($r->transcation_status == "1") Approved @elseif($r->transcation_status == "2") Rejected @else Pending {{--
@csrf @method('put')
--}} @endif
@endsection @push('footerscript') @endpush