package Ġcom . i will te ach you kotlin . expense manager . presentation . expense Ċ Ċ import Ġcom . i will te ach you kotlin . expense manager . R Ċ import Ġcom . i will te ach you kotlin . expense manager . domain . expense . Expense Details Ċ import Ġjava . text . DateFormat Ċ import Ġjava . text . NumberFormat Ċ import Ġjava . util .* Ċ Ċ class ĠExp ense Details Presenter ( expense Details : ĠExp ense Details ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġdate Formatter Ġ= ĠDate Format . getDate Instance () ĊĊĠĠĠ Ġval Ġdate Ġ= Ġdate Formatter . format ( expense Details . date ) ĊĊĠĠĠ Ġprivate Ġval Ġcurrency Formatter Ġ= ĠNumber Format . getC urrency Instance (). apply Ġ{ ĊĠĠĠĠĠĠĠ Ġcurrency Ġ= ĠCurrency . getInstance ( expense Details . cost . currency . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġval Ġcost Ġ= Ġcurrency Formatter . format ( expense Details . cost . cent s Ġ/ Ġ 1 0 0 . 0 ) ĊĊĠĠĠ Ġval Ġre im bur sement Label Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( expense Details . needs Re im bur sement ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠR . string . expense _ needs _ re im bur sement ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠR . string . expense _ needs _ no _ re im bur sement ĊĊĠĠĠ Ġval Ġclient Related Label Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( expense Details . client Related ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠR . string . expense _ client _ related ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠR . string . expense _ not _ client _ related ĊĊĠĠĠ Ġval Ġcomment Ġ= Ġexpense Details . comment Ċ }