def fPercent():
#---------------------------------------------------#

    baClient = "BA-Percent"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Percent Comp","Percent Comp","Percent Comp")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fPercent_Setup1(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")

    # create some more slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fPercent_Setup2(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,2)
    # compare bill values
    ba__ReviewBills.fReview_BABill(baClient + "2")

    # create some more slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fPercent_Setup3(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,3)
    # compare bill values
    ba__ReviewBills.fReview_BABill(baClient + "3")
def fInterimActivity():
#---------------------------------------------------#

    baClient = "BA-InterimAct"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Interim Activity FF","Interim Activity FF","Interim Activity FF")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fInterimActivity_Setup1(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")

    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fInterimActivity_Setup2(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,2)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "2")

    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fInterimActivity_Setup3(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,3)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "BA-InterimAct3")
def fProgressActivity():
# - - - - - - - - - - - - - - - - - - - - - - - - - #

    # create a new client    
    client_Create.fCreate_Client("BA-ProgressAct","BA-ProgressAct","Progress Activity FF","Progress Activity FF","Progress Activity FF")
    # create some slips
    ba__Common.fCreate_BASlips("BA-ProgressAct")
    # set up billing arrangement
    fProgressActivity_Setup1() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-ProgressAct",1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-ProgressAct1")

    # create some slips
    ba__Common.fCreate_BASlips("BA-ProgressAct")
    # set up billing arrangement
    fProgressActivity_Setup2() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-ProgressAct",2)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-ProgressAct2")

    # create some slips
    ba__Common.fCreate_BASlips("BA-ProgressAct")
    # set up billing arrangement
    fProgressActivity_Setup3() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-ProgressAct",3)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-ProgressAct3")
def fInterimTotal():
# - - - - - - - - - - - - - - - - - - - - - - - - - #

    # create a new client    
    client_Create.fCreate_Client("BA-InterimTot","BA-InterimTot","Interim Total FF","Interim Total FF","Interim Total FF")
    # create some slips
    ba__Common.fCreate_BASlips("BA-InterimTot")
    # set up billing arrangement
    fInterimTotal_Setup1() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-InterimTot",1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-InterimTot1")

    # create some slips
    ba__Common.fCreate_BASlips("BA-InterimTot")
    # set up billing arrangement
    fInterimTotal_Setup2() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-InterimTot",2)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-InterimTot2")

    # create some slips
    ba__Common.fCreate_BASlips("BA-InterimTot")
    # set up billing arrangement
    fInterimTotal_Setup3() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-InterimTot",3)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-InterimTot3")
def fCreateImportEdit_Names():
#---------------------------------------------------#
 
#    editDefaultClient.Edit_DefaultClient()

#---------------------------------------------------#

    timekeeper_Import.fImport_Timekeepers()
    timekeeper_Edit.fEdit_Timekeeper()
    backup_Data.fBackup_Checkpoint("timekeepers")

    task_Create.fCreate_Task()
    task_Import.fImport_Tasks()
    task_Edit.fEdit_Task()
    backup_Data.fBackup_Checkpoint("tasks")    

    expense_Create.fCreate_Expense()
    expense_Import.fImport_Expenses()
    expense_Edit.fEdit_Expense()
    expense_Markup.fSetup_ExpMarkups()    
    backup_Data.fBackup_Checkpoint("expenses")

    client_Create.fCreate_Client("ZZZlient","Client001","9999 - First Client","In Ref to","Client Notes")   
    client_Import.fImport_Clients()
    backup_Data.fBackup_Checkpoint("clients-import")
    
    client_Edit.fEdit_Client()    
    client_FundsEdit.fEdit_ClientFunds()
    backup_Data.fBackup_Checkpoint("client-funds")
    
    report_FundsAccountList.fPrint_Funds("FundsSettings-01" + ".csv")
    
    client_Hold.fSetup_ClientHold()
    client_FeeAlloc.fSetup_FeeAlloc()
    taxes_Setup.fSetup_Taxes()
    backup_Data.fBackup_Checkpoint("client-taxes")

    client_PayDistrib.fSetup_PayDist()
    backup_Data.fBackup_Checkpoint("pay-dist")

    client_FundsNew.fFundsAccouts_Setup()
    backup_Data.fBackup_Checkpoint("fundsaccts")

    ref_Create.fCreate_Refs()
    ref_Import.fImport_Refs()
    backup_Data.fBackup_Checkpoint("refs")

    budget_Setup.fBudget_Setup()

#    report_TimekeeperInfo.fPrint_TimekeeperInfo("Timekeepers-01" + Settings.tsVersion + ".csv")
#    report_ClientInfo.fPrint_ClientInfo("Clients-01-" + Settings.tsVersion + ".csv")

    backup_Data.fBackup_Checkpoint("names")
def fSlipsRoundDol():
# - - - - - - - - - - - - - - - - - - - - - - - - - #

    # create a new client    
    client_Create.fCreate_Client("BA-RoundDol","BA-RoundDol","Rounding Dollars","Rounding Dollars","Rounding Dollars")
    # create some slips
    ba__Common.fCreate_BASlips("BA-RoundDol")
    # set up billing arrangement
    fSlipsRoundDol_Setup() 
    # print a bill to text
    ba__Common.fPrint_BABill("BA-RoundDol",1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-RoundDol1")
def fReplaceTimeA():
#===================================================#

    # create a new client    
    client_Create.fCreate_Client("BA-ReplaceTimeA","BA-ReplaceTimeA","Replace Time A","Replace Time A","Replace Time A")
    # create some slips
    slips_ReplacementSlips.fCreate_ReplacementSlips("BA-ReplaceTimeA")
    # set up rule
    slips_ReplacementSlips.fCreate_ReplacementRule("BA-ReplaceTimeA","t","c","General")
    # print a bill to text
    ba__Common.fPrint_BABill("BA-ReplaceTimeA",1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-ReplaceTimeA1")
def fMinimumHours():
#---------------------------------------------------#

    baClient = "BA-MinimumHours"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Minimum Hours FF","Minimum Hours FF","Minimum Hours FF")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fMinimumHours_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
def fAdjustTotal_Exp():
#---------------------------------------------------#

    baClient = "BA-AdjTot-Exp"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Adjust Total - Expense","Adjust Total - Expense","Adjust Total - Expense")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fAdjustTotalExp_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
def fFlatFeePlus_Exp():
#---------------------------------------------------#

    baClient = "BA-FFPlus-Exp"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"FF Plus - Exp","FF Plus - Exp","FF Plus - Exp")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fFlatFeePlusExp_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
def fAbsolute_Both():
    # ---------------------------------------------------#

    baClient = "BA-Absolute-Both"

    # create a new client
    client_Create.fCreate_Client(baClient, baClient, "Absolute FF - Both", "Absolute FF - Both", "Absolute FF - Both")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fAbsoluteBoth_Setup(baClient)
    # print a bill to text
    ba__Common.fPrint_BABill(baClient, 1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
Beispiel #12
0
def fPrecision():
    # - - - - - - - - - - - - - - - - - - - - - - - - - #

    # create a new client
    client_Create.fCreate_Client(
        "BA-Precision", "BA-Precision", "Precision Settings", "Precision Settings", "Precision Settings"
    )
    # create some slips
    ba__Common.fCreate_BASlips("BA-Precision")
    # set up billing arrangement
    fPrecision_Setup()
    # print a bill to text
    ba__Common.fPrint_BABill("BA-Precision", 1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill("BA-Precision1")
def fMaximum_Time():
#---------------------------------------------------#

    baClient = "BA-Maximum-Time"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Maximum FF - Time","Maximum FF - Time","Maximum FF - Time")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fMaximumTime_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
def fAdjustTimekeeper_Time():
# - - - - - - - - - - - - - - - - - - - - - - - - - #

    baClient = "BA-AdjTK-Time"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Adjust Timekeeper - Time","Adjust Timekeeper - Time","Adjust Timekeeper - Time")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fAdjustTimekeeperTime_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
def fAbsolute_NoSlips():
#---------------------------------------------------#

    baClient = "BA-Absolute-NoSlips"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Absolute FF - NoSlips","Absolute FF - NoSlips","Absolute FF - NoSlips")
    # do not create some slips
    # set up billing arrangement
    fAbsoluteNoSlips_Setup(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,2)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "2")
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,3)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "3")
def fContingency_Exp():
#---------------------------------------------------#

    baClient = "BA-Cont-Exp"

    # create a new client    
    client_Create.fCreate_Client(baClient,baClient,"Contingency - Exp","Contingency - Exp","Contingency - Exp")
    # create some slips
    ba__Common.fCreate_BASlips(baClient)
    # set up billing arrangement
    fContingencyExp_Setup1(baClient) 
    # print a bill to text
    ba__Common.fPrint_BABill(baClient,1)
    # compare at bill values
    ba__ReviewBills.fReview_BABill(baClient + "1")

    # create some more slips
    ba__Common.fCreate_BASlips(baClient)
    # change billing arrangement
    fContingencyExp_Setup2(baClient) 
    # print the 2nd bill to text
    ba__Common.fPrint_BABill(baClient,2)
    # compare 2nd bill's values
    ba__ReviewBills.fReview_BABill(baClient + "2")