def fRun_BillCycle(startMonth,endMonth):
#---------------------------------------------------#

    logging.debug(' ')
    logging.debug('start bill cycle')

    for thisMonth in range(startMonth,endMonth):
        logging.debug('- month: ' + str(thisMonth))        

        bill_Print.fPrint_Bills(thisMonth)
        backup_Data.fBackup_BillData(thisMonth,"a")       
        reports_PostBill.fPrint_PostbillReports(thisMonth,"a")      # compare some values before trans

        trans_PostBill.fEnter_Transactions(thisMonth)               # enter all transactions
        backup_Data.fBackup_BillData(thisMonth,"b")        
        reports_PostBill.fPrint_PostbillReports(thisMonth,"b")      # compare some values after trans
예제 #2
0
def fReview_Arrangements():
#===================================================#

    logging.debug(' ')
    logging.debug('Review_Arrangements')

    fLogHeader()

    # make sure timeslips has focus
    myTools.getFocus()
    
    # set billing data to 12/27 for ba bills
    fSet_BillDate(12)

    ba_AdjustTotal_Time.fAdjustTotal_Time()
    ba_AdjustTotal_Exp.fAdjustTotal_Exp()
    ba_AdjustTotal_Both.fAdjustTotal_Both()
    
    ba_AdjustTimekeeper_Time.fAdjustTimekeeper_Time()
    ba_AdjustTimekeeper_Exp.fAdjustTimekeeper_Exp()
    ba_AdjustTimekeeper_Both.fAdjustTimekeeper_Both()

    ba_AdjustTask.fAdjustTask()
    ba_AdjustExpense.fAdjustExpense()

    ba_Absolute_Time.fAbsolute_Time()
    ba_Absolute_Exp.fAbsolute_Exp()
    ba_Absolute_Both.fAbsolute_Both()

    ba_Absolute_NoSlips.fAbsolute_NoSlips()

    ba_Minimum_Time.fMinimum_Time()
    ba_Minimum_Exp.fMinimum_Exp()
    ba_Minimum_Both.fMinimum_Both()
    
    ba_Maximum_Time.fMaximum_Time()
    ba_Maximum_Exp.fMaximum_Exp()
    ba_Maximum_Both.fMaximum_Both()

    ba_FlatFeePlus_Time.fFlatFeePlus_Time()
    ba_FlatFeePlus_Exp.fFlatFeePlus_Exp()
    ba_FlatFeePlus_Both.fFlatFeePlus_Both()

    ba_Contingency_Time.fContingency_Time()
    ba_Contingency_Exp.fContingency_Exp()
    ba_Contingency_Both.fContingency_Both()

    ba_MinimumHours.fMinimumHours()

    ba_Percent.fPercent()

    ba_ProgressTotal.fProgressTotal()
    ba_ProgressActivity.fProgressActivity()    
    ba_InterimTotal.fInterimTotal()    
    ba_InterimActivity.fInterimActivity()    

    ba_SlipsRoundMin.fSlipsRoundMin()
    ba_SlipsRoundDol.fSlipsRoundDol()
    ba_Precision.fPrecision()

    ba_Replacement_Time.fReplaceTimeA()
    ba_Replacement_Time.fReplaceTimeB()
    ba_Replacement_Time.fReplaceTimeC()
    ba_Replacement_Expense.fReplaceExpenseA()    

    backup_Data.fBackup_Checkpoint("after-ba")

    reports_PostBill.fPrint_PostbillReports(13,"a")