update pickup

This commit is contained in:
Thinzar Win
2020-06-30 16:27:56 +06:30
parent 9fc7ef5381
commit a8caaf6073
8 changed files with 250 additions and 166 deletions

View File

@@ -4,6 +4,7 @@ import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:fcs/vo/cargo.dart';
import 'package:fcs/vo/fcs_profile.dart';
import 'package:fcs/vo/pickup.dart';
import 'package:fcs/vo/radio.dart';
import 'package:logging/logging.dart';
import 'base_model.dart';
@@ -22,6 +23,25 @@ class PickUpModel extends BaseModel {
mail: 'admin@fcs.com',
facebook: 'https://facebook.com/fcs');
List<RadioGroup> radioGroups = [
RadioGroup(
text: "FCS Pickup",
index: 1,
),
RadioGroup(
text: "Courier Pickup",
index: 2,
),
RadioGroup(
text: "FCS Drop-off",
index: 3,
),
RadioGroup(
text: "Courier Drop-off",
index: 4,
),
];
List<PickUp> pickups = [
PickUp(
id: "P200412 - 12 Apr 2020",
@@ -35,6 +55,7 @@ class PickUpModel extends BaseModel {
date: DateTime(2020, 5, 1),
address: '154-19 64th Ave.\nFlushing, NY 11367',
handlingFee: 5000,
isCourier: true,
cargoTypes: [
Cargo(type: 'General Cargo', weight: 25),
Cargo(type: 'Medicine', weight: 20),