add shipments
This commit is contained in:
@@ -7,7 +7,7 @@ import 'package:fcs/domain/entities/user.dart';
|
||||
import 'package:fcs/helpers/shared_pref.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/localization/transalation.dart';
|
||||
import 'package:fcs/pages/carton/box_list.dart';
|
||||
import 'package:fcs/pages/carton/carton_list.dart';
|
||||
import 'package:fcs/pages/chat/message_detail.dart';
|
||||
import 'package:fcs/pages/chat/model/message_model.dart';
|
||||
import 'package:fcs/pages/customer/customer_list.dart';
|
||||
@@ -241,8 +241,8 @@ class _HomePageState extends State<HomePage> {
|
||||
CupertinoPageRoute(builder: (context) => ProcessingList())));
|
||||
final cartonBtn = TaskButton("boxes.name",
|
||||
icon: MaterialCommunityIcons.package,
|
||||
btnCallback: () => Navigator.of(context)
|
||||
.push<void>(CupertinoPageRoute(builder: (context) => BoxList())));
|
||||
btnCallback: () => Navigator.of(context).push<void>(
|
||||
CupertinoPageRoute(builder: (context) => CartonList())));
|
||||
|
||||
final shipmentBtn = TaskButton("shipment",
|
||||
icon: SimpleLineIcons.direction,
|
||||
|
||||
@@ -188,7 +188,7 @@ Widget getStatus(String status) {
|
||||
],
|
||||
)
|
||||
: Text(
|
||||
status,
|
||||
status ?? "",
|
||||
style: TextStyle(
|
||||
color: primaryColor,
|
||||
fontSize: 18,
|
||||
|
||||
Reference in New Issue
Block a user