Support update/increase recurring invoice prices
This commit is contained in:
parent
ba58f867e2
commit
6c65ae2af3
|
|
@ -549,7 +549,7 @@ void handleRecurringInvoiceAction(BuildContext context,
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(0.0),
|
||||||
child: Text(localization.cancel.toUpperCase())),
|
child: Text(localization.cancel.toUpperCase())),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.of(context).pop(_amount),
|
onPressed: () => Navigator.of(context).pop(_amount),
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ class ReportsScreen extends StatelessWidget {
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
final cappedEntities = [...reportResult.entities ?? []];
|
final cappedEntities = <BaseEntity>[...reportResult.entities ?? []];
|
||||||
final firstEntity = cappedEntities.isNotEmpty ? cappedEntities.first : null;
|
final firstEntity = cappedEntities.isNotEmpty ? cappedEntities.first : null;
|
||||||
if (cappedEntities.length > kMaxEntitiesPerBulkAction) {
|
if (cappedEntities.length > kMaxEntitiesPerBulkAction) {
|
||||||
cappedEntities.removeRange(
|
cappedEntities.removeRange(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue