|
|
|
|
@ -5,6 +5,7 @@ import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model
|
|
|
|
|
import 'package:diplomaticquarterapp/core/model/pharmacy/final_products_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/model/pharmacy/scan_qr_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/models/LiveCare/validators.dart';
|
|
|
|
|
|
|
|
|
|
import 'base_service.dart';
|
|
|
|
|
|
|
|
|
|
@ -303,9 +304,9 @@ class PharmacyCategoriseService extends BaseService {
|
|
|
|
|
_parentProductsList.clear();
|
|
|
|
|
endPoint = FILTERED_PRODUCTS +
|
|
|
|
|
"$categoryId" +
|
|
|
|
|
"&manufacturerids=$brandId" +
|
|
|
|
|
"&price_min=$min" +
|
|
|
|
|
"&price_max=$max&page=1&limit=50";
|
|
|
|
|
"$brandId" +
|
|
|
|
|
"$min" +
|
|
|
|
|
"$max&page=1&limit=50";
|
|
|
|
|
await baseAppClient.getPharmacy(
|
|
|
|
|
endPoint,
|
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
@ -328,9 +329,9 @@ class PharmacyCategoriseService extends BaseService {
|
|
|
|
|
_subProductsList.clear();
|
|
|
|
|
endPoint = FILTERED_PRODUCTS +
|
|
|
|
|
"$categoryId" +
|
|
|
|
|
"&manufacturerids=$brandId" +
|
|
|
|
|
"&price_min=$min" +
|
|
|
|
|
"&price_max=$max&page=1&limit=50";
|
|
|
|
|
"$brandId" +
|
|
|
|
|
"$min" +
|
|
|
|
|
"$max&page=1&limit=50";
|
|
|
|
|
await baseAppClient.getPharmacy(
|
|
|
|
|
endPoint,
|
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
|