update cargo type input, add package count and carton count for shipment info
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:fcs/domain/entities/carton.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/pages/main/util.dart';
|
||||
import 'package:fcs/pages/widgets/local_app_bar.dart';
|
||||
import 'package:fcs/pages/widgets/local_button.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -42,7 +43,8 @@ class PrintQrCodePage extends StatelessWidget {
|
||||
TextStyle(fontSize: 16, fontFamily: "Roboto")),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 3),
|
||||
child: Text("${carton.actualWeight} lb",
|
||||
child: Text(
|
||||
"${twoDecimalFormatted(double.tryParse(removeTrailingZeros(carton.actualWeight)) ?? 0)} lb",
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: labelColor,
|
||||
|
||||
Reference in New Issue
Block a user