insert invoice pages

This commit is contained in:
Thinzar Win
2020-06-02 14:56:51 +06:30
parent abb34ce064
commit 7a8f28dd33
23 changed files with 1366 additions and 200 deletions

24
lib/vo/invoice.dart Normal file
View File

@@ -0,0 +1,24 @@
import 'package.dart';
class Invoice {
String invoiceNumber;
DateTime invoiceDate;
String customerName;
String customerPhoneNumber;
double amount;
String discount;
String status;
String paymentAttachment;
List<Package> packages;
Invoice(
{this.invoiceNumber,
this.invoiceDate,
this.customerName,
this.customerPhoneNumber,
this.amount,
this.discount,
this.status,
this.paymentAttachment,
this.packages});
}

View File

@@ -12,6 +12,7 @@ class Package {
int rate;
int weight;
int amount;
String packageType;
String pickUpID;
List<String> photos;
@@ -34,6 +35,7 @@ class Package {
this.boxNumber,
this.rate,
this.weight,
this.amount,
this.packageType,
this.pickUpID,
this.remark,