public bool decidePremiereInstanceDemiAvance() { double coutProces = fraisJudiciaires + honoraireAvocats - 0.5 * FraisJudiciaire.estimateCourtCost(dommage, canton);; decision = dommage >= coutProces; return(decision); }
public void setDommage(double newDommage) { dommage = newDommage; honoraireAvocats = Math.Round(Honoraires.estimateHonorairesAvecConcurrence(newDommage)); fraisJudiciaires = Math.Round(FraisJudiciaire.estimateFeeConciliationVD(newDommage) + FraisJudiciaire.estimateCourtCost(newDommage, canton)); depens = Math.Round(Depens.estimationDepens(newDommage, canton)); }
public void calculateCourtCost() { courtCost = FraisJudiciaire.estimateCourtCost(valueInDispute, location); }