Add UI and i18n for USPS insurance.

This commit is contained in:
Colin Kuskie 2009-09-26 11:18:32 -07:00
parent b21fd6ffbe
commit 4ee1f56aa3
2 changed files with 18 additions and 0 deletions

View file

@ -262,6 +262,12 @@ sub definition {
options => \%shippingTypes,
defaultValue => 'PARCEL',
},
addInsurance => {
fieldType => 'yesNo',
label => $i18n->get('add insurance'),
hoverHelp => $i18n->get('add insurance help'),
defaultValue => 0,
},
##Note, if a flat fee is added to this driver, then according to the license
##terms the website must display a note to the user (shop customer) that additional
##fees have been added.