-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to save multiple tag categories in chargeback controller
@edit[:cb_assign][:tags] as you can see in code(@edit[:cb_assign][cb_assign_key]) is bringing selected chargeback rates for tags in selected tag category which is stored in @edit[:new][:cbtag_cat] to keep selected chargeback rates for any count of tag categories we need to extend @edit[:cb_assign][:tags] to @edit[:cb_assign][:tags] [category_id] and this hash can keep multiple chargeback rates across any count of tag categories. we need to update code when chargeback rate is selected ( in method cb_assign_params_to_edit called controller action cb_assign_field_changed) and then when we want to save this selection of chargeback rates in cb_assign_update.
- Loading branch information
Showing
2 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters