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