bugfixes for commerce

This commit is contained in:
Roy Johnson 2006-06-27 17:57:02 +00:00
parent dd82e87b16
commit 2d3dfe3179
3 changed files with 20 additions and 2 deletions

View file

@ -3,5 +3,6 @@
development, WebGUI 7 is finally here.
- Fixed a bug in the asset manager where you could be redirected to a wrong
page after using the delete, copy, cut, duplicate buttons.
- fix: Can't set View Purchase History Template in commerce settings
- fix: Template toolbar missing for Transaction Error Template

View file

@ -595,11 +595,18 @@ sub www_editCommerceSettings {
-value => $session->setting->get("commerceConfirmCheckoutTemplateId"),
-namespace => 'Commerce/ConfirmCheckout'
);
$tabform->getTab('general')->template(
-name => 'commercePurchaseHistoryTemplateId',
-label => $i18n->get('purchase history template'),
-hoverHelp => $i18n->get('purchase history template description'),
-value => $session->setting->get('commercePurchaseHistoryTemplateId'),
-namespace => 'Commerce/ViewPurchaseHistory'
);
$tabform->getTab('general')->template(
-name => 'commerceTransactionErrorTemplateId',
-label => $i18n->get('transaction error template'),
-hoverHelp => $i18n->get('transaction error template description'),
-value => $session->setting->get('commerceTransactionPendingTemplateId'),
-value => $session->setting->get('commerceTransactionErrorTemplateId'),
-namespace => 'Commerce/TransactionError'
);
$tabform->getTab('general')->template(

View file

@ -1,6 +1,16 @@
package WebGUI::i18n::English::Commerce;
our $I18N = {
'purchase history template' => {
message => q|View Purchase History Template|,
lastUpdated => 0,
context => q|the title for the workflow activity that processes recurring payments|
},
'purchase history template description' => {
message => q|Controls the layout of the View Purchase History screen. This screen is displayed to the user after a successful checkout is made and shows them all of their past purchases.|,
lastUpdated => 0,
context => q|the title for the workflow activity that processes recurring payments|
},
'process recurring payments' => {
message => q|Process Recurring Payments|,
lastUpdated => 0,