fix: order
This commit is contained in:
@@ -195,7 +195,8 @@ class OrderRemoteDatasource {
|
||||
|
||||
// New Api
|
||||
Future<Either<String, OrderDetailResponseModel>> createOrder(
|
||||
OrderRequestModel orderModel) async {
|
||||
OrderRequestModel orderModel,
|
||||
) async {
|
||||
final authData = await AuthLocalDataSource().getAuthData();
|
||||
final url = '${Variables.baseUrl}/api/v1/orders';
|
||||
|
||||
@@ -274,7 +275,8 @@ class OrderRemoteDatasource {
|
||||
'page': page,
|
||||
'limit': limit,
|
||||
'status': status,
|
||||
'outlet_id': authData.user?.outletId,
|
||||
'date_from': "05-08-2025",
|
||||
'date_to': "05-08-2025",
|
||||
},
|
||||
options: Options(
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user