|
|
@ -175,7 +175,7 @@ public class PartnerManageController {
|
|
|
|
clientManager.setClientRetailPaySurCharge(clientMoniker, config.getBooleanValue("retail_surcharge"));
|
|
|
|
clientManager.setClientRetailPaySurCharge(clientMoniker, config.getBooleanValue("retail_surcharge"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/tax_in_surcharge", method = RequestMethod.PUT, role = {ManagerRole.OPERATOR, ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.SERVANT})
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/tax_in_surcharge", method = RequestMethod.PUT, role = {ManagerRole.OPERATOR, ManagerRole.ADMIN})
|
|
|
|
public void setClientTaxPayer(@PathVariable String clientMoniker, @RequestBody JSONObject config) {
|
|
|
|
public void setClientTaxPayer(@PathVariable String clientMoniker, @RequestBody JSONObject config) {
|
|
|
|
clientManager.setClientTaxInSurcharge(clientMoniker, config.getBooleanValue("tax_in_surcharge"));
|
|
|
|
clientManager.setClientTaxInSurcharge(clientMoniker, config.getBooleanValue("tax_in_surcharge"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|