FIX_Agent code and name interchange in dashboard

This commit is contained in:
sanjeev.p 2025-12-24 12:49:35 +05:30
parent 18bd0b3161
commit dcea06fbc9

View File

@ -604,17 +604,17 @@ class _PerformanceState extends State<Performance> {
),
),
Expanded(
flex: 2,
flex: 1,
child: Text(
"Partner Name",
"Partner Code",
textAlign: TextAlign.left,
style: _headerStyle,
),
),
Expanded(
flex: 1,
flex: 2,
child: Text(
"Partner Code",
"Partner Name",
textAlign: TextAlign.left,
style: _headerStyle,
),
@ -674,14 +674,6 @@ class _PerformanceState extends State<Performance> {
style: _tableDataStyle,
),
),
Expanded(
flex: 2,
child: Text(
row['agent_name'] ?? "",
textAlign: TextAlign.left,
style: _tableDataStyle,
),
),
Expanded(
flex: 1,
child: Text(
@ -690,6 +682,14 @@ class _PerformanceState extends State<Performance> {
style: _tableDataStyle,
),
),
Expanded(
flex: 2,
child: Text(
row['agent_name'] ?? "",
textAlign: TextAlign.left,
style: _tableDataStyle,
),
),
if (widget.title == 'Performing Partner') ...[
Expanded(