gel-al minimum price and coupon problem fixed
This commit is contained in:
@@ -149,6 +149,20 @@ public class CartFragment extends BaseFragment {
|
||||
break;
|
||||
case R.id.continueCartButton:
|
||||
|
||||
// without minimum price control for store. minimum price is contorlled by addOrder2() service.
|
||||
if(!pizzapassCampaignCategoryId.isEmpty()){
|
||||
getCampaignProductsForPizzapassOnContinueButtonClicked();
|
||||
}
|
||||
else if(!champagneCampaignCategoryId.isEmpty()){
|
||||
getCampaignProductsForChampagneOnContinueButtonClicked();
|
||||
}
|
||||
else {
|
||||
openCreateOrderActivity();
|
||||
}
|
||||
break;
|
||||
|
||||
// with minimum price control for store
|
||||
/*
|
||||
Double storeMinimumPrice = PriceHelper.stringToDouble(SessionHelper.getSelectedStore().getMinimumPrice());
|
||||
Double cartCurrentPrice = PriceHelper.stringToDouble(PriceHelper.removeCurrencyFromPrice(cartInfoModel.getCartTotalModel().getText()));
|
||||
|
||||
@@ -179,8 +193,8 @@ public class CartFragment extends BaseFragment {
|
||||
BaseActivity.currentActivity,
|
||||
dialogText);
|
||||
}
|
||||
|
||||
break;
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user