fix: report profit loss

This commit is contained in:
efrilm
2025-08-14 17:32:16 +07:00
parent f87309af3f
commit 0c375de6e4
6 changed files with 10 additions and 9 deletions
@@ -873,7 +873,7 @@ class ProfitLossWidget extends StatelessWidget {
Expanded(
child: _buildMetricCard(
'Keuntungan Rata-rata',
_formatCurrency(data.summary.averageProfit),
"${data.summary.averageProfit.round()}%",
'Per pesanan',
Icons.trending_up,
AppColorProfitLoss.success,
@@ -16,7 +16,7 @@ class ReportTitle extends StatelessWidget {
vertical: 10.0,
),
width: double.infinity,
height: context.deviceHeight * 0.1,
height: context.deviceHeight * 0.13,
decoration: const BoxDecoration(
color: AppColors.white,
border: Border(