internal double CalculateLateFee(string date) { TransactionDB transDB = new TransactionDB(); EventDB eventDB = new EventDB(); String name = "Late Fee"; double lateFee = eventDB.GetLateFee(name); lateFee = lateFee * this.lateTime; string maxTransactionID = transDB.GetNextTransID(); transDB.AddLateFee(maxTransactionID, name, this.allowanceID, date, lateFee); transDB.UpdateBalances(guardianID, lateFee, "MiscTotal"); return(lateFee); }