ticket merge issue fix
This commit is contained in:
parent
fb37bd257f
commit
3d6e9656b4
@ -31,6 +31,7 @@ class _ticketsState extends State<tickets> {
|
|||||||
dynamic policyDataIsEmpty = 1;
|
dynamic policyDataIsEmpty = 1;
|
||||||
int? fromClaimsPage;
|
int? fromClaimsPage;
|
||||||
dynamic decodedToken;
|
dynamic decodedToken;
|
||||||
|
List<Map<String, dynamic>> departmentList = [];
|
||||||
List<Map<String, dynamic>> policyNumberList = [];
|
List<Map<String, dynamic>> policyNumberList = [];
|
||||||
dynamic serviceId;
|
dynamic serviceId;
|
||||||
dynamic policyNumberId;
|
dynamic policyNumberId;
|
||||||
@ -163,7 +164,7 @@ class _ticketsState extends State<tickets> {
|
|||||||
if (response.containsKey('data')) {
|
if (response.containsKey('data')) {
|
||||||
setState(() {
|
setState(() {
|
||||||
selfDetails = response['data'];
|
selfDetails = response['data'];
|
||||||
print('ABBC $selfDetails');
|
print(selfDetails);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// Handle other status messages if needed
|
// Handle other status messages if needed
|
||||||
@ -402,11 +403,6 @@ class _ticketsState extends State<tickets> {
|
|||||||
Form(
|
Form(
|
||||||
key: formKey,
|
key: formKey,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
|
||||||
Column(
|
|
||||||
crossAxisAlignment:
|
|
||||||
CrossAxisAlignment
|
|
||||||
.start,
|
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@ -486,38 +482,6 @@ class _ticketsState extends State<tickets> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 15),
|
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(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
|
|||||||
@ -27,7 +27,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
|||||||
FLTFirebaseMessagingPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseMessagingPlugin"))
|
FLTFirebaseMessagingPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseMessagingPlugin"))
|
||||||
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
|
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
|
||||||
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
|
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"))
|
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
|
||||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||||
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user