ticket merge issue fix

This commit is contained in:
Surendiran 2025-08-21 09:50:02 +05:30
parent fb37bd257f
commit 3d6e9656b4
2 changed files with 163 additions and 199 deletions

View File

@ -31,6 +31,7 @@ class _ticketsState extends State<tickets> {
dynamic policyDataIsEmpty = 1;
int? fromClaimsPage;
dynamic decodedToken;
List<Map<String, dynamic>> departmentList = [];
List<Map<String, dynamic>> policyNumberList = [];
dynamic serviceId;
dynamic policyNumberId;
@ -163,7 +164,7 @@ class _ticketsState extends State<tickets> {
if (response.containsKey('data')) {
setState(() {
selfDetails = response['data'];
print('ABBC $selfDetails');
print(selfDetails);
});
} else {
// Handle other status messages if needed
@ -402,11 +403,6 @@ class _ticketsState extends State<tickets> {
Form(
key: formKey,
child: Column(
children: [
Column(
crossAxisAlignment:
CrossAxisAlignment
.start,
children: [
Column(
crossAxisAlignment: CrossAxisAlignment.start,
@ -486,38 +482,6 @@ class _ticketsState extends State<tickets> {
],
),
SizedBox(height: 15),
Row(
children: [
Expanded(
flex: 12,
child: Container(
alignment: Alignment.centerRight,
child: ElevatedButton(
onPressed: () {
sendFormDataToApi();
},
child: Text(
'Send',
style: GoogleFonts.poppins(
color: Colors.white),
),
style: ElevatedButton.styleFrom(
backgroundColor:
Color(0xFFE26728),
shape: RoundedRectangleBorder(
borderRadius:
BorderRadius.circular(
5),
),
),
),
),
],
),
),
],
),
SizedBox(height: 15),
Row(
children: [
Expanded(

View File

@ -27,7 +27,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FLTFirebaseMessagingPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseMessagingPlugin"))
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
LocalAuthPlugin.register(with: registry.registrar(forPlugin: "LocalAuthPlugin"))
FLALocalAuthPlugin.register(with: registry.registrar(forPlugin: "FLALocalAuthPlugin"))
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))