Merge pull request #9442 from jibees/8904-display-fees-name-instead-of-type-on-invoices

Display fees name instead of type on invoices
This commit is contained in:
Maikel
2022-10-10 13:15:01 +11:00
committed by GitHub
8 changed files with 24 additions and 45 deletions

View File

@@ -30,8 +30,8 @@ module OpenFoodNetwork
end
def base_adjustment_label
I18n.t(:enterprise_fee_by, type: enterprise_fee.fee_type, role: role,
enterprise_name: enterprise_fee.enterprise.name)
I18n.t(:enterprise_fee_by_name, name: enterprise_fee.name, role: role,
enterprise_name: enterprise_fee.enterprise.name)
end
def tax_category(target)