Enhance client dashboard summary: Add pending fiat deposits to the summary metrics and update the model and frontend to display pending deposits, improving visibility of cash awaiting confirmation for DCA processing.

This commit is contained in:
padreug 2025-06-22 15:40:56 +02:00
parent 9ea8c37940
commit e05404fcab
3 changed files with 19 additions and 1 deletions

View file

@ -57,6 +57,22 @@
</div>
</div>
</div>
<!-- Pending Deposits Row -->
<div v-if="dashboardData.pending_fiat_deposits > 0" class="row q-col-gutter-md q-mt-sm">
<div class="col-12">
<q-banner inline-actions class="bg-orange-1 text-orange-9">
<template v-slot:avatar>
<q-icon name="schedule" color="orange" />
</template>
<div class="text-subtitle2">
<strong>${formatCurrency(dashboardData.pending_fiat_deposits)}</strong> pending deposit
</div>
<div class="text-caption">
Cash waiting to be inserted into ATM for DCA processing
</div>
</q-banner>
</div>
</div>
</q-card-section>
</q-card>