added navigation and selection of workspaces
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user