added navigation and selection of workspaces

This commit is contained in:
2026-06-23 00:22:30 +02:00
parent ae2705363a
commit e89c711d00
11 changed files with 118 additions and 107 deletions

View File

@@ -533,6 +533,15 @@ class _ReceiptScreenState extends State<ReceiptScreen>
isLoading: false,
onPressed: _captureImage,
),
if (_transaction?.batchId != null)
_modernActionButton(
icon: Icons.batch_prediction_rounded,
label: "View Batch",
color: const Color.fromARGB(255, 60, 99, 10),
isLoading: false,
onPressed: () =>
context.push('/groups/batches/${_transaction?.batchId}'),
),
if (integrationStatus != "SUCCESS" && paymentStatus == "SUCCESS") ...[
_modernActionButton(
icon: Icons.refresh_rounded,
@@ -1111,4 +1120,4 @@ class _DetailItem {
this.isWarning = false,
this.trailing,
});
}
}