diff --git a/apps/mobile/packages/features/client/billing/lib/src/presentation/pages/completion_review_page.dart b/apps/mobile/packages/features/client/billing/lib/src/presentation/pages/completion_review_page.dart index 1090cfc6..d9d48dd9 100644 --- a/apps/mobile/packages/features/client/billing/lib/src/presentation/pages/completion_review_page.dart +++ b/apps/mobile/packages/features/client/billing/lib/src/presentation/pages/completion_review_page.dart @@ -1,10 +1,8 @@ import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; import 'package:flutter_modular/flutter_modular.dart'; -import 'package:krow_core/core.dart'; import '../models/billing_invoice_model.dart'; - import '../widgets/completion_review/completion_review_actions.dart'; import '../widgets/completion_review/completion_review_amount.dart'; import '../widgets/completion_review/completion_review_info.dart'; @@ -61,22 +59,22 @@ class _ShiftCompletionReviewPageState extends State { const SizedBox(height: UiConstants.space4), CompletionReviewAmount(invoice: invoice), const SizedBox(height: UiConstants.space6), - CompletionReviewWorkersHeader(workersCount: invoice.workersCount), - const SizedBox(height: UiConstants.space4), - CompletionReviewSearchAndTabs( - selectedTab: selectedTab, - workersCount: invoice.workersCount, - onTabChanged: (int index) => - setState(() => selectedTab = index), - onSearchChanged: (String val) => - setState(() => searchQuery = val), - ), - const SizedBox(height: UiConstants.space4), - ...filteredWorkers.map( - (BillingWorkerRecord worker) => - CompletionReviewWorkerCard(worker: worker), - ), - const SizedBox(height: UiConstants.space4), + // CompletionReviewWorkersHeader(workersCount: invoice.workersCount), + // const SizedBox(height: UiConstants.space4), + // CompletionReviewSearchAndTabs( + // selectedTab: selectedTab, + // workersCount: invoice.workersCount, + // onTabChanged: (int index) => + // setState(() => selectedTab = index), + // onSearchChanged: (String val) => + // setState(() => searchQuery = val), + // ), + // const SizedBox(height: UiConstants.space4), + // ...filteredWorkers.map( + // (BillingWorkerRecord worker) => + // CompletionReviewWorkerCard(worker: worker), + // ), + // const SizedBox(height: UiConstants.space4), ], ), ), diff --git a/apps/mobile/packages/features/client/billing/lib/src/presentation/widgets/completion_review/completion_review_amount.dart b/apps/mobile/packages/features/client/billing/lib/src/presentation/widgets/completion_review/completion_review_amount.dart index 401fd8c0..5b69d84f 100644 --- a/apps/mobile/packages/features/client/billing/lib/src/presentation/widgets/completion_review/completion_review_amount.dart +++ b/apps/mobile/packages/features/client/billing/lib/src/presentation/widgets/completion_review/completion_review_amount.dart @@ -23,14 +23,13 @@ class CompletionReviewAmount extends StatelessWidget { children: [ Text( t.client_billing.total_amount_label, - style: UiTypography.body2b.copyWith(color: const Color(0xFF2563EB)), + style: UiTypography.body2b.textPrimary, ), - const SizedBox(height: UiConstants.space2), + const SizedBox(height: UiConstants.space1), Text( '\$${invoice.totalAmount.toStringAsFixed(2)}', style: UiTypography.headline1b.textPrimary.copyWith(fontSize: 40), ), - const SizedBox(height: UiConstants.space1), Text( '${invoice.totalHours.toStringAsFixed(1)} ${t.client_billing.hours_suffix} • \$${(invoice.totalAmount / (invoice.totalHours > 0.1 ? invoice.totalHours : 1)).toStringAsFixed(2)}${t.client_billing.avg_rate_suffix}', style: UiTypography.footnote2b.textSecondary,