uc_taxes_ca_action() provides a tax action for each tax. It currently sites the action title to "Charge a tax", which becomes very confusing when you have more than one tax. Attached is a patch to change the title to t('Apply tax: @name', array('@name' => $rate->name)), allowing each tax action to have a custom name, which matches the name of the tax.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 530902_tax_action_name.patch | 550 bytes | Island Usurper |
| uc_taxes_ca_action_description.patch | 555 bytes | mikejoconnor |
Comments
Comment #1
Island Usurper commentedThe action names are run through check_plain() when they are displayed on the CA form, so we should use ! instead of @ here. The default predicates also change the action names to something similar, so we should probably keep them consistent.
Comment #2
Island Usurper commentedLooks OK to me on the actions form. Committed.