bug fix on batches for zesa

This commit is contained in:
Prince
2026-06-21 00:24:36 +02:00
parent 381b5fbf08
commit b90d95bc63
11 changed files with 389 additions and 40 deletions

View File

@@ -50,6 +50,7 @@ class GroupBatchItem {
final String? groupBatchId;
final String? recipientName;
final String? recipientPhone;
final String? recipientAccount;
final double? amount;
final String? status;
final String? transactionId;
@@ -65,6 +66,7 @@ class GroupBatchItem {
this.groupBatchId,
this.recipientName,
this.recipientPhone,
this.recipientAccount,
this.amount,
this.status,
this.transactionId,
@@ -146,4 +148,4 @@ class GroupBatchUpdateRequest {
_$GroupBatchUpdateRequestFromJson(json);
Map<String, dynamic> toJson() => _$GroupBatchUpdateRequestToJson(this);
}
}

View File

@@ -49,6 +49,7 @@ GroupBatchItem _$GroupBatchItemFromJson(Map<String, dynamic> json) =>
groupBatchId: json['groupBatchId'] as String?,
recipientName: json['recipientName'] as String?,
recipientPhone: json['recipientPhone'] as String?,
recipientAccount: json['recipientAccount'] as String?,
amount: (json['amount'] as num?)?.toDouble(),
status: json['status'] as String?,
transactionId: json['transactionId'] as String?,
@@ -66,6 +67,7 @@ Map<String, dynamic> _$GroupBatchItemToJson(GroupBatchItem instance) =>
'groupBatchId': instance.groupBatchId,
'recipientName': instance.recipientName,
'recipientPhone': instance.recipientPhone,
'recipientAccount': instance.recipientAccount,
'amount': instance.amount,
'status': instance.status,
'transactionId': instance.transactionId,