@extends('layouts.seller') @section('title', 'Transactions') @section('content')

Transactions

A complete history of your account transactions.

@php $balance = 33730; @endphp @for ($i = 0; $i < 10; $i++) @php $isCredit = rand(0, 1); $amount = rand(500, 5000); $balance += ($isCredit ? $amount : -$amount); @endphp @endfor
Date Description Amount Type Balance
{{ now()->subDays($i)->format('d M, Y') }} {{ $isCredit ? 'COD for parcel #AW'.rand(100000000, 999999999) : 'Shipping Fee' }} {{ $isCredit ? '+' : '-' }} PKR {{ number_format($amount, 2) }} {{ $isCredit ? 'Credit' : 'Debit' }} PKR {{ number_format($balance, 2) }}

Pagination placeholder

@endsection