improvements

main_production_attahment_type
WaseemAbbasi22 1 month ago
parent 55f39fadbc
commit 9f76874217

@ -269,7 +269,9 @@ class AssetProvider extends ChangeNotifier {
var body = {
"pageSize": documentPageItemNumber,
"pageNumber": pageNumber,
"assetIds": [assetId]
"assetIds": [assetId],
'ModuleIds': [1],///backend team ask to add this static values
'SubModuleIds': [3],///backend team ask to add this static values
};
response = await ApiManager.instance.post(URLs.assetDocumentHistory, body: body);
stateCode = response.statusCode;

@ -160,7 +160,7 @@ class GenericAttachmentModel {
id = json['id'];
name = json['attachmentName'];
attachmentURL = json['attachmentURL'];
documentType = json['attachmentType'] != null ? Lookup.fromJson(json['attachmentType']) : null;
documentType = json['documentType'] != null ? Lookup.fromJson(json['documentType']) : null;
originalName = json['originalName'];
}
GenericAttachmentModel.fromAssetInventoryJson(Map<String, dynamic> json) {

Loading…
Cancel
Save