Ignore:
Timestamp:
20 Mar 2012, 14:20:04 (13 years ago)
Author:
Henrik Bettermann
Message:

All fees must be float not int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py

    r7875 r7927  
    7979        )
    8080
    81     amount_auth = schema.Int(
     81    amount_auth = schema.Float(
    8282        title = _(u'Amount Authorized'),
    83         default = 0,
     83        default = 0.0,
    8484        required = True,
    8585        readonly = True,
     
    103103    """
    104104
    105     surcharge_1 = schema.Int(
     105    surcharge_1 = schema.Float(
    106106        title = _(u'Portal Fee'),
    107         default = 0,
     107        default = 0.0,
    108108        required = False,
    109109        readonly = True,
    110110        )
    111111
    112     surcharge_2 = schema.Int(
     112    surcharge_2 = schema.Float(
    113113        title = _(u'Surcharge 2'),
    114         default = 0,
     114        default = 0.0,
    115115        required = False,
    116116        readonly = True,
    117117        )
    118118
    119     surcharge_3 = schema.Int(
     119    surcharge_3 = schema.Float(
    120120        title = _(u'Surcharge 3'),
    121         default = 0,
     121        default = 0.0,
    122122        required = False,
    123123        readonly = True,
     
    137137        )
    138138
    139     r_amount_approved = schema.Int(
     139    r_amount_approved = schema.Float(
    140140        title = _(u'Response Amount Approved'),
    141         default = 0,
     141        default = 0.0,
    142142        required = False,
    143143        readonly = False,
Note: See TracChangeset for help on using the changeset viewer.