@extends('layouts.app') @section('content')

Record Agent Balance

@csrf

Agent Balance Records

Reset
@forelse($balances as $balance) @empty @endforelse
Date Agent Account Currency Quantity Buying Rate Total LKR Status Actions
{{ $balance->date->format('Y-m-d') }} {{ $balance->agent->name }} {{ $balance->account->name }} {{ $balance->account->currency->code }} {{ number_format((float) $balance->quantity, 4) }} {{ number_format((float) $balance->rate, 4) }} {{ number_format((float) $balance->quantity * (float) $balance->rate, 4) }} @if($balance->is_received) Received @else Pending @endif
@if(!$balance->is_received)
@csrf
@endif Edit
@csrf @method('DELETE')
No agent balances recorded yet.
@endsection