|
|
|
|
@ -280,8 +280,9 @@ class SearchWorkOrder {
|
|
|
|
|
map['workingHours'] = workingHours;
|
|
|
|
|
map['travelingHours'] = travelingHours;
|
|
|
|
|
map['travelingExpenses'] = travelingExpenses;
|
|
|
|
|
if (faultDescription != null) {
|
|
|
|
|
map['faultDescription'] = faultDescription.toJson();
|
|
|
|
|
|
|
|
|
|
if (faultDescription?.id != null ) {
|
|
|
|
|
map['faultDescription'] = faultDescription.toJson();
|
|
|
|
|
}
|
|
|
|
|
if (sparePartsWorkOrders != null) {
|
|
|
|
|
map['sparePartsWorkOrders'] = sparePartsWorkOrders.map((v) => v.toJson()).toList();
|
|
|
|
|
|