FIX_new master Endrs type master 3rd commit

This commit is contained in:
sanjeev.p 2025-12-26 15:48:57 +05:30
parent 885062a5d3
commit a86263ce6b
2 changed files with 6 additions and 2 deletions

View File

@ -698,7 +698,11 @@ class ApiService {
if (masterName == 'Broker') {
url = Uri.parse('${Env.apiUrl}master/updateBrokerStatus/$id');
} else {
}
else if (masterName == 'EndorsementType') {
url = Uri.parse('${Env.apiUrl}master/updateEndorsementStatus/$id');
}
else {
url = Uri.parse('${Env.apiUrl}master/updatePaymentModeStatus/$id');
}

View File

@ -298,7 +298,7 @@ class EndorsementTypeState extends ConsumerState<EndorsementType> {
SizedBox(
child: ThemedFormInlineField(
controller: controllers['endorsement_type']!,
validator: (value) => Validators.requiredField(value, "endorsement_typegigi"),
validator: (value) => Validators.requiredField(value, "endorsement_type"),
txtwidth: MediaQuery.of(context).size.width * 0.15,
borderColor: Color(0xFFE2E8F0),
highlightColor: Color(0xFF50A398),