/[papo]/papo/forms/hack.py
ViewVC logotype

Diff of /papo/forms/hack.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by mhepp, Fri Jun 6 18:02:13 2003 UTC revision 1.42 by apronotti, Mon Sep 8 22:56:08 2003 UTC
# Line 163  def calcInvoiceType(clientIvaTaxProfile, Line 163  def calcInvoiceType(clientIvaTaxProfile,
163      elif str(clientIvaTaxProfile) in ('3','4','5'):      elif str(clientIvaTaxProfile) in ('3','4','5'):
164        result = 'B'        result = 'B'
165    return result    return result
166    
167    def addNDaysToDate(date , days=1):
168      import mx.DateTime
169    
170      dateStr = str(date)
171      return str(mx.DateTime.strptime(dateStr[:-3], "%Y-%m-%d %T") + 1)
172    

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26