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

Ledger Book

Net Wallet Balance

{{ $net_balance >= 0 ? '+' : '' }}₹{{ number_format($net_balance) }}

Instafix24 owes you (Transfer Pending)

Your Business Breakdown

Total Business Done ₹{{ number_format($total_business) }}
Platform Fee (15%) {{ $platform_fee <= 0 ? '-' : '' }}₹{{ number_format(abs($platform_fee)) }}
Your Actual Earning ₹{{ number_format($net_balance) }}

Wallet Transactions

@forelse($transactions as $txn)

Job: {{ $txn->booking_id }}

{{ $txn->description }}

{{ $txn->type == 'earning' ? '+' : '' }}₹{{ number_format($txn->amount) }}

{{ $txn->type == 'earning' ? 'Amount Added' : 'Fee Deducted' }}

{{ $txn->created_at->format('d M Y, h:i A') }}

@empty

No transactions yet

Complete a job to see your earnings here.

@endforelse
@endsection