Merge pull request #716 from shreesh-webkul/revert-710-gli-1417

Revert "Remove specific price warning in manage services page"
This commit is contained in:
Rohit Jain
2023-04-17 19:03:17 +05:30
committed by GitHub

View File

@@ -2947,6 +2947,7 @@ class AdminNormalProductsControllerCore extends AdminController
// get hotel address for this room type
$address_infos = Address::getCountryAndState(Cart::getIdAddressForTaxCalculation($obj->id));
} else {
$this->displayWarning($this->l('You must save this product before adding specific pricing'));
$product->id_tax_rules_group = (int)Product::getIdTaxRulesGroupMostUsed();
$data->assign('ecotax_tax_excl', 0);
}