Update: 2026-08-03 00:20:40
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:siro_admin/constant/theme.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:siro_admin/controller/admin/register_captain_controller.dart';
|
||||
@@ -614,7 +615,7 @@ Please fill in the JSON object with the extracted information, following these g
|
||||
Text(
|
||||
'${'License Expiry Date'.tr}: ${licenseExpiryDate.toString().substring(0, 10)}',
|
||||
style: TextStyle(
|
||||
color: isLicenseExpired ? Colors.red : Colors.green,
|
||||
color: isLicenseExpired ? cs.danger : cs.success,
|
||||
),
|
||||
),
|
||||
// Removed Fuel as it's not available
|
||||
@@ -795,7 +796,7 @@ Please fill in the JSON object with the extracted information, following these g
|
||||
Text(
|
||||
'${'Tax Expiry Date'.tr}: $taxExpiryDate',
|
||||
style: TextStyle(
|
||||
color: isExpired ? Colors.red : Colors.green,
|
||||
color: isExpired ? cs.danger : cs.success,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8.0),
|
||||
@@ -806,7 +807,7 @@ Please fill in the JSON object with the extracted information, following these g
|
||||
'${'Inspection Date'.tr}: $carBackLicenseExpired',
|
||||
style: TextStyle(
|
||||
color:
|
||||
isInspectionExpired ? Colors.red : Colors.green,
|
||||
isInspectionExpired ? cs.danger : cs.success,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user