update ui

This commit is contained in:
tzw
2025-04-02 15:02:49 +06:30
parent 17ca3e2a3f
commit f1c5342ae4
16 changed files with 253 additions and 245 deletions

View File

@@ -99,20 +99,20 @@ class Package {
return Package(
id: docID,
userID: map['user_id'],
userID: map['user_id'] ?? "",
fcsID: map['fcs_id'],
trackingID: map['tracking_id'],
market: map['market'],
market: map['market'] ?? "",
userName: map['user_name'] ?? "",
phoneNumber: map['phone_number'] ?? "",
remark: map['remark'],
desc: map['desc'],
remark: map['remark'] ?? "",
desc: map['desc'] ?? "",
status: map['status'],
senderFCSID: map['sender_fcs_id'],
senderFCSID: map['sender_fcs_id'] ?? "",
senderName: map['sender_name'] ?? "",
senderPhoneNumber: map['sender_phone_number'] ?? "",
fcsShipmentId: map['fcs_shipment_id'],
fcsShipmentNumber: map['fcs_shipment_number'],
fcsShipmentId: map['fcs_shipment_id'] ?? "",
fcsShipmentNumber: map['fcs_shipment_number'] ?? "",
deliveryAddress: da,
currentStatusDate: currentStatusDate?.toDate().toLocal(),
photoUrls: photoUrls,
@@ -132,7 +132,7 @@ class Package {
'id': id,
'fcs_id': fcsID,
'sender_fcs_id': senderFCSID,
'fcs_shipment_id' : fcsShipmentId,
'fcs_shipment_id': fcsShipmentId,
'tracking_id': trackingID,
'market': market,
"desc": desc,