fix fcs shipment service

This commit is contained in:
2024-09-22 16:49:59 +06:30
parent 4036c6ae49
commit 1d171bad69
66 changed files with 1697 additions and 156 deletions

View File

@@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart';
import '../../../domain/constants.dart';
import '../../constants.dart';
import '../../../domain/entities/carton_size.dart';
import '../../../domain/entities/fcs_shipment.dart';
import '../../../domain/vo/local_step.dart';
@@ -26,13 +26,12 @@ import 'package_selection_widget.dart';
class CartonPackageForm extends StatefulWidget {
final User sender;
final User consignee;
const CartonPackageForm(
{Key? key,
required this.sender,
required this.consignee,
})
: super(key: key);
const CartonPackageForm({
Key? key,
required this.sender,
required this.consignee,
}) : super(key: key);
@override
State<CartonPackageForm> createState() => _CartonPackageFormState();
@@ -148,7 +147,7 @@ class _CartonPackageFormState extends State<CartonPackageForm> {
onPrevious: () {
Navigator.pop(context);
},
onContinue: (deliveryType,billType ,shipment, cartonSizeType,
onContinue: (deliveryType, billType, shipment, cartonSizeType,
{standardSize, length, width, height}) {
setState(() {
_selectedDeliveryType = deliveryType;