add invoice pdf

This commit is contained in:
Sai Naw Wun
2020-10-26 04:41:24 +06:30
parent feec3c8687
commit 2786acfd08
33 changed files with 787 additions and 1114 deletions

View File

@@ -100,7 +100,7 @@ class Shipment {
}
Map<String, dynamic> toMap() {
List _boxes = boxes.map((l) => l.toMap()).toList();
List _boxes = boxes?.map((l) => l.toMap())?.toList() ?? [];
return {
"id": id,