Fix problems with the Sales tab in the Shop Account plugin.
Only display the Sales tab to vendors, and prevent www_viewSales from erroring out if the user is not a vendor. New template, template variable, i18n.
This commit is contained in:
parent
022495506f
commit
1e7f443126
5 changed files with 36 additions and 21 deletions
|
|
@ -18,6 +18,7 @@ our $HELP = {
|
|||
variables => [
|
||||
{ name => "manage_purchases_url", },
|
||||
{ name => "managePurchasesIsActive", },
|
||||
{ name => "userIsVendor", },
|
||||
],
|
||||
related => [ ],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue