Commit 6f73c3f4 authored by Sai Srinivas's avatar Sai Srinivas
Browse files

UI changes

parent 72fe8e92
...@@ -174,6 +174,8 @@ class Schedule { ...@@ -174,6 +174,8 @@ class Schedule {
String? complaintType; String? complaintType;
String? reason; String? reason;
String? status; String? status;
String? amc;
String? warranty;
Schedule( Schedule(
{this.id, {this.id,
...@@ -181,7 +183,10 @@ class Schedule { ...@@ -181,7 +183,10 @@ class Schedule {
this.type, this.type,
this.complaintType, this.complaintType,
this.reason, this.reason,
this.status}); this.status,
this.amc,
this.warranty,
});
Schedule.fromJson(Map<String, dynamic> json) { Schedule.fromJson(Map<String, dynamic> json) {
id = json['id']; id = json['id'];
...@@ -190,6 +195,8 @@ class Schedule { ...@@ -190,6 +195,8 @@ class Schedule {
complaintType = json['complaint_type']; complaintType = json['complaint_type'];
reason = json['reason']; reason = json['reason'];
status = json['status']; status = json['status'];
amc = json['amc'];
warranty = json['warranty'];
} }
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
...@@ -200,6 +207,8 @@ class Schedule { ...@@ -200,6 +207,8 @@ class Schedule {
data['complaint_type'] = this.complaintType; data['complaint_type'] = this.complaintType;
data['reason'] = this.reason; data['reason'] = this.reason;
data['status'] = this.status; data['status'] = this.status;
data['amc'] = this.amc;
data['warranty'] = this.warranty;
return data; return data;
} }
} }
......
...@@ -1362,3 +1362,4 @@ class _ComplaintDetailsScreenState extends State<ComplaintDetailsScreen> { ...@@ -1362,3 +1362,4 @@ class _ComplaintDetailsScreenState extends State<ComplaintDetailsScreen> {
); );
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment