FIX_new master Endrs type master 3rd commit
This commit is contained in:
parent
885062a5d3
commit
a86263ce6b
@ -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');
|
||||
}
|
||||
|
||||
|
||||
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user