add invoice pdf
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import 'package:fcs/domain/entities/fcs_shipment.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/pages/fcs_shipment/model/fcs_shipment_model.dart';
|
||||
import 'package:fcs/pages/shipment/model/shipment_model.dart';
|
||||
import 'package:fcs/pages/widgets/local_text.dart';
|
||||
import 'package:fcs/pages/widgets/progress.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import 'invoice_customer_list.dart';
|
||||
import 'invoice_shipment_list_row.dart';
|
||||
|
||||
class InvoiceShipmentList extends StatefulWidget {
|
||||
@@ -65,7 +65,14 @@ class _InvoiceShipmentListState extends State<InvoiceShipmentList> {
|
||||
itemCount: _fcsShipments.length,
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
return InvoiceShipmentListRow(
|
||||
fcsShipment: _fcsShipments[index]);
|
||||
fcsShipment: _fcsShipments[index],
|
||||
onSelect: (f) {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => InvoiceCustomerList(
|
||||
fcsShipment: f,
|
||||
)));
|
||||
},
|
||||
);
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user