fix fcs shipment service
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'dart:async';
|
||||
import 'package:cloud_firestore/cloud_firestore.dart';
|
||||
import 'package:fcs/domain/constants.dart';
|
||||
import 'package:fcs/constants.dart';
|
||||
import 'package:fcs/domain/entities/carton.dart';
|
||||
import 'package:fcs/helpers/api_helper.dart';
|
||||
import 'package:fcs/helpers/firebase_helper.dart';
|
||||
@@ -47,7 +47,7 @@ class CartonDataProvider {
|
||||
.collection(path)
|
||||
.where("carton_number", isEqualTo: term)
|
||||
.where("is_deleted", isEqualTo: false)
|
||||
.orderBy("created_at",descending: true)
|
||||
.orderBy("created_at", descending: true)
|
||||
.get();
|
||||
return querySnap.docs.map((e) => Carton.fromMap(e.data(), e.id)).toList();
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user