update cargo type form from rate, update carton info and form

This commit is contained in:
tzw
2024-09-25 21:49:09 +06:30
parent 1be18c08a9
commit 02e079c514
51 changed files with 1407 additions and 643 deletions

View File

@@ -35,8 +35,11 @@ class PrintQrCodePage extends StatelessWidget {
children: [
Text(carton.cartonNumber ?? "",
style: TextStyle(fontSize: 18, fontFamily: "Roboto")),
Text(carton.userName!,
style: TextStyle(fontSize: 16, fontFamily: "Roboto")),
carton.consigneeName == null || carton.consigneeName == ''
? const SizedBox()
: Text(carton.consigneeName!,
style:
TextStyle(fontSize: 16, fontFamily: "Roboto")),
Padding(
padding: const EdgeInsets.only(top: 3),
child: Text("${carton.actualWeight} lb",