update pagination listener

This commit is contained in:
tzw
2024-01-23 17:48:34 +06:30
parent f3f75a80c6
commit 5ec51c31fd
13 changed files with 186 additions and 181 deletions

View File

@@ -80,20 +80,20 @@ class Pickup {
return Pickup(
id: id,
pickupDate: _pickupDate.toDate().toLocal(),
pickupNumber: map['pickup_number'],
pickupNumber: map['pickup_number'] ?? "",
pickupAddress: _da,
fromTime: _fromTime?.toDate().toLocal() ?? null,
toTime: _toTime?.toDate().toLocal() ?? null,
staffId: map['pickup_staff_id'],
staffName: map['pickup_staff_name'],
customerID: map['customer_id'],
customerName: map['customer_name'],
staffId: map['pickup_staff_id'] ?? "",
staffName: map['pickup_staff_name'] ?? "",
customerID: map['customer_id'] ?? "",
customerName: map['customer_name'] ?? "",
customerRemark: map['customer_remark'] ?? "",
completeRemark: map['complete_remark'] ?? "",
rescheduleRemark: map['reschedule_remark'],
zoneID: map['zone_id'],
zoneName: map['zone_name'],
status: map['status'],
rescheduleRemark: map['reschedule_remark'] ?? "",
zoneID: map['zone_id'] ?? "",
zoneName: map['zone_name'] ?? "",
status: map['status'] ?? "",
photoUrls: _photoUrls);
}