package Ġnet . lag ged hero . my receipt s . ui . main Ċ Ċ import Ġnet . lag ged hero . my receipt s . core . data . model . Receipt Ċ Ċ data Ġclass ĠRe ceipt ListItem ViewModel ( private Ġval Ġreceipt : ĠRe ceipt ) Ġ{ ĊĠĠĠ Ġval Ġdescription Ġget () Ġ= Ġreceipt . transaction Description ĊĠĠĠ Ġval Ġvalue Ġget () Ġ= Ġ"${ receipt . amount } Ġ${ receipt . currency Code }" ĊĠĠĠ Ġval Ġdate : ĠString ĊĠĠĠĠĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġdate Parts Ġ= Ġreceipt . date . split (' T ')[ 0 ]. split ('- ') ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġ"${ date Parts [ 1 ] }/${ date Parts [ 2 ] }/${ date Parts [ 0 ]}" ĊĠĠĠĠĠĠĠ Ġ} Ċ } Ċ