X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fexpenses.tpl;h=7afde73d27b3d1f28c5f72bdc71986eee2d601e9;hb=1cf228c258ba8a8950b1a55bc25b93768bf50184;hp=a6aa66d99ca7c15c32ceface758b4e3aacdbddaa;hpb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;p=timetracker.git diff --git a/WEB-INF/templates/mobile/expenses.tpl b/WEB-INF/templates/mobile/expenses.tpl index a6aa66d9..7afde73d 100644 --- a/WEB-INF/templates/mobile/expenses.tpl +++ b/WEB-INF/templates/mobile/expenses.tpl @@ -203,7 +203,13 @@ function recalculateCost() { {if $show_project} {$item.project|escape} {/if} - {if $item.invoice_id} {$item.item|escape} {else}{$item.item|escape}{/if} + + {if $item.approved || $item.invoice_id} + {$item.item|escape} + {else} + {$item.item|escape} + {/if} + {$item.cost} {/foreach}