|
|
|
|
@ -24,7 +24,7 @@ class AssetByIdModel {
|
|
|
|
|
int? testsDay;
|
|
|
|
|
num? purchasingPrice;
|
|
|
|
|
String? nbv;
|
|
|
|
|
String? currency;
|
|
|
|
|
Lookup? currency;
|
|
|
|
|
String? poDate;
|
|
|
|
|
String? poNo;
|
|
|
|
|
String? invoiceNumber;
|
|
|
|
|
@ -153,7 +153,7 @@ class AssetByIdModel {
|
|
|
|
|
testsDay = json['testsDay'];
|
|
|
|
|
purchasingPrice = json['purchasingPrice'];
|
|
|
|
|
nbv = json['nbv'];
|
|
|
|
|
currency = json['currency'];
|
|
|
|
|
currency = json['currency'] != null ? Lookup.fromJson(json['currency']) : null;
|
|
|
|
|
poDate = json['poDate'];
|
|
|
|
|
poNo = json['poNo'];
|
|
|
|
|
invoiceNumber = json['invoiceNumber'];
|
|
|
|
|
@ -247,7 +247,9 @@ class AssetByIdModel {
|
|
|
|
|
data['testsDay'] = testsDay;
|
|
|
|
|
data['purchasingPrice'] = purchasingPrice;
|
|
|
|
|
data['nbv'] = nbv;
|
|
|
|
|
data['currency'] = currency;
|
|
|
|
|
if (currency != null) {
|
|
|
|
|
data['currency'] = currency?.toJson();
|
|
|
|
|
}
|
|
|
|
|
data['poDate'] = poDate;
|
|
|
|
|
data['poNo'] = poNo;
|
|
|
|
|
data['invoiceNumber'] = invoiceNumber;
|
|
|
|
|
|