insert invoice pages
This commit is contained in:
24
lib/vo/invoice.dart
Normal file
24
lib/vo/invoice.dart
Normal 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});
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user